Difference between revisions of "CSC270 Final Exam 2012"
Line 10: | Line 10: | ||
::''If you have questions about this exam, email them to your instructor and the question and its answer will be emailed back to the whole class. This way everybody will have access to the same material and information.'' | ::''If you have questions about this exam, email them to your instructor and the question and its answer will be emailed back to the whole class. This way everybody will have access to the same material and information.'' | ||
− | ::''The exam is due any time before <b>noon</b> on Thursday, <b> May 10th</b>''. | + | ::''The exam is due any time before <b>noon</b> on Thursday, <b> May 10th</b>''. ''You must demonstrate the correct operation of your hardware. Please make an appointment in advance for a 10-minute demonstration. The demonstration cannot be made past the noon deadline on 5/10/12. Once the demonstration is done, hand in a report showing the details of your design.'' |
− | |||
− | |||
</bluebox> | </bluebox> | ||
<br><br><br> | <br><br><br> | ||
==Problem #1 (3.5 points)== | ==Problem #1 (3.5 points)== | ||
+ | |||
+ | You have to design some hardware that will interface with an [http://www.arduino.cc/ Arduino] microcontroller. | ||
The Arduino uses the handshake protocol to send characters out. It sends all the ASCII characters from 'A' to 'Z', and starts over. It sends an active-low Strobe signal and listens to an active-low Ack signal. The Arduino waits 1/2 second between each character. Whenever it sends 'A' it activates its yellow on-board LED. The LED is turned off when a 'B' (or any character other than 'A' is sent). This LED turns ON every 13 seconds approximately, and stays ON for approximately 1/2 second (26 characters * 0.5 sec = 13 sec). | The Arduino uses the handshake protocol to send characters out. It sends all the ASCII characters from 'A' to 'Z', and starts over. It sends an active-low Strobe signal and listens to an active-low Ack signal. The Arduino waits 1/2 second between each character. Whenever it sends 'A' it activates its yellow on-board LED. The LED is turned off when a 'B' (or any character other than 'A' is sent). This LED turns ON every 13 seconds approximately, and stays ON for approximately 1/2 second (26 characters * 0.5 sec = 13 sec). |