ECE 445 Senior Design Fall 2018 ComputerAssisted Gomoku

  • Slides: 23
Download presentation
ECE 445 Senior Design Fall 2018 Computer-Assisted Gomoku Board Team #41: Jiahe Shi, Qianwei

ECE 445 Senior Design Fall 2018 Computer-Assisted Gomoku Board Team #41: Jiahe Shi, Qianwei Li, Hanfei Wang TA: Anthony Caton

Introduction ● An innovative way to broadcast and record games. ● An integrated system

Introduction ● An innovative way to broadcast and record games. ● An integrated system of detection, signal processing and user interface.

Objectives ● Detect moves on the board ● Display the board on PC and

Objectives ● Detect moves on the board ● Display the board on PC and update in real-time ● Detect when the game ends, and then save the game

System Overview ● Hardware: - Power Supply, Board Block, Inner Circuits ● Software: -

System Overview ● Hardware: - Power Supply, Board Block, Inner Circuits ● Software: - Control Unit, User Interface

System Overview - Block Diagram

System Overview - Block Diagram

Board Block Overview ● Detect any moves made on the board. - 9 x

Board Block Overview ● Detect any moves made on the board. - 9 x 9 sensor array

Board Block - Pressure Sensor Force (g) Resistance (kΩ) 10 100 20 31. 4

Board Block - Pressure Sensor Force (g) Resistance (kΩ) 10 100 20 31. 4 30 18. 7 40 12. 5 50 10. 3

Board Block - Implementation ● Production processes of the board. ● Pressure sensor accuracy

Board Block - Implementation ● Production processes of the board. ● Pressure sensor accuracy test on board.

Inner Circuit Block Overview ● Encodes analog signals from pressure sensors to 16 -bit

Inner Circuit Block Overview ● Encodes analog signals from pressure sensors to 16 -bit digital outputs. - 81 analog-to-digital circuits. - 13 priority encoders.

Inner Circuit Block - Analog to Digital Circuit

Inner Circuit Block - Analog to Digital Circuit

Inner Circuit Block - First Layer Encoder Cascading

Inner Circuit Block - First Layer Encoder Cascading

Inner Circuit Block - Second Layer Encoder Cascading

Inner Circuit Block - Second Layer Encoder Cascading

Inner Circuit Block - Implementation

Inner Circuit Block - Implementation

Control Unit Overview ● Decode 16 -bit output from 2 nd layer encoders ●

Control Unit Overview ● Decode 16 -bit output from 2 nd layer encoders ● Send the stone’s location to PC via Bluetooth

Control Unit - ATmega 328 P-PU

Control Unit - ATmega 328 P-PU

Control Unit - HC-06 ● Connected to microcontroller’s serial port ● Paired with PC

Control Unit - HC-06 ● Connected to microcontroller’s serial port ● Paired with PC ● User Interface receives data from port

Control Unit - Microprocessor sample code

Control Unit - Microprocessor sample code

Control Unit - Functional Test 1. Give the 16 -bit input explicitly to the

Control Unit - Functional Test 1. Give the 16 -bit input explicitly to the MCU 2. Check the data received by the User Interface program

User Interface Overview ● Draw the stone at the correct intersection on screen ●

User Interface Overview ● Draw the stone at the correct intersection on screen ● Check if the game ends (draw/win) ● Save game

User Interface - Implementation ● board. GUI. py ● check. Win. py ● main.

User Interface - Implementation ● board. GUI. py ● check. Win. py ● main. py

Conclusion ● The 9 x 9 board didn’t work, due to PCB failure ●

Conclusion ● The 9 x 9 board didn’t work, due to PCB failure ● A 3 x 3 version tested and verified

Future Hardware Development ● The board can be extended to a full-size 15 x

Future Hardware Development ● The board can be extended to a full-size 15 x 15 board ● We can integrate buttons and LEDs to the board

Future Software Development ● More game mode and the replay function ● Extend to

Future Software Development ● More game mode and the replay function ● Extend to other board games like Go