I want to create a temperature logging circuit which will store its temp. readings every minute.
I would like a detailed reply plz.
I would like a detailed reply plz.
What have you tried? What SD shield do you have? What temperature sensor? What clock?
InduinoX:
I want to create a temperature logging circuit which will store its temp. readings every minute.
I would like a detailed reply plz.
Tutorial: Data-Logger Shield for Arduino
The Adafruit folks seem to have a great new shield containing a SD reader/writer/logger and a built in real time clock, all assembled for just $20. Seems to have tested library support, hard to see a better solution for the price, I may have to pick one up myself.
@John and Lefty. That does look like a nice unit, but it appears to be incompatible with the Mega, and that is what I use. There is no ICSP socket to connect the SPI data lines.
This is from that page.
Works with Arduino UNO, Duemilanove, Diecimila, Leonardo or ADK/Mega R3 or higher. ADK/Mega R2 or lower are not supported.
I'm not sure how it can be Leonardo and Mega compatible without the ICSP connector. Maybe you need jumpers to digital pins 50-52 or the ICSP connector?
SurferTim:
I'm not sure how it can be Leonardo and Mega compatible without the ICSP connector. Maybe you need jumpers to digital pins 50-52 or the ICSP connector?
On the Mega you use "Soft SPI" on pins 10-13.
http://forums.adafruit.com/viewtopic.php?f=31&t=24867
Thanks John. So I guess what they mean is:
If you use the Adafruit SD library with the Mega and Leonardo, it will work.
If you use the standard Arduino SD library with them, it will fail.
I will believe it, but wouldn't buy it.
SdFat has a soft SPI mode and I wrote soft I2C libraries so the AdaFruit Shield can be used on Mega, Leonardo, and 328 Arduinos.
Here is an example sketch and the libraries - AdafruitLogger20121219.zip Google Code Archive - Long-term storage for Google Code Project Hosting..
The previous version plus this version of the sketch and libraries have been downloaded over 1000 times.