Hardware

From HiveTool
Jump to: navigation, search


This page is old and is here only for archival purposes.

A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as Raspberry Pi), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometer, microphone, video camera. As many different brands of hardware as possible are supported, to avoid being locked into one vendor, technology or computing platform as technology advances so rapidly. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing.

For an example of how these part can be used, see the Instruction Manual for the Model A.

Computers

Raspberry Pi Model B

Three computer platforms are currently in use:

  1. Raspberry Pi
  2. Standard x86 based desktop or laptop computer
  3. Cisco Linksys WRT160NL Router

Raspberry Pi

Thanks to Scott, hive GA006 was the first hive to run the Raspberry Pi. The Pi is a credit card size ARM processor based System On a Chip (SOC) that runs Debian linux. Awesome! Thanks, Scott!

The Model B+, released in summer of 2014, has an improved form factor and 4 USB 2.0 slots. Depending on your setup, this may eliminate the need for a USB hub. Adafruit Industries is an excellent resource to learn more about the specifications of the Raspberry Pi models.

Model A

Price: $30 Summary of Features: 256MB SDRAM, 1 USB 2.0, HDMI, SD slot, 26 pin GPIO Header

Model B

Price: $40 Summary of Features: 256MB SDRAM, 2 USB 2.0, HDMI, SD slot, 26 pin GPIO Header

Model B+

Price: $40 Summary of Features: 512MB SDRAM, 4 USB 2.0 (with improved hotswap capabilities), MicroSD slot, 40 pin GPIO header

x86 Desktop Computer

x86 motherboard.

Use of a standard desktop computer motherboard allows many instruments to be simply plugged in.

This computer is an old desktop salvaged from a dumpster. It only has 256 Meg RAM. The motherboard, power supply and hard drive were removed from the case and installed in a wooden box the size of a deep super. Since it's based on an inexpensive (or obsolete) standard PC mother board and hard drive, a wide collection of sensors and interface cards are available - most simply plug in.

The PC does require AC power, and won't meet the needs of remote data loggers. But not every apiary needs a scale hive, nor every scale hive need be in an apiary. Plentiful, low cost hardware, vast amounts of quality, open source software, ease of programming and remote administration all lead to rapid development and prototyping and suggest using PC technology, at least as a proof of concept development platform.

The two DMMs used for temperature measurements can be seen on the left side of the box. To the right of the box is the scale that gets placed on top of the computer mother board.

Cisco Linksys WRT160NL wireless router

Cisco Linksys WRT160NL wireless router

The Cisco Linksys WRT160NL wireless router contains a 260mhz mips processor, 8 meg of flash, 32 meg of ram, wifi and USB 2.0. The Linux-based open source Wireless-N Broadband Router with Storage Link was created specially for hobbyists and wireless aficionados. The external antennas give users the option of attaching high-gain antennas to improve the wireless range and receive sensitivity of the router. Advantages include low cost, small size, battery operation.

Sensors

When monitoring a hive, the most important variable is weight. While it doesn't tell everything, and can fool you, it does a pretty good job of showing bee activity: foraging, orientation flight, nectar and pollen flows.
Other sensors, such as outside temperature, help explain the weight data. Why did they forage yesterday and not today?
The answer may be in the temperature data - because it never got above 50 today.
Inside hive temperature can also provide another piece of the puzzle.
Finally, when trying to figure out some mystery weight curves, a bee counter is essential.

Scales

For hives with solid bottom boards, the scale can be installed in a telescoping wooden box. If screened bottom boards are used, the load cells can be removed and installed in one of these Frame Designs.

First see a word about scales. Also see Tips: Scale Communication for troubleshooting.

Three scales are currently in use or are being evaluated

  1. Adam Equipment CPWplus200
  2. My Weigh HD300
  3. Ohaus Defender 3000 with D60 Base


Adam Equipment CPWplus200

Adam Equipment CPWplus200

