I would like to have a Sanguino or Ardiuno Mega record sensor data and keep track of the of each data point recorded for each sensor.
Ideally I would like to have the sensors split up into 2 groups with one group wirelessly connected to the Sanguino or Ardiuno Mega.
Here's the layout of the hardware I'm looking at:
Sanguino or Ardiuno Mega with the following hard wired to it
-gps sensor
-wireless xbee reciever or other wireless recieving device
-SD storage card reader/writer for storing sensor data
-tempature sensor
-3 axis accelometer
-3 axis accelometer
-time clock/counter
-other sensor
Remote Sensor network in addition to the above sensors with the following wired to it relaying the data back to the Sanguino or Ardiuno Mega
-strain gauge
-strain gauge
-3 axis accelometer
-3 axis accelometer
-ultrsonic sensor
-ultrsonic sensor
-xbee transmiter or other wireless transmition device
So I'm looking to recieve data from a total of 12 to 14 or more sensors. Would like to record the sensors every .25 to .5 seconds.
Can anyone give me some recomendations?
Will this platform handle the amount of sensors I'm looking to use?
Will the rate of recording data work?
How hard would it be to hook in a graphic display?
This needs to be completely portable and battery powered.
Any help you can throw my way would be apreciated.
Thanks
Don
My board is a '644 board and I add a RTC and a dual 12-bit DAC. I am
about to add a uSD card for storage (this will be an NB2AS). I also
have a Li-ion charger prototyped.
Here is how I would interface the devices --
gps sensor
IIRC these are SPI. No problem.
wireless XBee receiver or other wireless receiving device
The '644 has two UARTs so using one for an XBee is trivial
SD storage card reader/writer for storing sensor data
The uSD is an SPI device. I am adding one of these to
the NB2A. The new board will be an NB2AS
temperature sensor
Many options. If you have enough ADC channels I would probably
do this as an Analog output. If not I would do I2C or SPI.
3 axis accelerometer (2)
I would do this with I2C.
time clock/counter
DS1307. Battery backup. Two alarms. This is the
device I use on my NB2A and NB2AS.
other sensor
Analog? Digital? Hard to say what the best choice
is.
Remote Sensor network in addition to the above sensors with the
following wired to it relaying the data back to the Sanguino or
Arduino Mega
strain gauge (2)
3 axis accelerometer (2)
XBee transmitter or other wireless transmission device
I also have a board that integrates an XBee and a '168/'328.
See http://wiblocks.luciani.org/ZB1/index.html
I am guessing the strain gauge would be analog output,
the accelerometer could be I2C. These would be easy to
do with a '168/'328. It would save you some money.
Will this platform handle the amount of sensors I'm looking to use?
Will the rate of recording data work?
The I2C port has a databit rate of 400KHz. The SPI port
has a maximum clock of half the crystal rate (6MHz for my
boards). The ADC on the '644 is 8 channels and has a
conversion rate of 15KSPS at maximum resolution.
The unknowns are settling times or averaging that would
be required for the various sensors.
How hard would it be to hook in a graphic display?
I have been using OLED that connect to a UART. Incredible
displays with a price to match These would make excellent
displays for plotting sensor data. The '644 has two UARTs
so the OLED and a radio are possible. I would put a switch
or a MUX on the UART to switch it between the USB port
and the OLED. That is what I did on a wearable gadget
I designed. See http://wiblocks.luciani.org/custom/locast/index.html
This needs to be completely portable and battery powered.
John, I like the sound of your NB2AS board configuration.
When do you think I might be able to get one with the storage card reader/ writer on it with Li-ion charger ?
I also currently have 3 Xbee XB24-ACI-001 modules
The other sensor has I2c that I did not describe above.
have been using OLED that connect to a UART. Incredible
displays with a price to match These would make excellent
displays for plotting sensor data. The '644 has two UARTs
so the OLED and a radio are possible. I would put a switch
or a MUX on the UART to switch it between the USB port
and the OLED. That is what I did on a wearable gadget
I designed. See http://wiblocks.luciani.org/custom/locast/index.html
How may things can you send to the display at one time?
Could I report all of the senors at the same time?
What type of graphics could I output to the display?
What would the switch and display cost? you can email me directly.
How big is the LI-ION battery you are thinking of ?
Thanks for helping me out with this adventure.
Don A
I am going out for a prototype PCB for the NB2AS this week. The NB2A
(no uSD card) prototype works. I do not expect any issues.
The prototype of the Li-ion charger is on my bench. Since I used this
circuit a few times I do not expect any issues. I just need to verify
the connectors align and everything fits together.
The answer to your question is within two weeks for prototypes.
If this is acceptable please send me an email and we can work out
the details.
The displays are made by 4D Systems --- http://www.4dsystems.com.au/
Each display has a graphics co-processor. There are serial
commands to draw point, draw line, draw circle, draw triangle,
draw rectangle, draw text. There is a uSD slot on the display that
be used to display JPEGs and movies.
The 320x240 OLED in shown in the pictures at http://wiblocks.luciani.org/custom/locast/index.html
The 320x240 display in the pictures is in the $170 range.
A 160x120 display is around $70. The prices may have dropped
since I bought these last year.
You would have to work through the various operating and
sleep mode currents for this. I am not sure. The flat batteries
I use are available in a wide variety of sizes. The 1100mAh
batteries are around $10.