How to make magic light LED-RGB with Arduino | Tinkercad | Liono Maker

Опубликовано: 08 Октябрь 2024
на канале: Liono Maker Official
172
7

hi, this is Liono Maker.
In this tutorial we will build a circuit (named magic light) in Tinkercad with Arduino UNO and LED RGB.
The LED RGB sequence or pattern is started with a short press of the mini pushbutton switch. Within the sketch is a counter that plays the pattern for a
set number of times (in this case, three times). The replay number can easily be changed by replacing the counter’s value of 3 to a different number.


When you briefly press the mini pushbutton switch, the RGB cycles its color sequence three times before turning off. A “for” loop is behind the magic.
Here’s the Arduino sketch code:

for (n = 0; n ( is less than) 3; n++) ;
/*----------------------------------------------------------------------------------
TinlerCAD Simulations:
How to make Switch Sensing Servo Motor
   • How to make Switch Sensing Servo Moto...  
How to make Sunset_Sunrise light switch sensor
   • How to make Sunset_Sunrise light swit...  
Top 3 Arduino Based Electronics Meters in Tinkercad
   • Top 3 Arduino Based Electronics Meter...  
Top 6 Basic Arduino Projects in Tinkercad
   • Top 6 Basic Arduino Projects in Tinke...  
------------------------------------------------------------------------------------*/

Instructable Page:
https://www.instructables.com/member/...

Facebook Page:
https://www.facebook.com/LionoMaker/?...

/**************************************************************
Thanks for Watching,
For more interesting videos Like and Subscribe
************************************************************/
#LEDRGB #magiclightWithArduino #LionoMaker