User Tools

Site Tools


rgb_dimmer

This is an old revision of the document!


Building up an RGB Dimmer

Needed Parts and PCB

You need a PCB. You may use the layout from Github and etch it yourself or order the PCB or a complete kit.

Partlist (in buildup order)

Amount Part Placing Picture
1 PCB RGB Dimmer 1 pcb_rgb_dimmer.jpg
1 Diode 1N4148 D1 diode_1n4148.jpg
4 Resistor 560R green-blue-brown R1-R4 resistor_560r.jpg
1 Resistor 1M brown-black-green R5 resistor_1m.jpg
1 IC holder IC1 ic_holder.jpg
1 Voltage regulator LP2950Z IC3 ic_lp2950z.jpg
3 Transistor BC337 T1-T3 transistor_bc547c.jpg
1 LED 2mA LED1 led_yellow.jpg
1 Connector AVR ISP 6pin JP1 connector_isp.jpg
1 Connector 1 pin header (for serial TX debugging) JPx connector_pinheader.jpg
1 Capacitor 10µF C1 capacitor_10uf.jpg
1 IC ATMega328 IC1 atmega.jpg
1 Transceiver PCB RFM12B IC2 ic_rfm12b.jpg
1 Antenna (82,2mm wire) antenna.jpg

maybe extra pins, at your opinion.

Buildup of PCB

As always: start from flat to high. Go through the partlist and solder the parts from the top ones to the last ones.

For some parts, you have to consider something special:

  • IC holder: Look at the notch and place it in the right direction.
  • LED: Solder it to a wire if you want to place the PCB in a housing later. Read the instructions on how to solder the LED to a cable. The longer wire of the LED is +. It goes into the hole more in the middle of the PCB.
  • ISP Connector: The notch points to the side of the PCB.
  • 10 uF Capacitor: The marked line is -, which points to the mid of the PCB. On the PCB, + is labelled.
  • ATMega: Before inserting it, you may want to check the voltage levels when switching the power on. Pin7 should have VCC (3V) against pin8 (ground). If you have different voltages: don't panic, nothing is broken, nothing is fried. Search your error. To insert the ATMega, bend the pins at 90 degreed by placing the ATMega on the table and bending it carefully. Then insert it into the IC holder. Be sure that you are not charged with electricity (ESD!) when touching the IC pins.
  • RFM12B: You should also check the voltages first before soldering the module. At the place for the radio module the pad beside the antenna and at the opposite side the third pad should read about 3.3 V. For soldering, read the RFM12B mounting instructions.

(Image directly loaded from external GitHub source. If it doesn't work, fix link in wiki!)

Flashing the firmware

If you have a new ATMega where nothing is flashed onto, download a prebuilt binary package or build your own firmware. If you bought a hardware kit, the ATMega should already be flashed.

Integrate it into a housing

describe it…

rgb_dimmer.1405175158.txt.gz · Last modified: 2014/07/12 16:25 by breaker27