This instructable will explain you how to use a LED as sensor,creating it on a breadboard,making a shield for arduino, how to get a reading from our LED sensor and how to change the sensitivity of our sensor.
This is my first instructable, any suggestions,corrections or comments are welcome.
This instructable is a entry in the arduino contest so if you like it please vote.
A short video of the sensor in sensitive to dark mode:
Remove these ads by
Signing UpStep 1: Why Arduino?
~ Inexpensive - Arduino boards are relatively inexpensive compared to other microcontroller platforms. The least expensive version of the Arduino module can be assembled by hand, and even the pre-assembled Arduino modules cost less than $50
~ Cross-platform - The Arduino software runs on Windows, Macintosh OSX, and Linux operating systems. Most microcontroller systems are limited to Windows.
Simple, clear programming environment - The Arduino programming environment is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well. For teachers, it's conveniently based on the Processing programming environment, so students learning to program in that environment will be familiar with the look and feel of Arduino
~ Open source and extensible software- The Arduino software and is published as open source tools, available for extension by experienced programmers. The language can be expanded through C++ libraries, and people wanting to understand the technical details can make the leap from Arduino to the AVR C programming language on which it's based. SImilarly, you can add AVR-C code directly into your Arduino programs if you want to.
~ Open source and extensible hardware - The Arduino is based on Atmel's ATMEGA8 and ATMEGA168 microcontrollers. The plans for the modules are published under a Creative Commons license, so experienced circuit designers can make their own version of the module, extending it and improving it. Even relatively inexperienced users can build the breadboard version of the module in order to understand how it works and save money.
(Taken From Official Website Of Arduino)














































Visit Our Store »
Go Pro Today »




(I'm new at this, and I thought your Instructable was really cool and decided to give it a try.)
that was actually a big discovery, i never heard of it before.
Ã
This then allowed the microcontroller driving the LEDs for the whole display to adjust the brightness of the display according to the light level in the room, as the current fed to the display was under the microcontroller's supervision.
Now that's a cool trick! Two uses for the same LED. I'm sure similar things can be done on Arduiono/ATMEGA/PIC, as long as you can reprogram an I/O pin from a driven OUTPUT to an analogue INPUT.