Beehive Monitor
From Makers Local 256
Creator: |
Contents
Overview
Project page for monitoring beehives
Capabilities
- Weigh the beehive
Components
- Samsung Artik Board 053: https://media.digikey.com/pdf/Data%20Sheets/Samsung%20PDFs/ARTIK_053_053s_DS_11-23-17.pdf
- A2D Chip For Bridge Sensors (ADS1234, 28 pin): http://www.ti.com/lit/ds/symlink/ads1232.pdf
Bridge to ADS1234
- Bridge1 to ADS-Pin11-AINP1
- Bridge1 to ADS-Pin18-AINP2
ADS1234 Hardware Dependencies
- Capacitor01 is 0.1uF
- Capacitor02 is 0.1uF
- ADS-Pin09-CAP to Capacitor01-Leg1
- ADS-Pin10-CAP to Capacitor01-Leg2
- ADS-Pin18-DVDD to Capacitor02-Leg1
- GND to Capacitor02-Leg2
- ADS-Pin17-AGND to GND
Artik053 to ADS1234
- REFP tied to VDD REFN tied to ground
- GAIN0 and GAIN1 on the ADS should be tied to high
- ADS-Pin01-DVDD to Artik-Pin32-DC_5V_12V
- ADS-Pin02-DGND to Artik-Pin20-GND
- ADS-Pin05-DGND to Artik-Pin20-GND
- ADS-Pin06-DGND to Artik-Pin20-GND
- ADS-Pin25-SPEED to Artin-Pin20-GND
- Purpose: Tie to low so that Speed will be 10SPS
- ADS-Pin02-DGND to Artik-Pin13-AINP3
- Purpose: Tied to GND, unused
- ADS-Pin02-DGND to Artik-Pin16-AINP4
- Purpose: Tied to GND, unused
- ADS-Pin03-CLKIN to GND
- Intent: Tie to ground to tell chip to use internal oscillator. Will this mess up using SCLK?
- ADS-Pin03-SCLK to Artik-Pin39-XGPIO28
- Intent: This will cycle the clock on the ADS to instruct it to bit shift?
- ADS-Pin07-A1 to Artik-Pin20-GND
- Intent: There will never be more than two sets of bridges to read in this design. Set to 0 so that ADS-Pin08-A0 will always select between two MUX inputs vs. four MUX Inputs.
- ADS-Pin08-A0 to Artik-Pin58-XGPIO12
- Purpose: This will select the MUX for which bridge input is being read
- ADS-Pin28-DOUT to Artik-Pin68-GPIO1
- Purpose: For the Artik board to read in the digital hi\low signals from the ADS1234
- ADS-Pin26-PDWN to Artik-Pin##-GPIO2
Code Design
Methods \ Functions
- EnterPowerDownMode
- Description: This method will set the Artik pin tied to PDWN low, and should be the last interaction with the ADS1234 pins from Artik until it is ready to read the weight of the scale again. This mode offers significant power savings over StandbyMode on the digital power side of the chip