Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
livebox:assembly [2012/04/09 10:55] – [1-Wire] brett | livebox:assembly [2013/04/12 14:11] – [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 37: | Line 39: | ||
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, 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 |
{{1wire-connector.png}} {{18b20-front.png}} {{18b20-bottom.png}} | {{1wire-connector.png}} {{18b20-front.png}} {{18b20-bottom.png}} | ||
{{: | {{: | ||
- | Plug wiring: | + | The 1-Wire bus is exposed on three molex pins on the HAH PCB (PCB legend shows '1-WIRE'). Pin one is clearly marked on the PCB. |
- | * Pin 1 = GND (collar mount - sheath) | + | |
- | | + | |
- | * Pin 3 = Vcc (outer core) | + | |
- | These match the socket connection | + | Pinout: |
+ | |||
+ | * Pin 1 = GND | ||
+ | * Pin 2 = DQ | ||
+ | * Pin 3 = Vcc | ||
+ | |||
+ | 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. 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: | ||
+ | * Black wire - GND (base of the 3.5mm jack) | ||
+ | * White wire = DQ (middle segment 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. | ||
For sample [[http:// | For sample [[http:// | ||
Line 117: | 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:// | ||
1-Wire bus design [[http:// | 1-Wire bus design [[http:// | ||
- | |||
====== Before Power-up ====== | ====== Before Power-up ====== | ||