Introduction: RGB Controller
This guide shows you how to assemble the RGB Controller pcb from https://github.com/hanneseilers/RGB-Controller.
You need a soldering iron, tin-sodler, a forceps and also some electronic parts:
- 1x ATtiny 2313-20SU µController
- 1x L78L33ACZ voltage regulator
- 1x 6-pole dip switch
- 1x 2-pole smd dip switch
- 1x 2x3-pole pin header 90° pitch 2.54mm for ISP programming interface
- 1x IRFR 110 n-channel mosfett
- 1x Degson DG126 4-pole terminal block 5.0 mm pitch
- 1x 100kOhm 1206 smd resistore
- 2x 100nF 1206 smd capacitor
You can order the pcb from dirtypcbs.com:
There you can order about 10 pcbs. So you've got some for your friends :-)
Step 1: Solder Resistor and Capacitor
First solder the resistor 100kOhm R1 (1kOhm and 10kOhm also works) near IC1 on the pcbs bottom side and the two 100nF capacitors C1 and C2 at the pcbs top side.
Step 2: Solder the ΜController and MOSFETTs
Solder the ATtiny µController IC1 at the pcbs bottom side. For that pre solder the pads, put the ic on them and then heat the pins of the ic to fix them on the pads. Do the same with the IRFR 110 MOSEFETTs T1, T2 und T3 on pcbs top side.
Step 3: Solder Voltage Regulator
Solder the voltage regulator L78L33 at IC2 on the pcbs top side. Take care of the correct direction like printed on the pcb.
Step 4: Solder DIP Switches
Now solder the dip switches. the 2-pole smd switch on S1 and the 6-pole switch on S2. Take care, that the ON-position of the switches is the side of the border of the pcb.
Step 5: Solder Terminal Block and Programming Pinheader
Solder the 4-pole terminal block on LED_CON with it's connection holes pointing to the border of the pcb. After that solder the 2x3-pole pin header for programming interface.
Step 6: Programm the Firmware
Now you're done with assembling the pcb. You can now connect your isp programmer and upload the firmware available at https://github.com/hanneseilers/RGB-Controller to the controller or create your own firmware program.
Step 7: Wiring
For wiring your rgb stripe take a look at the attached Eagle schematic and board layout. On the LED_CON connector from top to bottom (see picture) your stripe should be connected as following: blue - green - red - supply voltage (12V).