Hi,
This is my first Topic in this community Today i wanna explain some thing about Light Emitting Diodes (LEDs)
Theory:
A Light emitting diode (LED) is essentially a pn junction diode. When carriers are
injected across a forward-biased junction, it emits incoherent light. Most of the
commercial LEDs are realized using a highly doped n and a p Junction.
=>Generally LED is simple , but if we add just Arduino Uno3
without any electronic component we can use it for security for example when it’s detect light in dark , turn on alarm i was use it in school
in my cell
… anyway we can use this idea in much. it will work like Ultrasonic send waves and if a object in domain waves, will turn on alarm
But the problem, we know LEDs
just output Light not input Light by diode.
The Actual Idea we will write a code make for us LED output light and input light in same time then logs changes in Serial Monitor
Tools :
- 2 LED // LED1 Receive Light (input) and LED2 (Output)
- Arduino Uno3
- Arduino IDE
- and your mind, because i will not be explain some parts.
Source code :
https://gist.github.com/vbhs/ca95c36d05b892e1ef97395034b264f8
This is a Video maybe will explain what i mean
https://www.youtube.com/watch?v=vKrIbuOQlFI
great thanks to all member community