1 / 9

Assembly Programming Using Simple Lego Mindstorms RCX Robots

Assembly Programming Using Simple Lego Mindstorms RCX Robots. Wen Hsin Park University. Outline. Introduction Project Motivation Student Background Simon Say Project Student Projects Summary and Conclusion. Introduction. Spring 2007 Computer Architecture Course 8 students

agnes
Download Presentation

Assembly Programming Using Simple Lego Mindstorms RCX Robots

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assembly Programming Using Simple Lego Mindstorms RCX Robots Wen Hsin Park University

  2. Outline • Introduction • Project Motivation • Student Background • Simon Say Project • Student Projects • Summary and Conclusion

  3. Introduction • Spring 2007 • Computer Architecture Course • 8 students • Students learned RCX assembly • Students worked on “Simon Say” Projects • Students worked on their own projects using simple RCX robots

  4. Project Motivation • Mindstorms RCX kits readily available • Attended NSF-funded Summer Faculty workshop • Generated touchable result using RCX robots • Concrete examples in CISC so as to compare it with RISC

  5. Student Background • No prior assembly programming experience • Taken Java in CS1 and CS2 • Junior standing

  6. Simon Say Project • Project material provided in LMICSE, an NSF funded project: • http://www.mcs.alma.edu/LMICSE • Using Simple RCX robot: • one RCX brick • 3 touch sensors • 3 LED lights • 3 wires

  7. Simple RCX Robot

  8. Student Projects • Memory Games: • A robot displays a series of numbers in random order. A player needs to memorize the number sequence and repeat the same sequence to win the game. • A robot displays a sequence of random lights in increasing difficulty (i.e., length 1, length 2, …) • Slot Machine: • A player pushes a button and Robot displays a set of numbers. The player wins the game if the numbers match certain pattern (e.g., all the numbers are the same, etc.) • A player selects a set of numbers, and the robot selects a set of numbers. If these two sets of numbers match, then the user wins the game.

  9. Summary and Conclusion • Students learned RCX assembly and control environment. • Students had concrete experience in using CISC assembly. This helps them understand the difference between CISC and RISC.

More Related