Arduino is an open-source physical computing platform designed to make experimenting with electronics more fun and intuitive. Arduino has its 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.
Table of Contents
Prompt: Manipulate the code so that the blink can barely be seen. Post an image of the code that was changed along with the video of the working circuit. (Bonus - get the blink to gradually increase over time).
Original Circuit Code:
The LED light (Bottom left) is flickering.
Result #1 :
Edited Circuit Code:
The LED light (Top right) is flickering very fast, making it seem like a constant light.
Result #2 :
Prompt: Use a potentiometer and then write an explanation of how the potentiometer works.
How it works:
A potentiometer is a variable resistor that converts mechanical position into an analog electrical signal and is used to adjust voltage or currents.
How I used it:
I used the potentiometer to adjust the voltage flowing into my LED light by turning the knob in different directions.
Visual example
Before:
Flickering at a normal pace.
After:
Flickering at a fast pace.
Prompt: Create a circuit with a RGB LED light using the Circuit 3 code in Arduino. Change the code to change the style of the LED.
This is a RGB LED - >
BEFORE
EXAMPLE OF LINES:
mainColors: The code that makes the RGB LED flicker colors.
showRGB (int color): The code that makes the RGB LED change colors slowly.
When I first ran the code, the LED light flickered colors and then slowly starting to change colors.
You can see the lights flicker then changing colors slowly.
AFTER
To change this I deleted the mainColors code so the colors would not flicker anymore and only change colors slowly.
In this GIF you can see me highlighting and then delete the string of code that is causing my light to flicker.
As you can see, the light is no longer flicking and now only changing colors.