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:30] – [Partlist (in buildup order)] 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 17: | Line 17: | ||
| 1 | Resistor 4k7 yellow-violet-red | | 1 | Resistor 4k7 yellow-violet-red | ||
| 1 | Resistor 1M brown-black-green | | 1 | Resistor 1M brown-black-green | ||
- | | 1 | Resistor | + | | 1 | Resistor |
- | | | + | | |
- | + | | 1 | Inductor 10µH | L1 | |
| 1 | Quarz / Crystal 20 MHz | Q1 | | 1 | Quarz / Crystal 20 MHz | Q1 | ||
| 2 | Capacitor 22pF | C1, C2 | | 2 | Capacitor 22pF | C1, C2 | ||
+ | | 1 | Capacitor 1µF | C3 | ||
+ | | 1 | Capacitor 10µF | C5, C6 | ||
+ | | 2 | Capacitor 100nF | C7, C8 | ||
+ | | 1 | Capacitor 220nF | C4 | ||
| 1 | Button/ | | 1 | Button/ | ||
- | | 1 | IC holder | + | | 4 | Transistor BC337 | T1-T4 | {{ parts: |
+ | | 1 | Transistor BC327 | ||
+ | | 1 | FET Transistor 2N7000 | ||
| 1 | Voltage regulator LP2950Z | | 1 | Voltage regulator LP2950Z | ||
- | | 1 | LED 2mA | LED1 | + | | 1 | Trimmer Potentiometer 200R | R8 |
+ | | 1 | Trimmer Potentiometer 20k | R18 | {{ parts: | ||
+ | | 1 | IC holder | ||
+ | | 1 | IC ATMega644-20PU | ||
+ | | 1 | LED 2mA | LED1/JP13 | ||
| 1 | Connector AVR ISP 6pin | JP1 | {{ parts: | | 1 | Connector AVR ISP 6pin | JP1 | {{ parts: | ||
- | | 2 | Capacitor 10µF | C5, C6 | ||
- | | 1 | IC ATMega328 | ||
| 1 | Transceiver PCB RFM12B | | 1 | Transceiver PCB RFM12B | ||
| 1 | Antenna (82,2mm wire) | JP2 | {{ parts: | | 1 | Antenna (82,2mm wire) | JP2 | {{ parts: | ||
- | You have to decide on the LEDs you want to use. Depending on the type, you have to use different resistors | + | You have to decide on the LEDs you want to use. Depending on the type, you have to use different resistors |
- | + | ||
- | The capacitor C2 is only to buffer | + | |
===== Buildup of PCB ===== | ===== Buildup of PCB ===== | ||
Line 47: | 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.1677612633.txt.gz · Last modified: 2023/02/28 20:30 by breaker27