Since my last blog post on the Stalker, I’ve been able to get an Arduino Sketch to both log temperature data and battery usage every minute on the SD-card, but also to send this information as XBee Packets in order to display them from a computer through another XBee.
Here is below a screenshot of the data received on the XBee hooked on the computer:
Also some sample data as stored in the CSV file:
|Date||Time||Temperature (C)||Battery (V)|
In order to simplify this code quite a bit, I created two classes dedicated to battery usage and power management.
You can find the complete project on GitHub.
Don’t forget to go through the requirements section in order to properly set up your Stalker and your XBees.