- Terminus FE1.1 USB hub board: the solution to connect four USB devicesPosted 2 months ago
- Understanding the Mechanics of 3D PrintingPosted 4 months ago
- SDS011 the Air Quality SensorPosted 5 months ago
- NIXIE STYLE LED DISPLAYPosted 8 months ago
- TOTEM: learning by experimentingPosted 8 months ago
- Google Assistant Voice Controlled Switch – NodeMCU IOT ProjePosted 9 months ago
- Water Softener Salt Level MonitorPosted 9 months ago
- Sparkly Air SensorPosted 9 months ago
- Ultra sonic distance finder with live statusPosted 9 months ago
- Windows interface to have total control over lampsPosted 9 months ago
SmiLED pin
This small project is composed of a small pin hosting all the necessary components, namely, a battery, a switch, and two RGB LEDs. Once the switch is closed, LEDs turn on cyclically starting with red, and then lilac, violet, blue, green, yellow and restarting with red light again.
The question is that, how is it possible to change the color of the light without using any electronic circuits? Well, the answer is in the particular RGB LEDs used. They host a control circuit and three different colored LEDs, namely, red, green and blue. A LED (Light Emitting Diode) is a particular diode emitting visible light if polarized directly ( positive pole on the anode, negative pole on the cathode); all diodes, which are composed of a silicon and a germanium junction, if directly polarized, are able to emit light, however, the mentioned one always has a wavelength not visible by human eye.
Each of the RGB LEDs used in our project contains three junctions with a common terminal and each of them is turned on by a PWM generator. The control circuit modifies the duty cycle of the signals, offering the capability to obtain different light colors. The devices used for this project are similar to the commonly used LEDs and they just have two pins: the longer one is the positive pole and the shorter one is the negative one. They have to be powered with 3,2 V and, in this condition, they absorb 15÷20 mA. The maximum achievable luminosity (an average referred to all colors) in these conditions is about 1200 mcd. This type of LED is called RGB rainbow LED due to its ability to emit light in a various range of colors. In the market two versions of this type of LED can be found: one with a slower color transition and the other one with a faster color transition. In addition, it is possible to find them with opaque white or transparent (like glass) containers.
In our project, diodes are powered in parallel mode by a CR2032 cell battery. Between LEDs and the battery, there is just a switch allowing to turn on and off LEDs. There are no limitation resistors present because the voltage supplied from the battery is just enough to make LEDs turn on and it is very close to the suggested value in their datasheet. Limitation resistors, suggested for higher voltage like 5 V, will reduce the current flowing in the circuit and the color transition time consequently changes.