1 / 29

Luminous Chessboard

Luminous Chessboard. ECE445 Group 16 | Ke Ma, Qianliang Liu. Introduction. Design an electronic chessboard. Powered by 5V DC supply. Recognize chessman. Light up suggested moves based on an AI algorithm. Parts we use. 128 4-pin sockets 64 LEDs (green) 8 16:1 MUX 1 Dual 4:1 MUX

odessa
Download Presentation

Luminous Chessboard

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Luminous Chessboard ECE445 Group 16 | Ke Ma, Qianliang Liu

  2. Introduction • Design an electronic chessboard. • Powered by 5V DC supply. • Recognize chessman. • Light up suggested moves based on an AI algorithm.

  3. Parts we use • 128 4-pin sockets • 64 LEDs (green) • 8 16:1 MUX • 1 Dual 4:1 MUX • 1 1:4 decoder • 1 PIC18F4685 microcontroller

  4. Reason we chose PIC • Easy to program ( C language) • The algorithm is easy • Cheap • PIC starter is available in the lab

  5. Overview

  6. Detection Module

  7. Basic Thoughts • Input 1 = 10Input 2 = 01 • EmptyOUT 1 = 00OUT 2 = 00 • Parallel CaseOUT 1 = 10OUT 2 = 01 OUTPUT 1 OUTPUT 2 INPUT 1 INPUT 2

  8. Connections Pawn (Side A) Pawn (Side B) Output 2 Output 1 Knight (Side A) Knight (Side B) Input 1 Input 2 Rook (Side B) Rook (Side A)

  9. Connections Bishop (Side A) Bishop (Side B) King (Side A) King (Side B) Queen (Side B) Queen (Side A)

  10. A Chess Piece: King

  11. Sample Simulations Output1 Output2 Input1 Input2 Output1 Output2 Input1

  12. Sample Simulations Output1 Output2 Input1 Input2 Output1 Output2 Input1

  13. Microcontroller

  14. What it does

  15. What do they do? - AI • Analyze the action, PICK or DROP? • Why is the player doing this? MOVE? REPLACE? WIN? ERROR? REGRET? • Give suggestions • Next step? Detection Again? ? ON/OFF ATPOSITION (X, Y) Detection AI LED Controller

  16. What do they do? - LED Controller • Give 2 Select Bits of the 1 to 4 DEMUX • Give 16 Gate Voltages of the MOSFETs 00 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 01 10 11

  17. PIC18F4685 PIC18F4685 Detection Module Inputs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Even Row MOS 16-1 MUX SB Lighting Module 4-1 MUX SB Outputs Odd Row MOS Odd Row MOS 4-1 DEMUX SB Micro-controller

  18. Software Demo

  19. LED Module

  20. LED MODULE

  21. Factors that influence the performance of PCB • Scan module High impendence Lack of decoupling • Microcontroller module Broken chip Lack of experience Unexpected situations Complex connections • LED module Wrong Eagle model was used High impendence

  22. Failures on PIC • PIC18F45J10Program Memory LimitCannot work with PICKIT2 • PIC18F4685Worked well at the beginning“Programming Failed at Program Memory Address 0x000000.”Chip was gone.

  23. Recommendations for further work • Improve the PCB board • PIC with higher Compatibility • Arduino may used for replacing PIC • Help from Machine shop

  24. Credit • Mr. SkotWiedmann • Mr. Mark Smart • Mr. Wally Smith • Prof. Scott Carney • Mr. Ryan May • Mr. Mustafa Mukadam

  25. Any questions?

  26. Thanks

More Related