Download presentation
Presentation is loading. Please wait.
Published byAvice Booth Modified over 8 years ago
1
ECE445 Group 16 | Ke Ma, Qianliang Liu
2
Design an electronic chessboard. Powered by 5V DC supply. Recognize chessman. Light up suggested moves based on an AI algorithm.
3
128 4-pin sockets 64 LEDs (green) 8 16:1 MUX 1 Dual 4:1 MUX 1 1:4 decoder 1 PIC18F4685 microcontroller
4
Easy to program ( C language) The algorithm is easy Cheap PIC starter is available in the lab
8
Input 1 = 10 Input 2 = 01 Empty OUT 1 = 00 OUT 2 = 00 Parallel Case OUT 1 = 10 OUT 2 = 01 INPUT 1 INPUT 2 OUTPUT 2 OUTPUT 1
10
Input 1Input 2 Output 1 Output 2 Pawn (Side A)Pawn (Side B) Knight (Side A)Knight (Side B) Rook (Side A) Rook (Side B)
11
Connections Bishop (Side A) King (Side A) Queen (Side A) Bishop (Side B) King (Side B) Queen (Side B)
13
Input1Input2 Output1Output2 Input1 Output1 Output2
14
Input1Input2 Output1Output2 Input1 Output1 Output2
17
LED Controller Detection 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 AT POSITION (X, Y) What do they do? - AI
18
Give 2 Select Bits of the 1 to 4 DEMUX Give 16 Gate Voltages of the MOSFETs 0101 1010 1 0 0 0 1 0 0 0 0 0 0 0 0 0
19
123456789101112131415161718192012345678910111213141516171819201 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 PIC18F4685 Micro- controller Detecti on Module Lighting Module Inputs 16-1 MUX SB 4-1 MUX SB Outputs Odd Row MOS 4-1 DEMUX SB Odd Row MOS Even Row MOS PIC18F4685
20
Software Demo
22
LED MODULE
24
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
25
PIC18F45J10 Program Memory Limit Cannot work with PICKIT2 PIC18F4685 Worked well at the beginning “Programming Failed at Program Memory Address 0x000000.” Chip was gone. Failures on PIC
26
Improve the PCB board PIC with higher Compatibility Arduino may used for replacing PIC Help from Machine shop
27
Mr. Skot Wiedmann Mr. Mark Smart Mr. Wally Smith Prof. Scott Carney Mr. Ryan May Mr. Mustafa Mukadam
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.