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

Take a picture of your soldered panel and add it here!

Part B. Writing to the LCD

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

5 volts.

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

Around 3 or 3.3 volts.

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

I initially forgot to connect pin R/W in the LCD screen to GND. When reviewing my connections, I realised the mistake and connected the pin to GND.

d. What line of code do you need to change to make it flash your name instead of "Hello World"?

I changed the lcd.print("hello, world!"); line to say lcd.print("Eva"); instead.

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

Link to Multimeter Code

Part C. Using a time-based digital sensor

Upload a video of your working rotary encoder here.

Link to Rotatory Encoder Video

Part D. Make your Arduino sing!

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

By changing the pauseBetweenNotes parameter from noteDuration * 1.30 to noteDuration * 0.65 to decrease the pause between notes by half.

b. What song is playing?

The Star Wars theme song!

Part E. Make your own timer

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

My timer is designed to keep track of time while taking rest breaks at the gym between sets of exercises. It allows the user to input the a number of seconds which indicate the duration of the break. When the user presses the button, the timer counts down to 0. When the time is up, the speaker plays a constant tone for 1.5 seconds. After this, the timer resets itself so that the user can input the number of seconds to take for the next break and press the button again when ready.

Link to Timer Video

b. Post a link to the completed lab report your class hub GitHub repo.

idd-fa19-lab2's People

Contributors

evaesteban avatar zamfi avatar wendyju avatar

Stargazers

Timothy 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.