Date post: | 19-Jan-2016 |
Category: |
Documents |
Upload: | aubrey-sharlene-long |
View: | 214 times |
Download: | 0 times |
Not So Deep Not So Deep BlueBlue
The original Deep Blue
•LED chess board
•Track movements of all pieces
•Show possible moves
•Track game time
•Detect piece movement•Magnets/Reed switches
Design ConstraintsDesign Constraints•Drive 64 x 3 LEDs with PWM
•Sample Inputs from 64 SPST Reed switches
•Have RS-232 communication for development/debugging
•Sample standard logic signals from touch IC
•Accurately track time for game timing
Design ConstraintsDesign Constraints•Drive 64 x 3 LEDs with PWM
I2C LED Drivers
•Sample Inputs from 64 SPST Reed switches
SPI I/O Expander with 8x8 switch matrix
•Have RS-232 communication for development/debugging
UART
•Sample standard logic signals from touch IC
At least 8 extra GPIO pins
•Accurately track time for game timing
Real Time clock or timer channel
• Used parametric table
• Narrowed to ATmega325
and ATmega64
Device Flash (Kbytes)
SRAM (Bytes)
Max I/O Pins
10-bit A/D Channels
16-bit Timers
8-bit Timer
PWM RTC Self Program Memory
SPI TWI UART
ATmega325 32 2048 54 8 1 2 4 Yes Yes 1+USI USI 1ATmega64 64 4096 54 8 2 2 8 Yes Yes 1 Yes 2
• Choose ATmega64 More timer channels More memory Pin and feature compatible with ATmega128