You are on page 1of 8

Challenge Circuit 1D:

Night Light I changed the threshold on the photoresistor to 700


and added a new color combination of red and green
Note***: in the video I meant to say brown to make brown, but it turned out to be more of a lime
green because the colors didn’t mix well. I changed
the threshold to if over 900, use 100 green and 100
red.
Circuit 2A:
Buzzer
The purpose of this circuit is to play happy birthday
when the reset button is pressed because it does not
have it playing on a loop.
Circuit 2A: I created my own song by changing the notes (ex: a b
Create Your own song c d…) in the given code and changed the
accompanying numbers to change the note length to
create my own tune/rhythm/song.
Circuit 2B: Digital Trumpet

The purpose of this circuit is to play a specific note


when a button is pressed. The notes are Red Button=C
Yellow=E and Green=G
Circuit 2B Challenge: Adding another
note/button
To add another button, I used the same setup as our
previous buttons connecting it to negative column and
into port 5. I added the Int variable named fourthPin.
Using this variable, I added another else if statement
with the pinmode (frequency) so the button would play
the number A.
Circuit 2C: Simon Says
The purpose of this circuit is to create a game known
Note***: The red and green light were just very as Simon Says where you have to copy a Light pattern
dim but they did light up, not sure why. displayed by the code. If you don’t match the light
pattern correctly, you lose the game.
Circuit 2C Challenge: Changing the Losing
Sound I changed the length of the notes and the frequency of
the notes to create a new losing sound. I did this by
changing the numbers after the BuzzerPin. I made the
classic- bum bum buuumm bad sound effect.
Circuit 3A: Servo Motors
The purpose of this circuit is to spin the servo based
on the potentiometer values so you can spin the
***Sorry, forgot to take a pic of the circuit potentiometer and the servo will spin.
when it had the potentiometer, here it is with
the photoresistor.

You might also like