Arduino – Datalogger With Temperature Sensor and Photoresistor




Introduction: Arduino – Datalogger With Temperature Sensor and Photoresistor

About: Author, Blogger, Electronics Enthusiast and Entrepreneur. For complete Electronics Projects and Tutorials go to:

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

I’ll be using a photoresistor and a temperature sensor and all the information will be stored in a micro SD card.
The idea is that you can apply this to any sensor you desire!

Watch the Video below:

Step 1: 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

Step 2: Schematics

Simply follow the schematics.

Step 3: Upload This Arduino Code

Step 4: Final Step...

It's done, now you can modify my code and monitor any sensor you want!
If you didn't watch the youtube video yet, make sure you watch now.
Not only to see the video demonstration, but you can also find more information that might help you finish this Instructable.

Did you enjoyed this project?
Please support my work by sharing this project with a friend!

Make sure you follow me on instructables so you don't miss my next project!

Have a problem?
Leave a comment below and I'll help you :)

P.S. Click here to see my blog where I post weekly Projects and Electronics Tips!

Be the First to Share


    • Make It Modular: Student Design Challenge

      Make It Modular: Student Design Challenge
    • Digital Fabrication Student Design Challenge

      Digital Fabrication Student Design Challenge
    • Hot Glue Speed Challenge

      Hot Glue Speed Challenge



    5 years ago

    Hello. How many sensors can be connected to the Arduino Ethernet shield simultaneously? How many sensors can log data simultaneously on the SD card? Thank You.


    5 years ago

    Is there any Non volatile memory on the arduino itself that could be used for minimal storage? without the ehternet shield


    Reply 5 years ago

    Yes. There is a small amount of on-chip flash memory available on the Arduino. Be advised that there are limitations. Check out Arduino Playground - Memory tutorial. Best Wishes.


    6 years ago

    Since I'm using this for a science project, I'm just wondering what code language it's written in?

    jose pablos
    jose pablos

    7 years ago on Introduction

    hi, i have question/need help with something... i am exactly at this same step on the arduino road... now i can read/write logs on the microsd, but... i was wondering on how can i append datetime to the log... i do not hace an RTC module, so i was thinking on some different way... apreciate your help and guidance....


    7 years ago on Introduction

    I have one question:

    I attach SD card on ethernet shield, and i tested it, and card read/write propertly, but i no view SD card on "My computer", and i want to acess to file on "My computer".

    its on fat16 filesystem, everything its ok, but i can't see SD card on "My computer"

    How to solve that?