The basic circuit:
-added a mq131 ozone sensor. Click here for more info.
-added a rolling average to smooth out the concentration graph which now shows trends rather than spikes.
-Tried using Temboo to send tweets, but after fixing the issues with the microprocessor running out of memory, I was getting errors back from Twitter.
Anyway, I'm going to try to move the twitter stuff onto the linux side of the board and then use bridge to control it from the arduino side. As per this article:
-Success...the above works for sending tweets using very little arduino side memory!
-Using cron to schedule tweet reports from the linino side of the board. The arduino code will write a file with the report details to the sd card, then using pyhon script to pick it up and send a tweet at a scheduled time.
-Enable cron on linino at startup:
Or I just found the scheduled task menu on the Yun web interface:
Add something like: 20 11,16 * * * /mnt/sda1/cronjob.sh
and then create the cronjob.sh file through ssh with something like:
/mnt/sda1/yuntwitter.py "this is a scheduled tweet test"
And remember to chmod the file to allow it to run.
The data below will only display intermittently as I work on this.
device sends twitter alerts (high/low alerts), and daily summaries.
Nitrogen dioxide sensor.
Sulfur dioxide sensor.
Add more particle size differentiators.
Solar panel to extend battery life?
-using the nano editor on a mac requires you to do this before it'll work:
-ordered a MQ131 Ozone sensor.
-I'll post the code shortly, when I get around to tidying it up.