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.
Circuit One: Fast Blinking Light
Setup of what the Arduino Board will look like during this Circuit
The actually inside of what it is actually doing
In the orginal code, the light is blinking at one second at a time, or 1000 milliseconds. So if you change the number in the code to a smaller number the light will be blinking super quickly. I changed it from 1000 milliseconds, to 15 milliseconds or 0.015 seconds
Fast Blinking Light
Original
Light turns on for 15 milliseconds or 0.015 seconds
Light turns on for a second
Circuit Two: Potentiometer Controls the Speed of the Light
What it actually is
What the Arduino Board Looks like
On the Potentiometer you can twist the top, the top has a arrow on it. As you twist it to the right, and the arrow moves to the right aswell, the speed of the light becomes faster. As you twist it to the left, and the arrow points left aswel, the speed of light begins to slow down.
Circuit Three: RGB LED
The inside of that the board is actually doing
What the Arduino Board looks like during this Circuit
Without Show Spectrum With Show Spectrum
In the code there are three main colors, and without showSpectrum each color you can fully see, RED, GREEN and then BLUE
If you apply showSpectrum, and get rid of Main colors. All the colors start to morph together instead of being all separate.
Circuit Four: Dancing lights
What is happening inside the board. To Change the way the lights are blinking, you put two // infront of the functions you dont want to run. The one you do want to run, you take away those to hashes.
One After Another Loop
Random Blinks
Ping Pong
Circuit Five: Push Buttons
How everything is connected, and what everything is doing to when you push the button the light turns on.
Circuit Six: Manuel and Auto Tune
What is actully happening within the board to make the light adjust to the darkness or light of a room
In the code down below, you change the way the light adjusts to its surroundings by changing the number, In the code it says, "If the LED doesnt go completly out, make the low number larger. If the LED is alwasy too bright, make the high number smaller.
What the board looks like during the circuit
Manuel Light Range: (0, 1023)
Manuel Light Range: (300, 800)
Auto Light
Pros and Cons of Manuel Light Range
Pros-
You can adjust the brightness or dimness of the light however much you like
Cons-
You have to like test mutiple times to see if it works
Sometimes the light doesnt fully turn off even in the light
Pros and Cons of Auto Light Range
Pros-
The light is always off in the light and bright in the dark
Cons-
You cant adjust the brightness or dimness of the light, how much you like
Circuit Seven: Temperature Pin
Arduino Bord with Temperture Sensor
It uses a if/else statement to turn the LED light on or off based on the temperture. If the temperature if above 75 the light turns on, if it is below it will turn off.
Circuit Eight: A Single Servo
You change the speed of the motor by changing the numbers of when it pauses or delays and how many degrees it moved. Changing these numbers changes how the motor moves.
Circuit Nine: Buzzer
When you maniplute the code to define the notes, then have a melody arry, have each duratuon for each note, and then make sure you loop the song, then you will be able to create a song using the Buzzer speaker
Song: Take on Me by A-Ha
Circuit Ten: Spinning A Motor
The speed of the motor is 100
The speed of the motor is 200
The speed of the motor is 255
Here is the code of Circuit 10, right now the serial code is turned on, if you type in the serial port and type the speed you want in it then the motor will spin. You can also turn on moteracceleration, which makes the motor accerlate on its own using the code.
Circuit 11: Relays
Everytime the relay "clicks" or turns on and off it then turns the lights on and off aswell.
Circuit 12: Shift Registor
To get each code to work, you have to put slashes on the ones you dont want to run, and no slashes on the one you do want to run
One After the Other
Random Blinking
Marquee