Arduino is an Open-source physical Computing Platform designed to make experimenting with Electronics more fun and intuitive. Arduino has it's own unique, Simplified programming language, a vast support network, and thousands of potential uses, making it the perfect platform for both beginner and advanced DIY enthusiasts.
A potentiometer(Pot for short) is a controlled knob, just like a volmue dial or a changing the brightness on something. It changes the resistance as it's turned and using it as a "voltage changer". The Arduino sense the knob's position and uses it to control whatever.
This line of code Changes the brightness on each light within the RGB. They have zones of which calculate what brightness each color should be at that moment.
The Circuit on the left has a single light going from the right to the left and repeating. The other on the right is randomize, so the light could appear anywhere and patterns.
The code above and the video in the left shows that if you press either button it will light up the LED. If you press them together, the LED will not light up but instead it turn it off.
ManuelTune
You have more control on when the LED lights up or not
AutoTune
It's easier to turn the LED on and off by just waving your hand above it.
ManuelTune
You have to be really close to it or in other words you would need to touch it and tap it.
AutoTune
You have less control of when it detects your hand so it would cause the LED to light up when you don't want to
The Temperature Sensor detects the temp to a point where the LED lights up or turns of. If it detects the temp is greater than 75 degrees but if it's less than that the LED would turn off.
This circuit combines two circuits(2 and 4) into creating this. The potentiometer controls the LEDs speed on going from left to right. The more you turn the dial the faster or slower the LEDs move.