Author: Pham Hong Nguyen
Date: 15:54:49 12/07/03
Go up one level in this thread
On December 07, 2003 at 08:08:49, Hakan Gemici wrote: >Hi everyone! >I'm newest member in this mailing group at the moment. So I don't know your >mailing rules, if there's any. Please forgive me for any mistakes. I am taking >Electrics-Electronics Engineering program in Selcuk University, Turkey. I have a >final year project which called "Chess Automaton". As shortly described in its >name my project is an automated electro-mechanic robot which plays chess against >a human. Of course, there's going to be a chess engine running on pc. I have >nearly completed seventy percent of the mechanical system which can control >pieces on chessboard. I can describe details on mechanic system later, if >someone asked me to do so. My problem is about a pc program which going to >handle communication between a chess engine (planning to use crafty) and a >microcontroller based control card via rs232 port of pc. The interface program >will listen to the microcontroller transmitting data on rs232 port. >Microcontroller will send coordinates of chess pieces which wished to be moved >by human. (Ex: e2e4) First two bytes are coordinates of location before move, >and the others are coordinates of location after move. The interface program >will enter this data to chess engine. After a preprogrammed delay interface >program will check if the move is valid. If it isn't a valid move interface >program will return an error code to the microcontroller. If the move is valid, >then after a short delay interface program will return the coordinates of move >which played by chess engine. The format of the data will be same as data >received from microcontroller before. (Ex: h7h5) I have basic programming >abilities in C++, but no more. And time is short. For Interface program, >programming language is no matter. Delphi, C Builder or Visual Basic can be >used or any other. I am planning to use a Delphi/C Builder component which named >Comport Library, programmed by Dejan Crnila to communicate via rs232 port. >Yesterday I've found an open source coded project which made by Resplendence >Software.(main page: http://www.resplendence.com/chessbrd)(download: >http://www.resplendence.com/download/chessbrd.zip) The program might be modified I do not really understand what you actually need. If you just need a chess rival runing on a PC to vs your automaton, the solution is quite simple: you can select any engine, run it with Arena interface on a PC and connect your automaton with that PC by RS 232. You should modify your communication to use Auto232 protocol of Donninger (the work of 1 hour?). You can find some more information about Auto232: http://www.aarontay.per.sg/Winboard/auto232player.html The protocol here in German (you can guess or translate it by machine): http://groups.google.com/groups?q=auto232+chess&start=10&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=4ec_9701100335%40shadow.franken.de&rnum=17 >for my automaton project but I have no idea about doing this. In the given link >and inside the chessbrd.zip there are some explanation about code. So are there >anyone could help me on writing a code or modifying the code given above to use >in my project? Thanks for any help. > Hakan Gemici I don't think anyone willing to modify the code of other author for you even you can ask everything about chess techniques. You should do yourself your exam and post any questions here. Hope that helps and good luck, Pham
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.