21.08.2013 Views

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

268 CHAPTER 8. SYSTEM LEVEL DESIGN<br />

8.6. Modify <strong>the</strong> motor speed control algorithm to display motor direction (CW or CCW) and<br />

speed in RPM on <strong>the</strong> LCD.<br />

8.7. The Blinky 602A robot under ATmega164 control abruptly starts and stops when PWM<br />

is applied. Modify <strong>the</strong> algorithm for a gradual ramp up (and down) of <strong>the</strong> motor speed.<br />

8.8. Modify <strong>the</strong> Blinky 602A circuit and microcontroller code such that <strong>the</strong> maximum speed of<br />

<strong>the</strong> robot is set <strong>with</strong> an external potentiometer.<br />

8.9. Modify <strong>the</strong> Blinky 602A circuit and microcontroller code such that <strong>the</strong> IR sensors are only<br />

asserted just before a range reading is taken.<br />

8.10. Apply embedded system design techniques presented throughout <strong>the</strong> text to a project of<br />

your choosing. Follow <strong>the</strong> design process and provide <strong>the</strong> following products:<br />

system description,<br />

system requirements,<br />

a structure chart,<br />

system circuit diagram,<br />

UML activity diagrams, and <strong>the</strong><br />

microcontroller code.<br />

8.11. Add <strong>the</strong> following features to <strong>the</strong> Blinky 602A platform:<br />

Line following capability (Hint: adapt <strong>the</strong> line following circuitry onboard <strong>the</strong> Blinky<br />

602A to operate <strong>with</strong> <strong>the</strong> ATmega164.)<br />

Two way robot communications (use <strong>the</strong> onboard IR sensors)<br />

LCD display for status and troubleshooting display<br />

Voice output (Hint: use an ISD 4003 Chip Corder)<br />

8.12. Develop an embedded system controlled submarine (www.seaperch.org).<br />

8.13. Equip <strong>the</strong> ATmega164 <strong>with</strong> automatic cell phone dialing capability to notify you when a<br />

fire is present in your home.<br />

8.14. Develop an embedded system controlled dirigible/blimp<br />

(www.microflight.com,www.rctoys.com).<br />

8.15. Develop a trip odometer for your bicycle (Hint: use a Hall Effect sensor to detect tire<br />

rotation).<br />

8.16. Develop a timing system for a 4 lane pinewood derby track.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!