220 likes | 365 Views
ECE 477 Design Review Team 20 Fall 2012. Mark Sears. Jordan Wagner. John Jachna. Justin Spencer. Outline. Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation PCB layout
E N D
ECE 477 Design Review Team 20 Fall 2012 Mark Sears Jordan Wagner John Jachna Justin Spencer
Outline • Project overview • Project-specific success criteria • Block diagram • Component selection rationale • Packaging design • Schematic and theory of operation • PCB layout • Software design/development status • Project completion timeline • Questions / discussion
Project Overview • Our team is implementing a smartphone controlled marble maze. Players guide a marble through a maze by controlling the degree of tilt of the playing surface via a wireless link to a smartphone. The accelerometers in the smartphone capture the players' input and relay it to the game controller. The game controller then adjusts the tilt of the playing surface via stepper motors on each axis.
Project-Specific Success Criteria • An ability to manipulate the playing surface via stepper motors. • An ability to control the playing surface with accelerometers in an iPhone and resistive joysticks. • An ability to detect the player's failure or success using IR gates. • An ability to display game statistics & configuration information on an LCD and play game related tones on a speaker. • An ability to store separate, specific game data on the board and on the iPhone.
Microcontroller Choice • PIC18F67J94 • Fast clock speed, up to 64 MHz • Many serial communications options – 4 USART and 3 SPI/I2C channels • Large flash memory – 128KB • Copious amounts of analog and PWM channels, as well as plenty of GPIO pins – 64 pin package Image source: http://ww1.microchip.com/downloads/en/DeviceDoc/30575A.pdf
Motor Choice • Reliapro 39BYG001-R (5V, 1A) • 5V power supply, no need for an extra regulator • 1.8° step angle – small steps for fine tuned board control without the need to add gears • 2 phases – compatible with most stepper motor controller ICs Image source: http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_237490_-1
WiFi Interface Selection • Raspberry Pi • Many configuration options for changing settings without reprogramming microcontroller • Low cost with large amounts of documentation/resources • Easy to prototype and test without the microcontroller Image source: http://www.geeky-gadgets.com/wp-content/uploads/2012/07/Raspberry-Pi2.jpg
Schematic/Theory of Operation- Power Supply LM2576 Step-down (buck) switching regulator
Software Design/Development Status • Microcontroller: prototyping on development board, several on-chip peripherals functioning. • Microcontroller works as a polling loop that waits on packets from the Raspberry Pi • Raspberry Pi: Server code functioning, receiving packets from iPhone in 1.66 ms. Wireless is set up. • iPhone: Sending data to Raspberry Pi successfully. App also grabs rotation degree from internal accelerometer and gyroscope.
Project Completion Timeline • Week 8 – Program RaspberryPi, Formal Design Review • Week 9 – Finalize PCB, Order all remaining parts, Software development (ongoing), Prototype power supply, Proof of Parts • Week 10 – Spring Break, PCB manufactured • Week 11 – Populate PCB in units, burn-in power supply, Software Design Narrative • Week 12 – Debug Hardware, Program microcontroller, Attach sensors & motors to chassis, Patent Liability Analysis • Week 13 – Debug Microcontroller, Finalize iPhone application, Develop control algorithms, Reliability & Safety Analysis • Week 14 – Debug iPhone app, Debug iPhone -> RaspberryPi -> Microcontroller communication chain, Ethical & Environmental Impact Analysis • Week 15 – Debug, Documentation, Finalize packaging, User Manual • Week 16 – Debug, Prepare for PSSC Demonstration