1 / 9

Marble Maze Team 20

Marble Maze Team 20. John Jachna. Abstract. iPhone-controlled marble maze Orientation of iPhone wirelessly sent to game board Game controller adjusts tilt of game board to match orientation of the iPhone Player must guide marble through path in maze. Block Diagram. Software Systems. WiFi.

cece
Download Presentation

Marble Maze Team 20

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. Marble Maze Team 20 John Jachna

  2. Abstract • iPhone-controlled marble maze • Orientation of iPhone wirelessly sent to game board • Game controller adjusts tilt of game board to match orientation of the iPhone • Player must guide marble through path in maze

  3. Block Diagram

  4. Software Systems WiFi iPhone Raspberry Pi Microcontroller RX UART TX

  5. Software Design: Considerations • Need microcontroller’s flash to store high scores • Other variables can be stored on the stack/heap • Need to avoid using floating point values • Device orientation from iPhone is measured in degrees with precision 0.1, need to find an alternate notation • Need to ensure that Raspberry Pi and Microcontroller are “on the same page” with UART • Need to move game board to its desired position in 0.1 seconds

  6. Software Design:Code Modules • Command-Driven Software • Initialization Commands • Board “zeroing” • (UART) Data from Raspberry Pi • (ADC) Joystick Controllers • (ADC) Tilt Sensor • (PWM) Audio Speaker • (SPI) LCD Display • (GPIO) Motor Drivers • (GPIO) IR Gates

  7. Software Design: Progress • Microcontroller • Analog to Digital Convertors, Timer/Timer Interrupts, and Digital I/O functioning • Need to implement: PWM, UART, game logic • Raspberry Pi • Functions as WiFi Router, runs web sever and web services on power up • Need to implement UART to communicate with micro • iPhone Application • Device orientation and corresponding GUI elements functioning, wirelessly transmits position data to Rasp. Pi • Need to create high score retrieval, game controls in app

  8. Questions?

More Related