Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
livebox:assembly [2012/04/09 11:44] – [1-Wire] minerva9 | livebox:assembly [2013/04/13 10:07] – [HAH PCB assembly notes] 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 100: | Line 103: | ||
===== 1-Wire ===== | ===== 1-Wire ===== | ||
- | The only 1-Wire device that we currently support is a temperature sensor - the Dallas Semiconductor DS18B20, up to 15 of these can be chained to the bus. We use a standard 3.5" | + | The only 1-Wire device that we currently support is a temperature sensor - the Dallas Semiconductor DS18B20, up to 15 of these can be chained to the bus. We use a standard 3.5mm audio plug as extension leads and Y splitters are cheap and readily available to make our bus connectors. |
{{1wire-connector.png}} {{18b20-front.png}} {{18b20-bottom.png}} | {{1wire-connector.png}} {{18b20-front.png}} {{18b20-bottom.png}} | ||
Line 115: | Line 118: | ||
We supply a pre-wired three way molex female cable. This has a black wire (Gnd) a white wire (DQ) and a red wire (Vcc). So, when fitting the cable to the PCB pins, the black wire is nearer the middle of the PCB. | We supply a pre-wired three way molex female cable. This has a black wire (Gnd) a white wire (DQ) and a red wire (Vcc). So, when fitting the cable to the PCB pins, the black wire is nearer the middle of the PCB. | ||
- | The other end of the cable connects to the 3.5mm female connector. To ensure that you wire this correctly, it's easiest to plug in the 3.5mm male jack & use a multimeter to check the connections. | + | The other end of the cable connects to the 3.5mm female connector. You need to strip the cables and solder them to the 3.5mm female part. To ensure that you wire this correctly, it's easiest to plug in the 3.5mm male jack & use a multimeter to check the connections. |
3.5mm female wiring: | 3.5mm female wiring: | ||
Line 122: | Line 125: | ||
* Red wire = Vcc (tip of the 3.5mm jack) | * Red wire = Vcc (tip of the 3.5mm jack) | ||
+ | Then simply solder the DS18B20 onto the male jack the same way (see picture above for pinout). | ||
Resistor R7 is the 1-Wire bus pullup resistor. We supply a 4k7 resistor, but a lower value might give better results on longer busses. When adding extra sensors, it's best to power down the HAH first. | Resistor R7 is the 1-Wire bus pullup resistor. We supply a 4k7 resistor, but a lower value might give better results on longer busses. When adding extra sensors, it's best to power down the HAH first. | ||
Line 130: | 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:// |