The heart of this project is the STCS1 from STM Electronics:
Warning: Some parts of this project were designed and fabbed using professional software and hardware. However, all aspects of this design could be done using open source products or some perf board and wire wrap.
Step 1: Read the Data Sheet!
From this we can easily see some of the key features of this chip:
■ Up to 40 V input voltage
■ Less than 0.5 V voltage overhead
■ Up to 1.5 A output current
■ PWM dimming pin
■ Shutdown pin
■ LED disconnection diagnostic
Step 2: What else do we need? How bout 5V@20mA
Step 3: Layout the PCB!
Step 4: Wired Up!
Here are the Gerber Files of this board.