Temperature Data Logger

by Husham Samir in Circuits > Arduino

70973 Views, 132 Favorites, 0 Comments

Temperature Data Logger

main.JPG

A temperature data logger, is a portable measurement device that is able to recording temperature over a defined period of time automatically. The data can be retrieved and viewed after it has been recorded.

in this device the temperature will record every one minutes in CSV file.

You Will Need

Parts.JPG
IMG_1579.JPG

1- Arduino Nano.

2- SD card Module.

3- SD Card.

4- RTC Module DS1307 (provide date and timekeeping) .

5- LCD 16*2.

6- LM35 temperature Sensor.

7- AH44E hall effect sensor (Qty=2).

8- 2* 3.7 Volt Lithium Ion Battery (I get it from used laptop battery).

9- Breadboard or PCB and wires.

10- PVC Electric Pipe and Box.

11-Female & male DC Power Connector.

Circuit Diagram and Sketch

Templogger_bb.png
AH44E Reset.png
AH44E1 withLCD.png

Connect the circuit as shown in the picture and make sure that the SD and RTC library working probably.

I suggest you to not connect the battery till you finish all the test ,so instead of that use the power of USB port .

Remember the battery will provide the circuit with 7.4 volt (3.7 *2) ,so it should be connected to Vin pin in arduino and arduino module will provide 5 volt to other module.

the other pictures showing how to connect linear hall effect sensor ,it work like a switch but instead of pushing a button the output of the sensor will ramp up to the source 5v when the north side of a magnet approaches the face of the sensor and it will drop to ground when south pole of a magnet approaches the face of the sensor.

I connect two sensors ,one to reset arduino and the other one for LCD back-light.

___________________________________________________________________________________________

Note that you can download the RTC library from below link and you can set the clock using library example.

https://github.com/adafruit/RTClib

The Code attached .

Downloads

Preparing Battery Holder

IMG_1581.JPG
IMG_1582.JPG
IMG_1583.JPG
IMG_1584.JPG
IMG_1640.JPG
IMG_1776.JPG
IMG_1773.JPG

follow the pictures to make battery holder.

ATTENTION!!! >>>

Lithium-Ion batteries are extremely dangerous and short circuit may cause fire ,so be careful when dealing with these batteries and I suggest to connect protection fuse or protection circuit .

Please Read Safety Hazards of Batteries before start this step.

http://www.nrel.gov/education/pdfs/lithium-ion_bat...

Putting Inside the Box

IMG_1637.JPG
Screen protector.jpg
IMG_1660.JPG
IMG_1778.JPG
IMG_1777.JPG
IMG_1671.JPG

To protect the LCD I used mobile screen protector.

Graph Results

Graph.png

Open the file in Excel and insert the results in the line chart to get the attached chart.