| List
of wireless commands available to the user |
| mobile_1 |
allows user to enter database of
mobile unit |
| stat_1 |
allows user to enter database of
stationary unit |
| log2me |
online unit responds by
streaming current sensor data |
| stopLog |
stop direct streaming of sensor
data |
| ls |
online unit supplies list of
files from sd card |
| read filename |
calls a file to read |
| delete filename |
calls a file to delete |
| write filename |
doesn't work properly but would
be cool if it did |
| sample 'time_in_ms' | only on stationary. live stream log sample rate can be changed by writing time in milliseconds. example: "sample 1000" will give us a 1 second sample rate. this is a live feature.card write sample rate must be changed by hard programming |
| q |
to exit any process at any time
press q.... except during a fileread (always room to improve) |
| sensors click name for details |
used
on said devices |
hardware connections Atmega1280 (arduino mega) |
libraries
& infos |
| color
light sensor - Avago ADJD |
both |
I2C connection to SCL and SDA pins | No
libraries used view source |
| GPS bee |
mobile |
uart serial
port 1 |
lib:TinyGPS resource:arduiniana |
| accelerometer
mma7260q |
mobile |
x = analog
pin 1 y = analog pin 2 z = analog pin 3 |
no libraries used useful infos |
| barometric
pressure sensor & temperature (inside box) |
both |
I2C connection to SCL and
SDA pins
|
|
| Sensirion humidity sensor bmp085 & temperature (outside box) |
both |
I2C connections to SCL and SDA
pins
|
lib:Sensirion see resource |
| Wind speed |
stationary |
analog pin 5 |
No
libraries used view source pdf |
| Wind
direction |
stationary |
digital pin 2 |
No
libraries used view source pdf |
| Air quality |
stationary |
analog pin 2 |
No
libraries used easy infos |
| Photocell for light intensity |
both |
analog pin 0 |
----- |
| other devices click name for details |
used on said devices |
hardware connections Atmega1280(arduino mega) |
libraries & infos |
| Xbee Pro
900 |
both |
uart serial
port 2 see x-ctu site for required software |
no
libraries used |
| SD card ejector |
both |
SPI interface |
lib:Fat16
view sources
|
| real time clock module |
stationary (mobile uses gps unit for time retrieval) |
I2C connections to SCL and SDA pins |
Time.h DS1307RTC.h |
| 7-segment
display programmed atmega328 on-board |
mobile |
3 simple connections: 5vdc,
ground, serial TX of display goes to RX uart serial port 3 of arduino
mega |
No
libraries view sources
|
| Minty
Boost adafruit power device |
both |
Power
step-up device creates 5 volts from 3.7 vdc battery supply |
view
adafruit source |
| LED indicators |
device |
signification |
|
| orange |
both |
write to card |
|
| green |
both |
feeding GPS device note: initial pings are sent at fast rate. if green led is lit but doesn't seem to have behavior then it's probably flickering too fast to see change |
|
| red |
both |
lines transfered between devices |
|
| 2nd green for xbee by itself to the side |
both |
Xbee is go for radio
transmissions note: flickering too fast to see. if it's green that's good. if nothing that's bad. check connections |
|
| Additional
LED Notes: |
stationary unit: if all
LEDs are flickering like crazy that means there's something wrong with
the sd card. check the card and connections. On both units the general behavior uses a toggle method: e.g. light goes on when the action happens. light goes off when next action happens, and so on. |
| additional
libraries |
| crc16.h |
| TimerOne.h |
| TimerThree.h |