The CPWplus200, made by Adam Equipment, has a 440 lb. capacity, 0.1 lb resolution and a RS-232 communication port. The platform size is 12"x12". The scale will run off batteries or an AC power transformer and will automatically switch to battery if the power fails. It is available from American Weigh Scales for $161.25. This scale has proven to be very stable both in long term drift or changes due to operating temperature. Note that the CPWplus200 requires a null modem serial cable to communicate with a computer.

My Weigh HD300

My Weigh HD300

The My Weigh HD300 is available from Canadian Weigh.

There is a problem switching over to battery when AC voltage fails.

warning There is a problem switching over to battery when AC voltage fails.


Ohaus

Ohaus

This Ohaus scale has .02 lb resolution. It is typical of a scale that might be found in a high school or college lab.

Do It Yourself

3135_0 - Micro Load Cell (0-50kg) - CZL635
Phidgets PhidgetBridge 4 Wheatstone bridge inputs

Inexpensive load cells similar to the ones used in the Adam Equipment CPWplus200 are available. The signal from the load cells must be amplified and converted to a digital signal using something like the Phidgets PhidgetBridge 4 Wheatstone bridge inputs.


The PhidgetBridge uses:

  1. AD7193: 4-Channel, 4.8 kHz, Ultralow Noise, 24-Bit Sigma-Delta ADC
  2. CY7C64215: enCoRe™ III Full-Speed USB Controller

VBA/Phidget Based scale frame development


PmodAD5

The PmodAD5 from Digilent for $34.99 is only the AD7193 mounted on a board with some RC filters. The SPI interface must be used for communication.

HX711

The HX711 board] only contains the weight ADC chip. It requires an SPI interface or SPI/USB bridge. It is available for $4.80 from Elecrow or $4.90 from imall or from ebay

iMall suggests that their General Interface Module will work with the Weight Sensor Module



HX711

Yet another HX711 board for $6.99 on Ebay

Interface the HX711 to Pi

Frameless Scale

$50 Scale Project

An early goal was a $50 scale.

Three possible candidates are:

  1. Cirrus CS5550
  2. Analog Devices AD7193
  3. Avia Semiconductor HX711


A design (schematic and PCB layout), based on the Cirrus Logic CS5550 is available for review.


The CS5550 is a "2-Channel, Low-Cost A/D Converter for Electronic Weigh-Scale Applications". It has a 24 bit ADC, special noise filters, gain blocks intended for load cell inputs, and a Serial Peripheral Interface (SPI). A MCP2210 is used to convert the SPI signals to USB.

The Microchip MCP2210 is USB-to-SPI Master converter, In addition, it has 9 General Purpose Input Output (GPIO) pins.

The CS5550 requires a reference voltage. This prototype board allows three different ways to generate the reference voltage:

  1. simple resistor divider.
  2. Zener diode
  3. SO-8 package three terminal precision low noise voltage regulator such as the MAX6167 or MAX6126

A MAX6167 precision, low-dropout, micropower voltage references that "feature a proprietary curvature-correction circuit and laser-trimmed thin-film resistors that result in a very low temperature coefficient of 5ppm/°C (max) and an initial accuracy of ±2mV (max)."

The MAX6126 is an ultra-low-noise, high-precision, low-dropout voltage reference with "3ppm/°C (max) temperature coefficients and an excellent ±0.02% (max) initial accuracy. The proprietary low-noise reference architecture produces a low flicker noise of 1.3µVP-P and wideband noise as low as 60nV/√Hz (2.048V output)".


Thermometers

Digital thermometers are used to record ambient and hive temperature. Different types of digital thermometers have been used:

  1. USB
  2. 1-Wire
  3. Digital Multi-Meters
  4. Vernier Corp's Universal Laboratory Interface (ULI)

USB

These USB thermometers are made by RDing and sold by PCSensor.com. The TEMPerHUM is both a thermometer and hygrometer.

1-Wire

1-Wire sensors are particularly well suited for placing many sensors in a hive or measuring many hives. Each 1-wire sensor is uniquely numbered with a 64 bit number. MicroLans of up to 1000 sensors are easily wired together. See Guidelines for Reliable Long Line 1-Wire Networks The sensors are ususally wired with a RJ-11 or mini stereo audio connector. A bus controller is required. Due to timing differences in different manufacturer's chips, a separate MicroLan (controller) should be used for each manufacturer.

