LED Ambient-Light for PC with FTDI Converter
PC version with an FTDI-based protocol converter
Technical project documentation for LED Ambient-Light for PC with FTDI Converter, revised for clearer language, consistent structure and easier reference.
Design and Operating Principle
The solution presented here is intended for PC use and requires PC software that analyzes the screen content and controls the lighting through a suitable DMX512 interface. One software package I found on the internalt and considered very promising is PC Dimmer (freeware).
My work therefore focused on developing hardware that could be controlled by this software. The circuit is based on openDMX, a USB-to-DMX512 interface. Its central component is the FT232BL USB-to-serial converter from FTDI, which makes it possible to build a simple and inexpensive interface without dedicated device firmware. The DMX512 data stream is generated by the PC driver and is available directly at the FTDI interface output. Several microcontrollers receive this stream, extract the channel data assigned to them and use three PWM outputs each to convert the DMX512 values into signals for RGB LEDs. For higher-power LEDs or LED strips, the PWM signals are passed through a power-driver IC.
I deliberately avoided a single-chip solution so that the number of RGB channels could remain expandable. The microcontrollers are inexpensive 8-bit devices with integrated oscillators; at the time of the project they cost about EUR 0.40 each. Each microcontroller provides three PWM channels, and the architecture can be expanded to as many as 255 PWM channels.
Technical Data
- Four independent RGB channels, or 12 single-color LED channels
- Up to 15 W output power per PWM channel
- Low-loss LED control using PWM
- LED supply voltage from an external power supply (6–30 VDC, max. 3 A)
Block Diagram
Schematics
Interface_FTDI_4ch - Page 1
Interface_FTDI_4ch - Page 2
PCB Views
Component Side
Solder Side
Component List
| Component | Value | Description | Quantity | Reichelt order number |
|---|---|---|---|---|
| C1 | 10µF | SMD-Tantal-capacitor, 10µF/16 V | 1 | SMD TAN.10/16 |
| C2 – C10 | 100nF | SMD multilayer ceramic capacitor 100N, X7R | 9 | X7R-G0603 100N |
| C11 | 470µF | Electrolytic capacitor, 10x16 mm, 5.0 mm pitch, 470µF, 25 V | 1 | RAD 470/25 |
| C12, C13 | 27pF | SMD multilayer ceramic capacitor 27P, NP0 | 2 | NPO-G0603 33P |
| F1 | Fuse holder | Fuse holder, 5x20 mm | 2 | PL 120000 |
| F1 | Fuse | 5×20 mm slow-blow fuse, 3.0 A | 1 | SLOW-BLOW 3.0 A |
| IC1 | 93C46 | CMOS serial EEPROM, 5 V, EE 1024X1-BIT SER. | 1 | ST 93C46 BN |
| IC2 – IC5 | PIC10F222 | PIC-Controller SOT-23-6 | 4 | PIC 10F222T-I/OT |
| IC6, IC7 | ULN2003AD | Darlington-Arrays, SO-16 | 2 | ULN 2003 AD SMD |
| IC8 | FT232-BL | Converter IC RS232/RS422 USB/Serial Interface | 1 | FT 232 BL |
| J1 – J4 | 4 pol. | PCB connector, single connector, straight, 4-pin (LED strips) | 4 | PSS 254/4G |
| L1 | 100nH | SMD inductor, 1206, 100 nH | 1 | L-1206AS 100N |
| Q1 | 6 MHz | Standard crystal, fundamental mode, 6, 0 MHz | 1 | 6, 0000-HC49U-S |
| Q2 | IRLM6402 | SMD-MOSFET, P-LogL, SOT23, -20 V, 3.7A | 1 | IRLML 6402 |
| R1 | 1, 5k | SMD chip resistor 0603, 1, 5 K-Ohm, 1% | 1 | SMD-0603 1, 5K |
| R2, R3 | 27R | SMD chip resistor 0603, 27 Ohm, 1% | 2 | SMD-0603 27 |
| R4 | 2, 2k | SMD chip resistor 0603, 2, 2 K-Ohm, 1% | 1 | SMD-0603 2, 2K |
| R6, R7 | 10k | SMD chip resistor 0603, 10 K-Ohm, 1% | 2 | SMD-0603 10k |
| R5 | 1k | SMD chip resistor 0603, 1, 0 K-Ohm, 1% | 1 | SMD-0603 1, 0k |
| R8 | 390R | SMD chip resistor 0603, 390 Ohm, 1% | 1 | SMD-0603 390 |
| X1 | Barrel jack | Barrel jack (power supply) | 1 | HEBW 25 |
| X2 | USB Type-B socket | USB Type-B PCB socket, right-angle | 1 | USB BW |
| SV2... | 36-pin header for PIC flash interface | 1 | SL 1X36G 2, 54 | |
Downloads
- PCB layout, component placement plan, schematic
- USB-FTDI Windows driver: openDMX (ENTTEC)
- Control software, e.g. PC Dimmer (open source) at www.pcdimmer.de
KeiAng
Published on: Monday, 14. September 2015 (15554 reads)
Copyright © by Keiang Electronics & Measurement
[ Go back ]




