Difference between revisions of "Beehive Monitor"
From Makers Local 256
(→Artik053 to ADS1234: adding code design notes) |
(→Methods \ Functions: updating design) |
||
Line 35: | Line 35: | ||
== Code Design == | == Code Design == | ||
=== Methods \ Functions === | === Methods \ Functions === | ||
− | * | + | * EnterPowerDownMode |
− | ** Description: This method will set the Artik pin tied to | + | ** 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 |
[[Category:Bees]] <!--MAKE AS MANY CATEGORIES AS YOU NEED--> | [[Category:Bees]] <!--MAKE AS MANY CATEGORIES AS YOU NEED--> |
Revision as of 19:39, 23 September 2018
Creator: |
Contents
[hide]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
Artik053 to ADS1234
- 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-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
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