a. What voltage level do you need to power your display?
5v
b. What voltage level do you need to power the display backlight?
3.3v
c. What was one mistake you made when wiring up the display? How did you fix it?
- At first I forgot to connect the breadboard vertically, so I used 4 jumpers to wire them up.
- My LCD is broken, so it could not show "Hello World". By simply using another LCD without changing any wire, the whole system works.
d. What line of code do you need to change to make it flash your name instead of "Hello World"?
lcd.print("hello, world!");
to lcd.print("hello, Irene!");
e. Include a copy of your Lowly Multimeter code in your lab write-up.
link to Lowly Multimer code!
Upload a video of your working rotary encoder here.
a. How would you change the code to make the song play twice as fast?
change the noteDuration
int noteDuration = 1000 / noteDurations[thisNote]/2;
b. What song is playing?
Star Wars
a. Make a short video showing how your timer works, and what happens when time is up!
My Timer!
** Pre Lab **
- Use a timer to time people’s workout times.
- Timer for cooking, when the food is ready, it will sings.
- Pressing the button in a certain time, as fast as possible, to light up more LEDs.
- A game: In a certain time, remember LEDs lightening sequence, and try to copy the order by pressing the buttons.
- Two player press buttons, like a running game, and measure the time.
- A CD player shuffeling songs, people can switch songs in a selected times.
- An sleep alarm with soft music, set up before people go to bed.
- Timer for counting down the time wait for taking elevator and taking stairs.
- Alarm the teacher's time for the end of class.
- Game: Trying to remember a memlody of a song in a short time.