Difference between revisions of "Hardware: Hive Interface Board 0.3"

From HiveTool
Jump to: navigation, search
(User Guide)
(User Guide)
Line 74: Line 74:
 
|}
 
|}
 
<br clear=all>
 
<br clear=all>
 +
 +
[[File:Shot0001.jpg|thumb|right|640px|H7 GPIO,  H2  I2C,  H6  I2S]]
 +
 +
Right side of board showing spare GPIO, I2C, and I2S connections.
  
 
H7 Spare GPIO
 
H7 Spare GPIO

Revision as of 02:36, 25 January 2016

Dev Kit PCB installed on a Pi 2.

A hive interface board for the Pi is available. The will be part of the Developers Kit hardware.

This is an interim solution - a step towards the goal of a complete turnkey system.


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.
    • 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 next step will be to split this board into two boards. One will be a general purpose IO board and contain at least a 4 channel ADC so each load cell will be individually measured instead of being summed, a real time clock, and power supply. The second board will contain the sensor connectors.

The interface board and software works with the A+. B+ and Pi2 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.

Connector Wiring

Detailed wiring instructions The Developers Kit uses RJ14 (6p4c) connectors for the sensors. Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors.

Assembly Instructions

Hardware: PCB Assembly

User Guide

Figure1. Connectors.

The commonly used connectors on the interface board. Are shown in Figure 1. Additional headers not show installed access to other GPIO signals for developers.

H4 provides access to the serial console signal TxD and RxD. A TTL to USB adapter is used to log into a command line interface from a terminal program such as PuTTY, terminal or minicom. The Pi and interface can be powered through this header.

The top row of RJ14 jacks are for digital sensors. The assignment of sensors is the default HiveTool software setup. These connectors may have unused GPIO signals and can be used for different purposes depending on the software.

The bottom row of RJ14 jacks are analog inputs for load cells. These signals are summed together and read by the high gain channel of the HX711.


Console and 12 V power supply option 1.

Left side of board showing H4 serial console and power supply connections.

H4 Serial IO

Pin Signal
1 +5
2 TxD
3 RxD
4 Ground


H7 GPIO, H2 I2C, H6 I2S

Right side of board showing spare GPIO, I2C, and I2S connections.

H7 Spare GPIO

Pin Signal
1 +5
2 +3.3
3 GPIO
4 GPIO
5 Ground

H2 I2C Bus

Pin Signal
1 +5
2 +3.3
3 I2C
4 I2C
5 Ground


H6 I2S Bus

Pin Signal
1 +5
2 +3.3
3 I2S
4 I2S
5 I2S
6 I2S
7 Ground