Difference between revisions of "CSC270 Homework 11 2016"
(Created page with "--~~~~ ---- =Problem 1= <br /> Take the traffic-light problem of Lab 11, and add a potentiometer that will define how fast the lights blink. The fast...") |
(→Problem 1) |
||
Line 14: | Line 14: | ||
:* your observations | :* your observations | ||
<br /> | <br /> | ||
+ | =Problem 2= | ||
+ | <br /> | ||
+ | This problem uses the same hardware as for Problem 1, so you won't have to rewire anything, just write a different sketch. | ||
+ | <br /> | ||
+ | The behavior of your project should be similar to the behavior you had to code in the lab, except that now, when the red light blinks, it does so by fading in and out. Watch this [https://youtu.be/qLAi7hkDuYw?t=5m15s YouTube video] to see what I mean. | ||
+ | <br /> | ||
+ | You are free to use or not use the potentiometer in this project. (If you want to use it, you could make it control how fast the fading in and out occurs.) | ||
+ | <br /> | ||
+ | Add a new section to the pdf you will submit to Moodle. This new section will contain: | ||
+ | :* a picture of your project | ||
+ | :* a logic diagram of your design | ||
+ | :* a copy of your sketch | ||
+ | :* your observations | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | [[Category:CSC270]][[Category:Homework]][[Category:Arduino]] |
Revision as of 08:42, 16 April 2016
--D. Thiebaut (talk) 09:31, 16 April 2016 (EDT)
Problem 1
Take the traffic-light problem of Lab 11, and add a potentiometer that will define how fast the lights blink. The fastest blinking will be roughly 1 KHz, and the slowest roughly 1 Hz.
Demonstrate your design to your instructor whenever you have a chance, or take a movie of it, that you can show at some other time, before the deadline.
Submit a pdf to Moodle, which will contain:
- a picture of your project
- a logic diagram of your design
- a copy of your sketch
- your observations
Problem 2
This problem uses the same hardware as for Problem 1, so you won't have to rewire anything, just write a different sketch.
The behavior of your project should be similar to the behavior you had to code in the lab, except that now, when the red light blinks, it does so by fading in and out. Watch this YouTube video to see what I mean.
You are free to use or not use the potentiometer in this project. (If you want to use it, you could make it control how fast the fading in and out occurs.)
Add a new section to the pdf you will submit to Moodle. This new section will contain:
- a picture of your project
- a logic diagram of your design
- a copy of your sketch
- your observations