Hardware setup to input X and Y inputs from joystick and output to two different color LEDs.
Write the code to perform the read (for calibration), the to control the LEDS
Assignment
BRING IN YOUR ARDUINO
Session Minutes
60
Minutes Student Attended
45
Lesson Comments
Cabo needs to remember to bring in his Arduino hardware.
- Cab0 left 15 min early for "snack". (?)
Learn how Arduino reads analog inputs.
Design a circuit to input a 0 - +5V voltage and convert to a binary number.
Write the code to control the LED lighti based on the analog input value.
Assignment
Write the program for next class
Session Minutes
60
Minutes Student Attended
60
Lesson Comments
We managed to get through the hardware portion, but was not able to start the software, given as homework.
Understand difference between analog input and output.
- A/D conversion on analog input.
- D/A conversion on analog output (faked by PWM).
- What is PWM and how is it used?
- Make a circuit and program that uses PWM output to dim an LED.
Assignment
Add dimming feature to previous LED on/off software
Session Minutes
60
Minutes Student Attended
60
Lesson Comments
Cabo was able to build the PWM circuit and copied an example program. Required him to debug the software.