Hardware: Hive Interface Board 1.0
Contents
Introduction
Version 1.0 of the Hive Interface Board has been tested and will soon be available. As suggested by the 1.0 designation, this is considered to be "done" and should be the final release of this design.
There are minor changes between version 0.3 and 1.0. Much of the details of version 0.3 apply to version 1.0.
The order in which the sensors pug in is different between version 0.2 and versions 0.3 and greater. Unplug the HX711 to read the version.
Version 1.0
Design
The HiveTool Hive Interface board was designed using gEDA schematic capture and Printed Circuit Board (PCB) layout software. The software, schematics, pcb layout and Gerber files are included on the latest imagein /home/hardware.
Schematics
Analog Sensor Inputs
Analog to digital conversion is done by the HX711. It plugs into Hive Interface headers H8 and H9 in the lower right corner.
Digital Sensor Inputs
This is the default sensor configuration but others are possible. The I2C bus communicates with the TSL2195 lux sensor, the DS3231 RTC and the BME680 Temp/Humidity/Pressure/Gas sensor.
Hive Interface Board Digital Sensor Inputs | |||
---|---|---|---|
Name/Purpose | Interface | Header Pins | Sensors |
Lux | I2C | 3, 5 | TSL2561 TSL2591 BME680 |
Hive Temp/RH | GPIO/1-Wire | DHT:13 1-Wire:11 | DHT11 DHT22 DS18B20 |
Ambient Temp/RH | GPIO/1-Wire | DHT:15 1-Wire:11 | DHT11 DHT22 DS18B20 |
Rain | GPIO/1-Wire | Rain:22 1-Wire:11 | Tipping bucket rain gage and/orDS18B20 |
Raspberry Pi default Interfaces | |||
---|---|---|---|
Interface | Header Pin | Broadcom GPIO Pins | RPi GPIO Pins |
I2C | 3, 5 | 2, 3 | 8, 9 |
1-Wire | 11 | 17 | 0 |
Real Time Clock
Plugs into header H2 located on the upper right.
Serial Console
H4 upper left.
GPIO List
Handy list of Pi GPIO pin numbers, names and purposes.
Changes
- Added Real Time Clock (RTC) support so DS3231 will plug into the I2C header H2 without modification.
- Changed 1-Wire connection to Pi's default 1-Wire GPIO by swapping GPIO pin for LED from pin 7 (default 1-wire) to pin 11.
- Added Chip Enable signal to SPI bus signals on H7.
- Increased hole size for blue 12 VDC power connector from .038" to .042".
Features
- Plug and Play - all the sensors plug in.
- 12 VDC power supply with battery voltage monitoring
- Supports
- HX711 24 bit ADC and 4 load cells in parallel.
- two DHT22 temperature/humidity sensors.
- unlimited DS18B20 1-Wire temperature sensors (or other 1-Wire devices).
- TSL2591 Lux sensor
- Rain Gauge
Plug and Play. Telco RJ14 (6P4C) connectors are used for all sensors. These are gold plated, reliable, self wiping, inexpensive, readily available, crimp on with an inexpensive crimping tool, lock in place (latch) and as anyone who has tripped over a phone cord can attest, very strong.
Two different power supplies are optional. These are 12 to 5 volt step down highly efficient switching regulators.
The interface board and software works with the A+. B+, Pi2 and Pi3 models. The board will work with the original A or B if a 26 pin header extension is used although the lack of mounting holes in the original Pi is a problem.
This board was designed on the Pi using the gEDA programs gschem and pcb. The programs, schematic and layout files are included on the latest image.