Download - Not So Deep Blue

Transcript
Page 1: Not So Deep Blue

Not So Deep Not So Deep BlueBlue

The original Deep Blue

Page 2: Not So Deep Blue

LED chess board

Track movements of all pieces

Show possible moves

Track game time

Detect piece movement-Magnets/Reed switches

Project Project OverviewOverview

Page 3: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Page 4: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Performs possible move and check/checkmate algorithms.

Keeps track of all pieces on the board.

Page 5: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Takes changes in states for board locations from the Core Game Logic and updates the corresponding LED brightness values.

Constructs the data to be given to the I2C Library to update the game board.

Page 6: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Library used to perform I2C communication with the LED drivers.

Can generate START and STOP bits, check for various ACKs, and send data to an I2C slave address.

Page 7: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Takes the SPI Library MISO packets, finds the corresponding game board location that changed, and passes it to the Core Game Logic.

Handles touchpad user input.

Page 8: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

SPI Library for performing MOSI and MISO communications with the I/O expander chip.

Page 9: Not So Deep Blue

UARTUART

Software Design/Development StatusSoftware Design/Development Status

I2CI2C

Map: Game Board to LED Drivers

Map: Game Board to LED Drivers

Core Game Logic

Core Game Logic

Map: Inputs to Game Board

Map: Inputs to Game Board

SPISPI

Library used for debugging and development only.

Will allow for messages to be printed to a computer from a serial port.

Page 10: Not So Deep Blue

Questions?


Top Related