Robot Art Show

Introduction

For this project, we were put in groups of two and tasked with building a "robot" of some sort that can perform an action such as playing a song, displaying words, or making lights blink - a robot art show! In order to do this project, we used the Arduino software, which allowed us to familiarize ourselves with coding and simple commands/functions and connected it to a Sparkfun breadboard and a redboard to perform actions.

Evidence of Work

This project has to be one of my most favorite, mainly because it brought together two entirely different things - music and robotics - into one fun, creative project where we choose what to design!

For our project, my partner and I decided to code the song "Come and Get Your Love" by Redbone (song featured in Guardians of the Galaxy and Avengers: Endgame).

On top of that, we programmed each note of the song to correspond to a blinking light that changes from red to green to blue!

As you can imagine, designing and coding this to work was a lot of work and took a lot of research into how things worked and what could be done to manipulate it, and in the end, we successfully accomplished our goal!

Please check out our final product to the right!

Also, I have provided the Arduino code which we wrote by ourselves to program this song. Please take a look at it!

Come and Get Your Love Code

Content

Circuit - A complete loop of conductive material from one side of a power source (+) to the other (-).

Series Circuit - A complete loop with multiple components one after the other (must go through each component)

Parallel Circuit - Multiple loops with components on them running to the same power (current may go through any pathway)

Voltage - Potential energy difference across a component; Represented by the variable "v"

Current - Flow of charge or electricity throughout the circuit; Represented by the variable "i"

Resistance - The amount the current is slowed or resisted through a component; Represented by variable "r" and units are ohms (Ω ). Can be solved for in a series circuit by using the equation rtot = r1 + r2 + r3 and in a parallel circuit, 1/rtot = 1/r1 + 1/r2 + 1/r3.

Ohm's Law - A law that states that the potential difference (voltage) across an ideal conductor is proportional to the current through it; V = ir

Power - The rate electrical energy is transferred through a circuit; Represented by variable "p" and units is watts (W).

Important Coding Terms:

Void Setup () {} - A function created at the top of a program which runs the code one time.

Void Loop () {} - Same as Void Setup except code is looped instead of running once

pinMode () - A function to configure the port as an input or an output.

digitalWrite () - A command which enables a port as HIGH or LOW (on or off)

//comments - a programmer-readable explanation or annotation of the code of a program

delay () - A time delay in the transmission of pulse signals.

Example of a Series Circuit

Example of Parallel Circuit

Reflection

Initially, I must say that this project was challenging for me. I was slow in learning all about breadboards and circuits because I previously knew little to nothing about them. However, my partner, who was very knowledgeable about this topic, helped me very much and I ended up learning a lot about coding, circuits, and elecctricity. I am proud of myself because I was a Conscientious Learner, and embraced the challenges of what I didn't know and had a positive attitude towards my learning. I also used Critical Thinking when applying information that we learned in class and from the books to the actual robot and program. Even when I ran into problems, I used different methods to solve it and run a successful program.

I could also have improved in some ways during this project. For example, I felt that I didn't communicate as well as I should have with my partner and we ended up having to redo some things because of communicational mistakes, which I want to improve for my next project. I also want to be more open about others ideas and not just take over and run the project my way.

Overall, this has been one of the most fun projects I have ever done and I thank Mr. Williams and Mrs. Vogl for providing us with the knowledge and resources to do it.