
24g2usb rp2350zero
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.

The system generates digital audio signals of different waveforms (sine, square, triangle) on an ESP32-ETH01 microcontroller, converts them to analog signals using a PCM5102A digital-to-analog converter (DAC), then…
ESP32 Eth ADC DAC is an open-source printed circuit board by marijase, from the marijase/ESP23_Eth_ADC_DAC repository on GitHub. It is a 2-layer board with 4 parts on 34 nets.
Its parts include 3 ICs and 1 connector. It belongs with the audio and music boards and the ESP32 boards of this library.
Author: Marija Sekulić Date: June 2026
The system generates digital audio signals of different waveforms (sine, square, triangle) on an ESP32-ETH01 microcontroller, converts them to analog signals using a PCM5102A digital-to-analog converter (DAC), then loops them back into the system through a WM8782S analog-to-digital converter (ADC) where they are analyzed in real time.
The user controls signal parameters — waveform, frequency, and amplitude — through a web application accessible over Ethernet or WiFi. The system displays detected frequency, RMS amplitude, and a real-time oscillogram of the received signal.
| Component | Role |
|---|---|
| ESP32-ETH01 | Microcontroller with Ethernet and WiFi |
| WM8782S | 24-bit stereo audio ADC |
| PCM5102A | 32-bit stereo audio DAC |
| USB-TTL adapter | For firmware upload and serial monitoring |
Projekat/
│
├── HW/ Hardware
│ └── ESP32_Eth_ADC_DAC/ KiCad project (schematic + PCB)
│ ├── Libs/ Custom KiCad libraries
│ │ └── ESP32_Eth_ADC_DAC.pretty/ Component footprints
│ ├── ESP32_Eth_ADC_DAC.kicad_pro
│ ├── ESP32_Eth_ADC_DAC.kicad_sch Electrical schematic
│ ├── ESP32_Eth_ADC_DAC.kicad_pcb PCB layout
│ └── ...
│
├── SW/ Software
│ ├── signal_generator/ Main firmware
│ │ ├── signal_generator.ino Arduino code
│ │ ├── webpage.h Web application (HTML/CSS/JS)
│ │ └── README.md
│ │
│ └── blinkanje/ Test code (blink LED)
│ └── blinkanje.ino
│
└── docs/ Documentation
├── datasheets/ Component datasheets
│ ├── ESP32_datasheet_en.pdf
│ ├── WM8782_datasheet.pdf| ESP32 pin | DAC pin | Signal |
|---|---|---|
| IO15 (pin 20) | Pin 2 (BCK) | Bit clock |
| IO14 (pin 19) | Pin 4 (LCK) | LR clock |
| IO4 (pin 16) | Pin 3 (DIN) | Audio data |
| ADC pin | ESP32 pin | Signal |
|---|---|---|
| Pin 1 (B) | IO36 (pin 21) | Bit clock |
| Pin 2 (LR) | IO39 (pin 22) | LR clock |
| Pin 3 (D) | IO35 (pin 17) | Audio data |
| From | To |
|---|---|
| DAC pin 7 (LROUT) | ADC pin 9 (Lin) |
| DAC pin 9 (ROUT) | ADC pin 7 (Rin) |
Connect the components according to the electrical schematic in HW/ESP32_Eth_ADC_DAC/. Detailed instructions and connection tables are available in the main documentation.
Set the DIP switch on the WM8782S module:
| Switch | Position | Function |
|---|---|---|
| 1 (M/S) | + | Master mode |
| 2 (Format) | 0 | I²S format |
| 3 (Sample rate) | − | 48 kHz |
| 4 (Bits) | − | 16-bit |
https://espressif.github.io/arduino-esp32/package_esp32_index.jsonSW/signal_generator/signal_generator.inoVia Ethernet cable (recommended):
Via WiFi AP (fallback):
12345678)http://192.168.4.1 in a browserThe ESP32 has two independent I²S controllers:
Since the WM8782S ADC is configured as master (using its onboard 24.576 MHz and 22.5792 MHz crystals), and the PCM5102A DAC is always a slave, using both ESP32 I²S controllers is required.
Audio samples are computed in software, sample by sample (48000 times per second per channel), in the main loop. For each sample the current signal phase is calculated and converted to a 16-bit signed integer, which is written to the I²S DMA buffer.
Bidirectional real-time communication on port 81:
The system supports the following features for demonstration:
...
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 2.54mm female 90deg | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Horizontal | J1 |
| 1 | ESP32-ETH01 | ESP32_Eth_ADC_DAC:ESP32-ETH01 | U1 |
| 1 | PCM5102A_dac | ESP32_Eth_ADC_DAC:PCM5102A_dac | U2 |
| 1 | WM8782S_adc | ESP32_Eth_ADC_DAC:WM8782S_adc | U3 |

joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.


hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

drandyhaas/KiCadRoutingTools
A set of Python/Rust tools to aid routing in KiCad

osy/XG_Mobile_Station
Open source eGPU dock for ROG Ally and ROG Flow

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2
4 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the marijase/ESP23_Eth_ADC_DAC repository on GitHub, at the commit this page was made from: the board is HW/ESP32_Eth_ADC_DAC/ESP32_Eth_ADC_DAC.kicad_pcb and its schematic HW/ESP32_Eth_ADC_DAC/ESP32_Eth_ADC_DAC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask marijase before reusing the design.