Automatic Light Switch
I made an automatic light switch that will automatically turn the light on when the surrounding environment is dark and turn the light off when the surrounding environment is bright. I used a photo-resistor as the analog input and a LED light as the digital output.
Video: https://drive.google.com/file/d/0Bxu-j9eOkv5XamtLOGY1eXAwbE0/view?usp=sharing