Recitation 2: Arduino Basics

Materials:

1 * Arduino Kit and its contents

Recitation Exercise:

In a groups of two, build circuit 1, circuit 2, and circuit 3. Carefully read the information and instructions from the links provided to help you build the circuits. When you have finished building these circuits, you may copy the code from Arduino.cc or from the IDE examples and upload it to your Arduino. Document the circuits working.

For circuit 3, you may choose to build any one of the two listed circuits.The circuit diagram and code for Arduino can all be found on Tinkercad. To view the circuits and find the Arduino code, click on the links and sign in with your Tinkercad account (or sign up if you don’t already have one). After completing the circuit, upload the corresponding code to your Arduino. Then document the circuit working and your team interacting with it. You should also switch out the pushbuttons with the Arcade button that you soldered in the previous recitation. For the circuit that you built, draw your own schematic of how the components are connected, and include this with your documentation. 

 

Circuit 1: Fade

https://www.arduino.cc/en/Tutorial/Fade

Code: Arduino>File>Examples>03.Analog>Fading

 

Circuit 2: toneMelody

https://www.arduino.cc/en/Tutorial/toneMelody

Code: Arduino>File>Examples>02.Digital>toneMelody

Circuit 3: Your Choice

Zelda Simon Says

A game of memory and patience, Simon Says is a great game that allows a player to test their ability to remember sequences of tones and lights. While initially easy, the sequence gets longer and more challenging with passing each round. First, the circuit will light up a series of LED’s. To start and restart the game, press the “start” button on the circuit. For the Zelda Simon Says circuit diagram and code, click here or use the following URL: https://www.tinkercad.com/things/bMAvN7Djoja

 

Speed Game

A game of speed endurance. This is a two player game where each participant races to click a button more than their opponent.. After 10 seconds, whoever has clicked their button the most and fastest wins! To play the game, open up the Serial Monitor in Arduino IDE. To start the game over, press the Reset button on your Arduino Board. For the Speed Game circuit diagram and code, click here or use the following URL: https://www.tinkercad.com/things/9reyJ6uTVoY-race-the-led/editel?sharecode=qMMfF_Cz3H5x-Esm7jx3SWGdZiYYLh864n9laKlOxxc=

 

Documentation:

Please answer each of these questions. Add your answers to your blog post, along with the other documentation for the circuits that you built in class.

 

Question 1:

Reflect on different interactions with technologies that you have observed in your daily life. Pick a few of these and write down your own definition of interaction based on your observations.

 

Question 2:

During the assembly of the circuits, we used many electronic components as inputs and outputs. Which of these components do you recognize in the circuit?

 

Question 3:

If you have 100000 LEDs of any brightness and color at your disposal, what would you make and where would you put it?

 

Question 4:

Which reflections about the nature of interaction can you make about the Figure I.1 in the Physical Computing reading?

2 thoughts on “Recitation 2: Arduino Basics

Leave a Reply