Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:assembly [2012/04/09 11:48] – [1-Wire] minerva9 | livebox:assembly [2013/04/13 12:37] (current) – [Before Power-up] minerva9 | ||
---|---|---|---|
Line 10: | Line 10: | ||
* A 433MHz RF transmitter | * A 433MHz RF transmitter | ||
* A LCD (1x16) | * A LCD (1x16) | ||
+ | * A DS18B20 temperature sensor | ||
Line 26: | Line 27: | ||
====== HAH PCB assembly notes ====== | ====== HAH PCB assembly notes ====== | ||
- | {{: | + | {{: |
+ | Click image for enlargement | ||
Before starting, make sure that you have all of the parts that you require. Components are packaged as per the [[http:// | Before starting, make sure that you have all of the parts that you require. Components are packaged as per the [[http:// | ||
Line 32: | Line 34: | ||
You will need a soldering iron, some fine solder and a small pair of wire-cutters. | You will need a soldering iron, some fine solder and a small pair of wire-cutters. | ||
- | The order in which you populate the components on the PCB is not critical. We usually start with the RJ11 socket. The socket is a tight fit. Be sure that all six pins align with the holes in the PCB before applying too much pressure. Then fit the zenner diode, D6, directly behind the RJ11 socket. Observe polarity - the bar on the component should match the bar on the PCB legend. Now, fit R6 (1K5 ohm), just to the side of the RJ11 socket. | + | The order in which you populate the components on the PCB is not critical. We usually start with the RJ11 socket. The socket is a tight fit. If you warm the part a little, fitting is easier. Be sure that all six pins align with the holes in the PCB before applying too much pressure. Then fit the zenner diode, D6, directly behind the RJ11 socket. Observe polarity - the bar on the component should match the bar on the PCB legend. Now, fit R6 (1K5 ohm), just to the side of the RJ11 socket. |
The socket for the microcontroller is next. We use a 20pin socket + an 8pin socket. \\ | The socket for the microcontroller is next. We use a 20pin socket + an 8pin socket. \\ | ||
Remember to align the notch on the socket with the notch on the PCB legend. Now, fit the two caps and the xtal. {{ : | Remember to align the notch on the socket with the notch on the PCB legend. Now, fit the two caps and the xtal. {{ : | ||
- | Jumper JP1 should be left unfitted. JP3 should be fitted and jumper-ed to short pins 1 and 2. JP4 should be fitted and pins 1 and 2 shorted. Note that our newer PCBs don't need any jumpers. | + | Jumper JP1 should be left unfitted. JP3 should be fitted and jumper-ed to short pins 1 and 2. JP4 should be fitted and pins 1 and 2 shorted. Note that our newer PCBs only have one jumper (JP1), which should be fitted and jumper-ed. |
If you have relays to fit, it is easier to fit the diode, resistor (4K7 ohm) and transistor (required to drive the relay) before fitting the relay itself. <note warning> | If you have relays to fit, it is easier to fit the diode, resistor (4K7 ohm) and transistor (required to drive the relay) before fitting the relay itself. <note warning> | ||
Line 55: | Line 57: | ||
{{: | {{: | ||
- | Solder the aerial (a 6.47" piece of wire) onto the RF module solder pad connector (marked ' | + | Solder the aerial (a 6.47" piece of wire) onto the RF module solder pad connector (marked ' |
\\ | \\ | ||
{{: | {{: | ||
\\ | \\ | ||
Next, fit the voltage regulator (marked as IC1 on the PCB legend).\\ | Next, fit the voltage regulator (marked as IC1 on the PCB legend).\\ | ||
+ | This regulates the 15V feed from the Livebox down to 12V for the RF module. | ||
Ensure that the flat side on the component matches the PCB legend. | Ensure that the flat side on the component matches the PCB legend. | ||
Line 131: | Line 134: | ||
{{: | {{: | ||
- | RJ45/Cat5 can also be used. This is definitely more reliable for longer cable runs. There are various ' | + | RJ45/Cat5 can also be used. This is definitely more reliable for longer cable runs. A [[http:// |
Further RJ45 related connection info [[http:// | Further RJ45 related connection info [[http:// | ||
Line 138: | Line 141: | ||
====== Before Power-up ====== | ====== Before Power-up ====== | ||
- | Before powering up for the 1st time, visually check the HAH PCB for any short circuits. With the Livebox power unplugged, use the MMJ to RJ11 cable to connect the HAH PCB to the Livebox. Before inserting the AVR chip, be sure to use a multimeter to check that ~= 5V (4.8V is typical) is present at pin 7 of the IC socket with Ground on pin 8. If you don't get near to 5V or you get something higher than 5V, STOP NOW and investigate. | + | Before powering up for the 1st time, visually check the HAH PCB for any short circuits. With the Livebox power unplugged, use the MMJ to RJ11 cable to connect the HAH PCB to the Livebox. Apply power. Before inserting the AVR chip, be sure to use a multimeter to check that ~= 5V (4.8V is typical) is present at pin 7 of the IC socket with Ground on pin 8. If you don't get near to 5V or you get something higher than 5V, STOP NOW and investigate. |
- | Start by getting things going without the LCD or the RF Module connected. With power removed, insert the AVR chip (the correct way around) then power up the Livebox and let it bootup. Use [[http:// | + | Start by getting things going without the LCD or the RF Module connected. With power removed, insert the AVR chip (the correct way around) then power up the Livebox and let it bootup. Use [[http:// |