Difference between revisions of "Hardware: Sensor Wiring"

From HiveTool
Jump to: navigation, search
m (Paul moved page Sensor Wiring to Hardware: Sensor Wiring)
m
Line 69: Line 69:
  
  
[[File:Dht22 wiring1.jpg|thumb|right|500px]]
+
[[File:Wiring_DHT22_Temp-Humidity_Sensor.jpg|thumb|right|500px]]
[[File:Dht22 wiring2.jpg|thumb|right|500px]]
+
[[File:Dht22 wiring2.jpg|thumb|left|500px]]
 
 
 
{| class="wikitable"
 
{| class="wikitable"
 
!colspan="4"|DHT22 Wiring
 
!colspan="4"|DHT22 Wiring
Line 131: Line 130:
  
 
Wire: flat telephone wire.
 
Wire: flat telephone wire.
 
 
Wire colors are Black, Red, Green, Yellow.
 
Wire colors are Black, Red, Green, Yellow.
 
 
Crimp the RJ14 connector for normal telephone use:
 
Crimp the RJ14 connector for normal telephone use:
  

Revision as of 09:03, 13 March 2016

The Developers Kit Raspberry Pi Hive Interface Board uses modular telephone RJ14 (6P4C) connectors for the sensors. Pins 2, 3, 4, and 5 are used.

Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors.

These instructions are for developers that use the Dev Kit Raspberry Pi Hive Interface board versions 0.1 or 0.2.

The Registered Jack (RJ) series connectors install using an inexpensive crimping tool.

RJ Connectors

Crimp on Registered Jack (RJ) plugs are insulation displacement connectors (IDC) that pierce the insulation on the wire, forming a gas tight joint. Some RJ connectors are designed to take round cable, some flat, some both. Some are designed for solid wire, some for stranded, some for both.

The male connectors are called plugs. The female connectors are called jacks. They are designated by the number of positions (P) and the number of contacts (C) that are populated. We are currently using 6P4C (six position, four contact) plugs and jacks.

For a detail description, see Registered Jack on Wikipedia.

Number of Contacts

Contact numbering

Load Cells

Loadcell connector 1.jpg
Loadcell connector 2.jpg
Loadcell connector 3.jpg
Load Cell Wiring
RJ14 Pin Color HX711 Description
2 Red OUT+ Excitation voltage from HX711 voltage regulator
3 White A- A/D channel A negative input
4 Green A+ A/D channel A positive input
5 Black GND Analog ground
  1. Remove any heat shrink from the load cell cable.
  2. Cut off the drain wire.
  3. Spread out the four wires and arrange them in Red, White, Green, Black order.
  4. Gently flatten the cable with a pair of pliers.
  5. Evenly trim the wires so they extend approximately 1/4 inch past the jacket.
  6. Orient the RJ14 connector so the latch tab is up.
  7. Insert the wires all the way into the RJ14 connector, making sure that the wires are in the right order.
  8. Inspect the wires and connector with a magnifier. Make sure the outer jacket is past the strain relief and each wire is all the way to the end of the connector.
  9. If the wires do not extend the full length of the connector, or the jacket does not go past the strain relief, remove the wire and trim a little of the jacket, or shorten the wires.
  10. Crimp the connector.


AS2302/DHT22 Temperature and Humidity Sensor

Wiring DHT22 Temp-Humidity Sensor.jpg
Dht22 wiring2.jpg
DHT22 Wiring
RJ14 Pin Color DHT22 Signal Description
2 Black + +3.3VDC supply
3 Red Out Pi GPIO
4 Green No Connect Not used
5 Yellow - Digital ground
DHT22 Wiring
RJ14 Pin Color DHT22 Signal Description
2 Black + +3.3VDC supply
3 Red Out Pi GPIO
4 Green No Connect Not used
5 Yellow - Digital ground

Wire: flat telephone wire. Wire colors are Black, Red, Green, Yellow. Crimp the RJ14 connector for normal telephone use:

2 Black 3 Red 4 Green 5 Yellow


Trouble shooting: Make sure the cable is crimped Black, Red, Green, Yellow and not Yellow, Green, Red, Black.


TSL2591 Lux Sensor

Tsl2591.jpg
Dht22 wiring2.jpg
TSL2591 Wiring
RJ14 Pin Color TSL2591 Signal Description
2 Black Vin +3.3Volt input
3 Red SDA Pi GPIO 8 I2C SDA
4 Green SCL Pi GPIO 9 I2C SCL
5 Yellow GND Digital ground

TSL 2591:

3Vo - not used.

Int - not used.


Wire: flat telephone wire.

Wire colors are Black, Red, Green, Yellow.

Crimp the RJ14 connector for normal telephone use:

2 Black 3 Red 4 Green 5 Yellow