Maxim makes the DS1882 (+/- 1 degree C) and the DS18B20 (+/- .5 degree C)

Introduction to 1-Wire

  1. A LAYMAN’S OVERVIEW OF 1-WIRE TECHNOLOGY AND ITS USE Discusses sensors and circuits for a weather station.
  2. Maxim: Overview of 1-Wire Technology and Its Use
  3. midon design: 1-Wire Application Guide v1.03 A good guide to a 1-Wire Weather Station

More Information

Untested Devices

  • DTH-1010 Only $2.95 but needs to be tested. Advertised as 1-Wire but I don't think it is (probably analog).


Digital Multi-Meters

TP4000Z Multi Meter

The TP4000Z is an inexpensive ($29.99) Digital Multi-Meters (DMM) with a temperature probe and RS-232 output. There are two "gotchas" that must be overcome: a 15 minute timeout that turns the meter off to save batteries, and no provision for an external AC power supply. The accuracy of the temperature readings (+/- 3 degrees C) leaves a lot to be desired.

Universal Lab Interface

[[|thumb|right|x300px|TP4000Z Multi Meter]] The Universal Lab Interface (ULI) was sold by Vernier Software and Technology for use in high school and college science labs. These are available new and used on e-bay for $25 to $170. The ULI is a 12 channel 12 bit analog to digital converter. It accepts up to four analog sensors. A wide variety sensors of sensors are still available from Vernier.

Hygrometers

Digital hygrometers are used to record hive humidity. One hygrometer is currently in use or is being evaluated: 1. TEMPerHUM USB stick

  The TEMPerHUM

More information and untested devices:


Raingauge

http://www.rainmanweather.com/site/products/RAINEW-111-Wired-Rain-Gauge

According to the manufacturer, this 8" diameter collector meets NWS specifications for statistical accuracy.

Any tipping bucket type rain gauge should work.

caption


Microphone

Photocell

Cameras

Counters

An inexpensive bee counter is under development. The earliest reference to a bee counter that could be found is an article by G. A. Cozens in Everyday Electronics May, 1972. Another early reference summarizing work done by G.A. Buckley, L.G. Davies and D.T. Spindley is found in the Proceedings of the British Pharmacological Society, 13th-15th September, 1978. Patent Number 6,910,941 Bromenshenk et al. assigned to University of Montana More

Additional Sensors

Vernier Corporation's Sensors

Parts (DIY)

Adafruit Phidgets

Protection

The sensors that are placed in the hive need to be protected from propolis and wax. Figure 1 shows a TEMPerHUM laced inside a hair roller. Figure 2 shows a sensor installed in a mortise in a frame top bar.




Power Supplies

POE Block Diagram

Two power supplies have been developed:

  1. Power over Etherent (POE)
  2. Solar

Power Over Ethernet (POE)

  • +Less expensive
  • +Reliable
  • -100 Meter range
  • -CAT5 cable must be run inside to router
  • -More lightning damage.

POE consists of a 48 VDC power supply and combiner in the house, and a splitter and 12 VDC power supply in the hive. See the Manual: Model A for details.

Lightning Protection

  1. Protection at the router: Belkin Travel Surge Protector
  2. Protection in the hive (requires ground rod): Ethernet Surge Protector

Solar Power

Solar/Wi-Fi
  • -Solar Panel and battery are more expensive
  • +No need to bury cable or drill holes.
  • +Less lightning damage

Solar/Wi-Fi uses a solar panel, charger and battery. Read more about the Solar Design

WiFi Adapters

Wi-Fi Adapters

Etekcity USB WiFi Adapter

The EtekCity model 8191SU containing the Realtek RTL8191SU chipset has been used with success within Raspberry Hive. The 9191SU is connected to the Raspberry Pi Model B USB port and has a SMA extension cable that connects to the antenna.

USB Hubs

Warning: Don't use these cheap hubs!

Enclosures

Footnotes

<references/>