lecture:lecture_6
Lecture 6: Voltage dividers, potentiometers, photoresistors and more Arduino Programming
Checklist: What you need to bring for this lecture
- Laptop
- Sparkfun Inventor's kit
- Digital multimeter
- Miniature test clip adapters
Learning Objectives
- Be able to identify a voltage divider, and predict the output from a voltage divider circuit
- Be able to identify a voltage divider, and use a potentiometer to create a variable voltage when supplied with a fixed voltage relative to ground
- Be able to use the analog Input function to read a voltage with an Arduino
- Be able to use the Serial Monitor to receive input from an Arduino attached to your laptop computer
- Be able to create a voltage divider circuit to enable reading the photoresistor from the Sparkfun Inventor's Kit
- Be able to use a simple “if” statement to execute conditional code blocks in an Arduino sketch
Lecture Notes and Slides
- Voltage dividers and potentiometers: lecture slides
- “if” statements in Arduino: lecture slides
- Detailed notes on “if” structures
In Class Hands-On
- PDF: Arduino case study: potentiometer, photoresistor
- Excel case study on plotting a ramp function: pdf, excel example, Video Macintosh version(11:08), Video Windows version(11:08)
Homework
Homework 3 is due at the beginning of next class meeting (Lecture 7).
lecture/lecture_6.txt · Last modified: 2018/10/16 23:29 by gerry