Git Product home page Git Product logo

idd-fa19-lab2's Introduction

Digital Timer

Include your responses to the bold questions below. Include snippets of code that explain what you did. Deliverables are due next Tuesday. Post your lab reports as README.md pages on your GitHub, and post a link to that on your main class hub page.

Part A. Solder your LCD panel

Part B. Writing to the LCD

a. What voltage level do you need to power your display?

You need both the 5V and 3V voltages for the LCD.

b. What voltage level do you need to power the display backlight?

3.3V for the backlight.

c. What was one mistake you made when wiring up the display? How did you fix it?

I didn't connect the ground and power on both sides of the large breadboard at first so the signal didn't carry.

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("Lois"); LCD displaying name

e. Include a copy of your Lowly Multimeter code in your lab write-up.

Lowly Multimeter Code

LCD displaying changing sensor value from A0

LCD displaying the value from potentiometer for backlight

Part C. Using a time-based digital sensor

Upload a video of your working rotary encoder here.

working rotary encoder

Part D. Make your Arduino sing!

a. How would you change the code to make the song play twice as fast?

Change the noteDuration variable to half of what it is.

b. What song is playing?

Starwars

Part E. Make your own timer

My game is a single player game wherein the timer counts down for 15 seconds and the player must press the button as many times as possible. The more times you press, the better, and each time you pass a milestone another LED lights up. At the end when time is up, it also tells you how many times you pressed.

a. Make a short video showing how your timer works, and what happens when time is up!

Game Code

Video for Game

idd-fa19-lab2's People

Contributors

lois-lee avatar zamfi avatar wendyju avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.