Skip to the content
PCBKitNew board
2 layers71.3 × 25.4 mmUSB DALI, the printed circuit board in 3D

USB-DALI interface converter

Size
71.3 × 25.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
43
Nets
60
Pads
153
Tracks, vias
264, 16
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Mar 2025
Updated
24 Mar 2026

Overview

USB DALI is an open-source printed circuit board by even-notodd, from the even-notodd/USB-DALI repository on GitHub. It is a 2-layer board of 71.3 × 25.4 mm with 43 parts on 60 nets, routed with 264 tracks and 16 vias.

It is built around the STM32F103C8T6, MT3608 and AMS1117-3.3, with the SS14, BCX56 and MB2S among its other parts. Its parts include 15 resistors, 9 capacitors, 6 diodes, 5 ICs and 5 connectors. It belongs with the STM32 boards of this library.

Main components

6

README

README.md

USB-DALI

USB-DALI adapter. The device works as a gateway allowing sending data via USB VCP (USB Virtual COM Port) to DALI bus and reading data from DALI bus via Modbus RTU protocol. The device can be operated via standard Modbus RTU commands set. Data exchange examples can be found in the repo. Hardware includes DALI bus power supply. Software includes C# sample of sending basic DALI commands including DALI configuration and a simple GUI.

image image

Hardware

This design has been tested before and successfully used in several systems. The device is built around popular STM32F103C8T6 using MCUs USB. The DALI "physical layer" is build with a few discrete components without any special transceiver. The hardware implementation also includes DALI bus power supply which simplifies its usage in building hardware setups through design & development process. Nevertheless we don't recommend (!) using it as bus power supply in any permanent installations.

The module can work with DALI line powered from external DALI power supply or powered from own built-in 16V 160mA converter (powered from USB). If you are planning to use external power supply it’s important to open 2 jumpers on the board before connection the module to DALI network and USB. Do not use 2 power supplies (external and internal) at the same time! While working with both of jumpers open (external power supply), the module provides galvanic isolation between USB and DALI, but when powered from built-in power supply, DALI line has not galvanic isolation from USB. Being connected to USB, the module can be found in operating system as virtual COM port. It’s important to admit, that after connection to that port from the software, it takes MCU some time to create stable connection so it’s recommended to keep 3-5 seconds pause between connection and start of data exchange.

Software

The software is a demo GUI providing simple access to direct and indirect commands in DALI network (like broadcasting of brightness, working with individual addresses etc). Visual Studio Community Edition can be used to build or modify.

image image image

Drivers & settings

The device works as VCP (Virtual COM Port). When using with Linux - no drivers required. For Windows - VCP driver from ST Microelectronics should be used. The Modbus address of the USB-DALI module is 0x01 (not changeable). As far as there is no possibility to connect other devices to the same USB VCP, it will be always the only device in created Modbus network.

Firmware

Firmware file can be found in corresponding sub-folder and can be flashed to MCU with ST-Link (optionally J-Link).

Protocol

For protocol description and examples look inside Protocol.pdf

License

See the LICENSE file for details.

Parts

43
QtyValueFootprintReferences
61kResistor_SMD:R_0805_2012MetricR1, R3, R4, R5, R9, R11
5100nFCapacitor_SMD:C_0805_2012MetricC2, C4, C5, C6, C8
210kResistor_SMD:R_0805_2012MetricR2, R13
222RResistor_SMD:R_0805_2012MetricR7, R8
222pFCapacitor_SMD:C_0805_2012MetricC1, C3
222uFCapacitor_SMD:C_0805_2012MetricC7, C9
2390RResistor_SMD:R_0805_2012MetricR10, R14
2PC817Package_DIP:DIP-4_W7.62mmU2, U3
2SS14Diode_SMD:D_SMAD5, D6
1100RResistor_SMD:R_2512_6332MetricR15
110uHInductor_SMD:L_1210_3225MetricL1
11k5Resistor_SMD:R_0805_2012MetricR6
14k7Resistor_SMD:R_0805_2012MetricR12
18MHzCrystal:Crystal_HC49-U_VerticalY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1BCX56Package_TO_SOT_SMD:SOT-89-3Q1
1MB2SPackage_TO_SOT_SMD:TO-269AAD4
1MT3608Package_TO_SOT_SMD:SOT-23-6U5
1PWRLED_SMD:LED_0805_2012MetricD2
1PWR BUS+Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1PWR BUS-Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1RxLED_SMD:LED_0805_2012MetricD3
1ST-LINKConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1STM32F103C8T6Package_QFP:LQFP-48_7x7mm_P0.5mmU1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ3
1TxLED_SMD:LED_0805_2012MetricD1
1USB_AConnector_USB:USB_A_CNCTech_1001-011-01101_HorizontalJ1

Questions

How big is the USB DALI PCB?

It measures 71.3 × 25.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the USB DALI use?

43 parts, built around the STM32F103C8T6, MT3608, AMS1117-3.3 and SS14. 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 USB DALI KiCad files?

From the even-notodd/USB-DALI repository on GitHub, at the commit this page was made from: the board is Hardware/USB-DALI.kicad_pcb and its schematic Hardware/USB-DALI.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB DALI design in my own project?

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

Similar boards

  • 2 layers84.5 × 128.5 mmSchraeg, the printed circuit board in 3D

    Schraeg

    barnabywalters/Schraeg

    An 8HP eurorack multimode filter module based on the Bastl Cinnamon

    116 parts43CC-BY-SA-4.0
  • 2 layers45.7 × 63.5 mmFeuchtraumabzweigdose, the printed circuit board in 3D

    Feuchtraumabzweigdose

    transportkollektiv/feuchtraumabzweigdose

    A custom GPS Tracker with LoRaWAN/TTN intended for use on a bicycle

    40 parts14CC-BY-4.0
  • 2 layers21 × 13 mmB012 PoE rectifier MB10FTR, the printed circuit board in 3D

    B012 PoE rectifier MB10FTR

    skunkforce/edgy_boards_legacy

    small mostly single chip design bits with put_on_edge connectors

    4 parts6MIT
  • 2 layers100 × 85 mmVNA, the printed circuit board in 3D

    VNA

    profdc9/VNA

    Vector Network Analyzer based on the STM32F103C8T6 bluepill

    178 parts93
  • 2 layers78.3 × 56.8 mmQuadruped, the printed circuit board in 3D

    Quadruped

    RocketScientist26/Quadruped-Hardware

    Main, Battery protection and Servo PCBs for Quadruped robot

    187 partsMIT