3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino Dark Sensor

Arduino Dark Sensor
This is a simple arduino program which i wrote for my first arduino-ible. It basicly callibrates to the dark and light levels within the room and tells you its opinion. In this instructable i will show you what hardware you need and the code of which I wrote. It is relatively simple but is not just limited for  light sensing, it could use anything from themisters to a gyroscope (providing you tweak the code). If you do get stuck during the programing or testing stage I have only a limited knowledge of programing so I shall help where i can.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Hard Ware

Hard Ware
First for this project we will need:
#1x photoresister
#2x 1k resister
#2x 2 inch long wire(multistrand works well with protoshield breadboard)
#1x arduino(i used the arduino uno)
#(optional) 1x protoshield
#1x LED(any colour) (most protosheilds have one spare on anyway)
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:MadScientist101