Temperature Controlled RGB LED
Temperature Controlled RGB LED
Our Topic
Temperature Control RGB
In a temperature-controlled RGB circuit, there's a special light that
can change colors. It uses a sensor to measure how hot or cold things
are. Then, a small computer called a microcontroller takes that
information and makes the light change its colour based on the
temperature. So, you can see different colours that tell you if it's hot
or cold. It's a fun way to show how the temperature changes!
Step-6: Write the code: Write the code using the blocks to set the
colour of LED as the temperature changes. Here I choose the colour
which you show in the given code but you are free to choose your
own colour. The codes for this circuit is given below:
Step-8: Experiment and iterate: Play around with the code and circuit
design to customize the colours and temperature ranges. Test different
scenarios and have fun seeing how the RGB LED reacts to
temperature changes. See the experiment below:
The simulation of Temperature controlled RGB LED
Pranav Bhardwaj