Random Nerd Tutorials

Arduino – Datalogger with Temperature Sensor and Photoresistor


In this project I’m going to create a simple Datalogger with my Arduino and an Ethernet shield.

With this concept you can change my code and monitor any sensor you desire.

I’ll be using a photoresistor and a temperature sensor and all the information will be stored in a micro SD card.

Watch the video below for a complete tutorial

Note: I apologize for my voice. I’m a bit sick so my voice sounded a bit different than usual.

Parts Required

  • 1x Arduino Uno
  • 1x Ethernet Shield
  • 1x Micro SD Card
  • 1x Temperature Sensor (I’m using the LM335Z)
  • 1x Photoresistor
  • 1x 1k ohm Resistor
  • 1x 4700 ohm Resistor
  • 1x Breadboard (or  two)
  • Jumper Cables




Upload the code below

I hope this tutorial can help you with your projects!

Support my work by sharing this video with a friend that also likes electronics.

News: I’m currently working on a project that I’m really excited about. I won’t tell exactly what It is. But I’ll share with you in a few weeks as soon as It’s finished. So stay tuned for more.

Thanks for reading, you can contact me by leaving a comment. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.

Recommended Resources

Home Automation using ESP8266 »
Build IoT projects and home automation gadgets with the ESP8266 Wi-Fi module.

Build a Home Automation System »
Learn how to build a automation system using open-source hardware and software from scratch.

Arduino Step-by-Step Projects »
Build 25 cool Arduino projects with our couse even with no prior experience!

Leave a Comment:

Add Your Reply

⏰ Early Black Friday 2017 Special ⏰
Download all our courses up to 35% off