This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
operations:temphumidmonitor_hardware [2019/03/25 22:53] Jim Lovell [Hobart and Yarragadee] |
operations:temphumidmonitor_hardware [2019/04/03 23:22] (current) Jim Lovell [Connections for the DHT22 sensors to the RJ45 bus] |
||
---|---|---|---|
Line 67: | Line 67: | ||
* [[https://www.adafruit.com/product/1083|ADS1015 12-Bit ADC - 4 Channel with Programmable Gain Amplifier]] | * [[https://www.adafruit.com/product/1083|ADS1015 12-Bit ADC - 4 Channel with Programmable Gain Amplifier]] | ||
- | ==== Connections for the DHT22 sensors ==== | + | ==== Connections for the DHT22 sensors to the RJ45 bus ==== |
The DHT22 has 4 pins but pin 3 is not used. | The DHT22 has 4 pins but pin 3 is not used. | ||
- | {{ :hardware:dht22-pinout.png?direct |DHT22 pinout}} | + | {{ :hardware:dht22-pinout.png?direct%300 |DHT22 pinout}} |
+ | |||
+ | Each one requires a connection to power and ground plus a unique GPIO port on the Raspberry Pi for data. The RJ45/CAT5 has 8 wires. Two are reserved for power and earth so that leaves 6 for sensors. The RJ45 terminal blocks have a different wire colouring to the CAT5 cable. Here's how they are allocated: | ||
+ | |||
+ | ^ RJ45 Pin number ^ CAT5 wire colour ^ RJ45 terminal block wire colour ^ GPIO# or power assignment ^ ID on unit ^ | ||
+ | | 1 | orange/white | grey | 4 | TH1 | | ||
+ | | 2 | orange | orange | 17 | TH2 | | ||
+ | | 3 | green/white | black | 18 | TH3 | | ||
+ | | 4 | blue | red | +3.3V | | ||
+ | | 5 | blue/white | green | GND | | ||
+ | | 6 | green | yellow | 27 | TH4 | | ||
+ | | 7 | brown/white | blue | 22 | TH5 | | ||
+ | | 8 | brown | brown | 23 | TH6 | |