40 likes | 275 Views
Marble Maze. Jordan Wagner. Images: http://ecx.images-amazon.com/images/I/71AVKJRCNDL.gif, http://media.gdgt.com/img/product/23/iag/iphone-4-2jlx-460.jpg. Block Diagram. Microcontroller Design Constraints. Speed to minimize lag not being contributed from wireless link
E N D
Marble Maze Jordan Wagner Images: http://ecx.images-amazon.com/images/I/71AVKJRCNDL.gif, http://media.gdgt.com/img/product/23/iag/iphone-4-2jlx-460.jpg
Microcontroller Design Constraints • Speed to minimize lag not being contributed from wireless link • SPI and I2C interface options • Timer for motor control • Numerous ADC channels for joystick and other sensors • PWM for speakers, LEDs, etc.
Microcontroller Choices • PIC18F67J94-I/PT • 3 SPI/I2C channels • 64MHz • 4 UART channels • 128KB Flash • 3862B RAM • 4 Timers, 16 bit • 16 channels, 12 bit ADC • 7 PWM channels • 64 lead TQFP • $4.05 • Freescale MC908GP32CFBE • 1 SPI and 1 I2C channel • 32MHz max • 32KB Flash • 512B RAM • 4 Timers, 16 bit • 8 channels, 8 bit ADC • 4 PWM channels • 44 lead QFP • $4.95