controller
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
controller [2023/02/28 20:16] – breaker27 | controller [2023/03/06 20:55] (current) – [Modification of PCB rev. 1.0] breaker27 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building up an RGB Dimmer | + | ====== Building up the Controller |
===== Needed Parts and PCB ===== | ===== Needed Parts and PCB ===== | ||
Line 7: | Line 7: | ||
==== Partlist (in buildup order) ==== | ==== Partlist (in buildup order) ==== | ||
- | ^ Amount | + | ^ Amount |
- | | 1 | + | | 1 | PCB Controller |
- | | | + | | |
- | | | + | | |
- | | 4 | + | | |
- | | 1 | + | | |
- | | 1 | + | | 1 | Resistor 47k XXXXXXXXXXXXXXXXX |
- | | 1 | + | | 3 | Resistor 1k brown-black-red |
- | | | + | | |
- | | 1 | + | | |
- | | 1 | + | | 1 | Resistor 10R (LED Backlight) |
- | | 1 | + | | |
- | | 1 | + | | |
- | | 1 | + | | 1 | Quarz / Crystal 20 MHz | Q1 | {{ parts:crystal_20mhz.jpg }} |
- | | 1 | + | | |
- | | 1 | + | | 1 | Capacitor 1µF | C3 |
- | | 1 | + | | 1 | Capacitor 10µF | C5, C6 |
- | + | | 2 | Capacitor 100nF | C7, C8 | |
- | You have to decide on the LEDs you want to use. Depending on the type, you have to use different resistors R6, R7, R8 for the LEDs. See further down for a recommended one. | + | | 1 | Capacitor 220nF | C4 |
- | + | | 1 | Button/ | |
- | The capacitor C2 is only to buffer the input voltage in case you connect LEDs that draw much power and you want to avoid problems with some programmers that may have problems flahing when the voltage changes much. | + | | 4 |
+ | | 1 | Transistor BC327 | ||
+ | | 1 | FET Transistor 2N7000 | ||
+ | | 1 | Voltage regulator LP2950Z | ||
+ | | 1 | ||
+ | | 1 | Trimmer Potentiometer 20k | R18 | {{ parts: | ||
+ | | | ||
+ | | 1 | IC ATMega644-20PU | ||
+ | | 1 | LED 2mA | LED1/ | ||
+ | | 1 | Connector AVR ISP 6pin | JP1 | {{ parts: | ||
+ | | 1 | ||
+ | | 1 | Antenna (82,2mm wire) | ||
+ | You have to decide on the LEDs you want to use. Depending on the type, you have to use different resistors **R13, R14, R16** for the LEDs. See the corresponding part in the [[rgb_dimmer|RGB Dimmer]] description about recommended values. | ||
===== Buildup of PCB ===== | ===== Buildup of PCB ===== | ||
Line 39: | Line 51: | ||
* **ISP Connector: | * **ISP Connector: | ||
* **10 uF Capacitor: | * **10 uF Capacitor: | ||
- | * **ATMega:** Before inserting it, you may want to check the voltage levels when switching the power on. Pin7 should have VCC (3V) against | + | * **ATMega:** Before inserting it, you may want to check the voltage levels when switching the power on. Pin10 should have VCC (5V) against |
* **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 [[rfm12b_soldering|the RFM12B mounting instructions]]. | * **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 [[rfm12b_soldering|the RFM12B mounting instructions]]. | ||
- | {{https:// | + | {{https:// |
//(Image directly loaded from external GitHub source. If it doesn' | //(Image directly loaded from external GitHub source. If it doesn' | ||
+ | |||
+ | ===== Modification of PCB rev. 1.0 ===== | ||
+ | |||
+ | In the initial PCB, the blue LED channel is connected to PD7 (OC2A, pin21). To use the same code as for the RGB Dimmer, this needs to be rewired to PD6 (OC2B, pin20). Cut the connection at the bottom of the PCB and make the new connection with a wire. | ||
+ | |||
+ | The status LED has to be rewired from initial PB2 (pin3) to PD7 (pin21), also to use the same code as in all other devices for the status LED. This can be done easiest by connecting the resistor R1 to a wire and connecting the wire to PD7. | ||
+ | |||
+ | In future PCB versions, this shall be changed in the schematic and layout. | ||
+ | |||
+ | To perform the modification, | ||
+ | |||
+ | {{ controller_mod1.jpg }} | ||
+ | {{ controller_mod2.jpg }} | ||
+ | |||
controller.1677611810.txt.gz · Last modified: 2023/02/28 20:16 by breaker27