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
Step 1: You Will Need
[gdl_gallery title=”arduino temperature logger” width=”300″ height=”300″ galid=”3146″ ]
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.
Step 2: Circuit Diagram and Sketch
[gdl_gallery title=”Step 2: Circuit Diagram and Sketch” width=”300″ height=”300″ galid=”3149″ ]
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.
The Code attached .
[sam id=”2″ codes=”true”]
Step 3: Preparing Battery Holder[gdl_gallery title=”
Step 3: Preparing Battery Holder
” width=”300″ height=”300″ galid=”1″ ]
follow the pictures to make battery holder.
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.
Step 5: Graph Results
Open the file in Excel and insert the results in the line chart to get the attached chart.