Intro: Temperature Data Logger
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
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.
Step 2: Circuit Diagram and Sketch
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.
The Code attached .
Step 3: Preparing Battery Holder
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 4: Putting Inside the Box
To protect the LCD I used mobile screen protector.
Step 5: Graph Results
Open the file in Excel and insert the results in the line chart to get the attached chart.