The original SDuino was indeed “just a small Arduino with LEDs”. I have tried several things such as “Tiny Basic Plus” and they are working as expected. This time I added one spice, that is, I2C atmospheric sensor in SDuino!
The atmospheric sensor is well-known MPL115A2 made by Freescale, and also lots of Arduino library and sketches are already well developed. The good point of this sensor is, quite small size, and well accommodated inside SD card shell, as attached in the picture.
With such a sensor, I always love to “watch sensored digits and graph” but putting outernal big screen is non-sense! So this time I implement to show the sensored value, actually not simple sensored value, to be presented by LEDs!
In this sketch, Forthcoming climate is predicted by the delivative of pressure value of last 2 hours. Every two hours, SDuino_sensor will sense pressure and taking delivative of current and previous values. First forecast will be shown 2 hours after power supplied.
Result will be shown as:
(1) Getting worse (meaning fine to cloudy, cloudy to rain) by RED LED
(2) Moderate (meaning no change) by GREEN LED
(3) Better (rain to cloudy, cloudy to fine) by BLUE LED
(4) No data (first 2 hours since power-on, or some parts broken) by WHITE LED
In order to see climate change, just applying DC voltage (3.3V) is enough and no need of internet access at all!! This small SD card will predict climate change and just inserting to SD card slot will show you whether you will need umbrella or even hurricane approach! Have fun!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.