Automated chess on Arduino

Hello.
I am making project - Automated chess.
Under my chessboard there are 2 axis which move electromagnet. Also, under chessboard there are 64 reed switches which give information to arduino about status on chessboard. I need to program some algorithm which decides whats the best move for computer (Based on signals from reed switches which is 8x8 matrix in Arduino) and algorithm which move pieces between other pieces.

Do you have any sugestions how to reach my goal? Literally everything might be helpful so if you have any ideas, let me know.

Um... you're gunna need a bigger boat.

This is 25+ years old but I still think you'll struggle on an Arduino.

1 Like

Hello

Take a view here to get some additional information.

1 Like

Comparable chess computers have been sold already in the 80s, so it should be doable nowadays with an Arduino. Unfortunately I don't know which algorithms have been used with the little RAM and ROM available at that time.

SARGON was an early, quite successful chess implementation on micros.

Your description of operation is quite simplistic for ‘automated’, but may help with augmented chess.

Read up some more, and good luck!
You’ll probably need a MEGA, or ESP for memory band/or performance.

1 Like

Sure, I will get Arduino MEGA.

I mean, it doesn't have to beat every human on the world. I just need some "simple" piece movement, it doesn't have to be really smart :smiley:

Check this out...

Thanks for links, I have analyzed every automated chess project :smiley: These chess by Michale Guerero are great but he isn't solving problem of choosing the best move for computer which is.. hard? I think hard, yes.

I am thinking about alternative - there is a laptop connected to Arduino. On laptop I can see actual chessboard and move pieces (e.g. by typing location where my piece is and location where I want to put my piece). After typing target location electromagnet moves this piece avoiding collisions with other pieces. Can Arduino work in real time with my laptop? How can I make some visualization on my laptop and send data there from Arduino and also send back data to Arduino which piece and where should be moved? Thanks for your ideas.

If the PC program calculates the moves then the Arduino only has to move the pieces and possibly transmit back the moves of the other player.

That's right but "PC program calculates" is crucial there :smiley: Do you know any environment which I could use to do it?

Search for any open source chess program and run it on the PC. Processing may be used for the PC GUI and Arduino communication.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.