Recitation 2: Arduino Basics – Sagar Risal

Materials:

1 * Arduino Uno
1 * USB A to B cable
1 * breadboard
1 * buzzer
2 * LEDs
2 * 220 ohm resistors
2 * 10K ohm resistors
2 * pushbuttons
A handful of jumper cables                                                                                                    * arcade buttons
1 * Multimeter (optional)

Introduction:

In this recitation I made three different circuits with Arduino to understand the basics function that Arduino is capable of. The first one was called “Fade” which helped me to learn how to better use the LED light with Arduino, the second one was “toneMelody” which introduced better ways to use the speaker, the third one was “SpeedGame”  which showed me an example of a simple game that could be created with the Arduino kit.

Circuit 1:  

In the first circuit I had to make the light change brightness through the code on the computer. This task required me to just connect Arduino to the breadboard and connect it to the LED, a very simple circuit. 

Circuit 2:  

In “toneMelody” we learned how to play different tones from the speaker. I wanted to get more creative and change the melody from the sample one on Arduino. This proved to be a lot harder than I thought since I had to change a lot more than just the tones, but also code the melody and beats different. 

Circuit Game : 

In this activity I had to create a game that tested the capabilities of Arduino and showed me how to make a simple game. Even though I didn’t understand much of the code it showed me a good example of what can be created with Arduino.

Question 1:

In our daily life we use so many circuits that one can become oblivious to the technology in our everyday life. Circuits similar to the ones we made today are light switches for one we want to have a dimmer light in the room, or jingles when you walk through the door at FamilyMart. These are all circuits that we see in our every day lives but that we become so accustomed to that we don’t notice them. 

Question 2:

The push button has a higher capacity for power than a regular LED so the resistance of the current does not have to be as low as an object such and LED so a 10K resistor is sufficient enough.

Question 3:

I would make a whole outfit that has the LEDs glued on so I could change the color of my outfit at any time.

Leave a Reply