Introduction: 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.

https://github.com/adafruit/RTClib

The Code attached .

Step 3: Preparing Battery Holder

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...

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.

Comments

author
korne1 made it! (author)2017-04-02

Thanks for great project.

IMG_20170402_203953.jpg
author
Pandwe (author)2017-01-24

Hi. I would like to make one for rapid quenching of steel (900 deg C to 70 deg C within 60S). I need one withthe shortest possible time interval between readings, say less than 1 second. Any ideas? Rgds, PJ.

author
farmerkeith (author)Pandwe2017-01-25

Hi Pandwe,

I just came across your question while browsing around some instructables.

I think making a logger to write data more rapidly is fairly easy, although you might need to do some extra programming to make the file access process efficient.

The bigger challenge for you I think will be the temperature sensor. If you want to go up to 900C, I guess you will need a non-contact sensor. For example the MLX90614 is a non-contact IR temperature sensor, but its data sheet says it goes to 380 C, which is way lower than 900C.

Do you have a specific temperature sensor in mind?

What logging interval are you really aiming for? Presumably the logging only has to be done for a short period of time, while the quenching operation is happening?

Keith

author
Azrizahri (author)2016-07-15

Hi, I've encountered a problem where it says RTC is not running, I've done exactly as per your instructions and I've also checked my Tiny RTC to see if there is anything wrong with the connections and whatsoever but everything is fine. Can you help me?

author
Azrizahri (author)Azrizahri2016-07-17

Found the solution, it's because of the uncommented lines for the RTC.

author
PeterM120 (author)2016-05-12

Can someone give me some basic guidance please?

author
PeterM120 (author)2016-05-10

Thanks for an interesting project. I have made it, but I do not understand which files to use and how to get the hex file to program it. I am no expert on programming !

author
arumpsp (author)2016-04-26

Finally I could make a logger for my SDS011 dust sensor. Still got some trouble with the RTC setting though, but thanks for sharing!

author
KQL (author)2016-03-08

If you are looking for a complete system for manufacturing process please visit:

http://microaccurate.com/

author
byç2 (author)2016-02-10

how can i do this project without data logger, please help ??

author
Fmendes86 (author)2015-12-21

Hi Husham, great project.

How long the battery takes to discharge using your system?

author
Husham Samir (author)Fmendes862015-12-22

Hi,

Well in the the first attempt ,it took about 22 hours ,2nd attempt 16 hours and 3rd attempt 12 hours only ,So every time I charged the batteries the performance getting worst, so after searching in the web I found that there is under voltage limitation if I cross it ,it will damage these type of batteries ,and that's the reason why when you dismantle a laptop battery you will find battery controller circuit inside to disconnect the batteries in over voltage,under voltage and overheating .

author
TiagoC7 (author)2015-06-30

Very nice! I was looking for something just like that for my project.

I'll send you the modifications that I'll have to make so it applies to my system.

author
aditya.sarin.92 (author)2015-04-30

please help me to acquire a single sensor output from one analog pin, to store it in sd card with rtc module using arduino

i am not able to design the code please help me

author
Timofte Andrei (author)2015-01-24

https://www.instructables.com/id/Arduino-Temperature-and-Humidity-logger-with-DHT11/ I've also made an instructables for the modified project!

author
j3tstream (author)2015-01-22

great project! what about the power consuption, ? cause the back light take a lot of energie

author
Husham Samir (author)j3tstream2015-01-23

Thanks ,yes back-light take a lot of energy that's why I connect it to hall effect sensor ,so I will turn the LED on only when I want to read the value and turn it off again.

author
Timofte Andrei made it! (author)2015-01-17

I've made some modifications to your sketch to use it with i2c lcd and dht11 sensor and it works pretty good!

https://www.youtube.com/watch?v=84qdtLBx3nk

2015-01-17 17.29.30.jpg
author

That's awesome ,keep up the good work.

author
atlaslin (author)2014-07-09

Great job!

Do you know how to use laptop to read the data file from the SD card by bluetooth module?

author
Husham Samir (author)atlaslin2014-07-10

Hi

No ,I didn't try that before.

author
audreyobscura (author)2014-05-05

Great Job!

author

Thanks.

About This Instructable

52,557views

119favorites

License:

Bio: Electrical Engineer
More by Husham Samir:Using MikroTik Router Board 433 & Arduino To Control Two LEDsArduino Keypad Door LockTemperature Data Logger
Add instructable to: