Skip to the content
2 layersDado, the printed circuit board in 3D

WinLED: BLE-controlled LED driver (ESP32 + AD5724R, KiCad PCB)

Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
59
Pads
172
Tracks, vias
372, 13
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Aug 2026
Updated
6 Aug 2026

Overview

Dado is an open-source printed circuit board by DCunha27, from the DCunha27/led-driver-winled repository on GitHub. It is a 2-layer board with 32 parts on 59 nets, routed with 372 tracks and 13 vias.

It is built around the ADS1015BQDGSRQ1, AD5724RBREZ and LM1117MPX-50NOPB, with the MAX14932AASE+ and SI8040AA-B-IU among its other parts. Its parts include 17 capacitors, 7 ICs, 4 connectors and 3 resistors. It belongs with the ESP32 and AVR (ATmega, ATtiny) boards of this library.

Main components

5

README

README.md

WinLED — Controllable LED Driver with BLE Control & Monitoring

Final-year project (Projeto em Engenharia Eletrotécnica) — Universidade de Aveiro, BSc in Electrical Engineering.

A high-accuracy LED driver for illumination / Visible Light Communication (VLC), with a custom control & monitoring PCB, ESP32 firmware, wireless control over Bluetooth Low Energy (BLE), and a companion Windows application (WinLED).

⚠️ Team project — this repository contains my contribution (control firmware, DAC/ADC drivers, BLE layer and control-board design). Shared deliverables are included as documentation.

✨ Overview

The system drives power LEDs with a precise, adjustable current and reports back real-time measurements, all controllable wirelessly.

  • MCU: ESP32 (SPI, BLE)
  • D/A conversion: Analog Devices AD5724R (quad, 16-bit, SPI) — sets the LED current reference
  • A/D monitoring: ADS1015 — reads back current/voltage
  • Isolation: digital isolator (ISO1541) between logic and power stages
  • Wireless: BLE using the NimBLE stack
  • Host app: WinLED (Windows) to configure channels and visualise telemetry

🗂️ Repository structure

text
firmware/
  CodArduino/     initial Arduino test code (DAC bring-up)
  main/           main firmware (modular: DAC/ADC/BLE/command layers)
  nimmain/        BLE firmware using the NimBLE stack
hardware/
  dado.kicad_*    control & monitoring PCB (KiCad project)
docs/
  FinalReport.pdf       project report
  pdb_esquematico.jpg   schematic capture
  pdb_PCI.jpg           PCB capture

🔧 Firmware architecture

The firmware is split into clean layers:

  • dac_driver — SPI driver for the AD5724R (channel setup, code → current)
  • adc_driver — reads back measurements from the ADS1015
  • ble_handler — BLE service/characteristics (NimBLE)
  • command_layer — parses commands from the host app and maps them to actions

🛠️ Tech stack

ESP32 · C/C++ (Arduino) · NimBLE · SPI · I²C · KiCad · AD5724R · ADS1015

🚀 Build & flash

  1. Open the sketch in firmware/main/ (Arduino IDE / PlatformIO).
  2. Install the NimBLE-Arduino library.
  3. Select an ESP32 board and flash.
  4. Open the PCB in hardware/ with KiCad 7+.

📈 What I learned

Hardware–firmware–software integration, precision D/A conversion, custom PCB design from schematic to Gerbers, and wireless embedded protocols (SPI + BLE).


Part of my engineering portfolio — see my other projects.

Parts

32
QtyValueFootprintReferences
10100nFCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C5, C9, C10, C12, C14, C23
410µFCapacitor_SMD:C_0402_1005MetricC13, C15, C16, C17
24.7KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR2, R3
2ADS1015BQDGSRQ1Library:ADS1015BQDGSRQ1IC4, IC5
110KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1
110uFCapacitor_SMD:C_0402_1005MetricC11
11uFCapacitor_SMD:C_0402_1005MetricC7
14,7uFCapacitor_SMD:C_0402_1005MetricC8
1AD5724RBREZLibrary:SOP65P640X120-25NIC3
1AP7361-33E-13Library:AP7361-33E-13IC7
1Arduino_Nano_ESP32Module:Arduino_NanoA1
1FonteConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ4
1LED1Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ1
1LED2Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ2
1LED3Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ3
1LM1117MPX-50NOPBPackage_TO_SOT_SMD:SOT-223-3_TabPin2IC6
1MAX14932AASE+Library:MAX14932AASE+IC2
1SI8040AA-B-IULibrary:SI8040AA-B-IUIC1

Similar boards

  • 6 layers90.2 × 95.9 mmPacSat AFSK, the printed circuit board in 3D

    PacSat AFSK

    AMSAT-NA/PacSatFSKBoard

    Ground station board

    552 parts
  • 2 layers53.5 × 26.5 mmSB Pixel Count, the printed circuit board in 3D

    SB Pixel Count

    computergeek1507/SB_Pixel_Count

    SB Pixel Counter

    23 parts3
  • 2 layers70 × 45 mmReceiver Out, the printed circuit board in 3D

    Receiver Out

    computergeek1507/PB_16

    Open source FPP PB16 Pixel Controller

    43 parts78
  • 2 layers59 × 29.5 mmRP2040 Count2, the printed circuit board in 3D

    RP2040 Count2

    computergeek1507/KiCad_Designs

    KiCad PCB Designs

    18 parts10
  • 2 layers59.3 × 71.4 mmReceiver Out, the printed circuit board in 3D

    Receiver Out

    kitspace-test-repos/kicad6-file-collection

    38 partsMIT
  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

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

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531

Questions

What parts does the Dado use?

32 parts, built around the ADS1015BQDGSRQ1, AD5724RBREZ, LM1117MPX-50NOPB and MAX14932AASE+. 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.

Where can I download the Dado KiCad files?

From the DCunha27/led-driver-winled repository on GitHub, at the commit this page was made from: the board is hardware/dado.kicad_pcb and its schematic hardware/dado.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Dado design in my own project?

Its repository states no licence, so its author keeps all rights: ask DCunha27 before reusing the design.