Posts with «temperature logging» label

Logging refrigerator temperature with Arduino

What really happens when you open the refrigerator door? Sure, you know intuitively that cold air escapes, but just how much? And how fast does the food inside actually heat up? To find out, Ryan Bates came up with his own data logging setup using an Arduino Uno, a custom sensor shield, and a microSD card reader.

His device uses a photoresistor to tell when the door has been opened, as well as a DHT22 temperature/humidity sensor to log the air temperature and door status. Along with this, TMP36 sensors are placed around the fridge to get a more granular look at temperatures, including one attached to a pickle jar. 

The results seen in the video below are quite interesting, and more information on the build can be found here if you’d like to try something similar.

It Keeps on Going and… Arduino Edition

How long can you keep an Arduino circuit running on three AA batteries? With careful design, [educ8s] built a temperature sensor that lasts well over a year on a single charge of three 2250 mAH rechargeable cells (or, at least, should last that long).

Like most long-life designs, this temperature sensor spends most of its time sleeping. The design uses a DS18B20 temperature sensor and a Nokia 5110 LCD display. It also uses a photoresistor to shut off the LCD display in the dark for further power savings.

During sleep, the device only draws 260 microamps with the display on and 70 microamps with the display off. Every two minutes, the processor wakes up and reads the temperature, drawing about 12 milliamps for a very short time.

Along with the code, [educ8s] has a spreadsheet that computes the battery life based on the different measured parameters and the battery vendor’s claimed self discharge rate.

Of course, with a bigger battery pack, you could get even more service from a charge. If you need a refresher on battery selection, we covered that not long ago. Or you can check out a ridiculously complete battery comparison site if you want to improve your battery selection.


Filed under: Arduino Hacks