Making my own automatic chessboard
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
SCARA-Mechanism-Assy.zipx-zip-compressed - 981.30 kB - 05/30/2021 at 00:49 |
|
|
CASE-Assy.zipx-zip-compressed - 57.25 kB - 05/30/2021 at 00:48 |
|
|
SCARA-Mechanism-Assy-BOM.pdfAdobe Portable Document Format - 409.70 kB - 05/30/2021 at 00:47 |
|
|
CASE-Assy-BOM.pdfAdobe Portable Document Format - 122.48 kB - 05/30/2021 at 00:47 |
|
|
MagnetElevator.inoino - 6.06 kB - 05/20/2021 at 18:11 |
|
Hi there! I believe naming “automatic chessboard” is not so appealing so I decided to name it: Phantom. Even less appealing is to keep Phantom just to myself, so I decided to launch a Kickstarter campaign as recommended by some of you!
During the last months, I have been sharing the development process and improvements made to the board week by week and got to the conclusion to close the first version to decide the following steps to improve it.
The next step is to be sure all systems are working perfectly fine together before starting important changes. The hardware of the first prototype is conformed by the Scara mechanism, hall effect sensors array, mecha-magnet and 3 microcontrollers running all the features.
I’ll share with you all the files up to this version so you can build your own Phantom Chess, in the files section you will find everything you need: the assembly and 3D model files for each system
-The case is constructed by an aluminium composite sheet with wood veneer for the board surface, and aluminium exterior frame to add support, MDF interior to hold the electronics and an aluminium composite sheet as the bottom plate.
-Under the wood veneer + composite surface the sensor array it’s placed to detect the position of each piece and it is composed of five hundred SS39E hall-effect sensors interconnected with an HC4067 multiplexor.
Tavo developed a three stage software that controls all the features:
-Each time you move a piece on the physical board , the Nano 33 IoT sends this information to the Lichess server to be reflected in the digital game; it works the same way each time the opponent makes a move on the Lichess game, the move is sent to the board through the same connection.
-The three microcontroller system is interconnected through an i2c protocol. The ESP32 is the master that controls the Arduino Nano and the Nano 33 IoT.
Files, schematics and further instructions are in our Github repository. Take a look at them and let me know your comments for improvements or questions to start building your own e-board! https://github.com/carlosPendass/CAD-Mechanics
I’ll leave our discord server if you need further information from me and to chat about chess: https://bit.ly/3emyBWy
And my YouTube channel in which I upload progress and test videos: https://bit.ly/3w32wcf
Now I’m also on instagram! https://www.instagram.com/phantom_chess/
As I said in a previous post, I wanted to redesign every piece to meet my expectations of a quality chess set. It is not only about aesthetics but adding technical specs to the pieces is necessary so they can work perfectly in conjunction with the magnet arm.
Once the components for each piece were decided (wood, magnet, ring), I took the liberty of designing a second version for the chess set.
You already saw the pieces with the modern style, but I think that a good old Staunton style won’t do any harm ;)
There are two main principles that the shape of the pieces should follow:
The first one is that the diameter of the base should be less than half the length of each square for all the pieces.
This prevents collisions between the pieces when they move between each other.
The second one is related to height. The King’s height is 3,38”, which is the minimum established by the US Chess Federation, and the Pawn is 2”.
Then, if you arrange the pieces by the traditional height order and trace a line from the top of the King to the top of the Pawn, the top of every piece between King and Pawn touches this line. I applied this concept to both modern and Staunton versions.
When I started working on the design of the pieces, my first approach was with the modern style. This set is shaped geometrically but also is easily recognizable. My approach with this design is to take the timeless essence of chess into a contemporary look by using simple geometric subtractions from a simple cylinder.
The modern set was effortless to model in CAD, contrary to the Staunton one, which has a lot more detail to distinguish itself from the modern set. The horse, for example, has a more organic shape.
Once the right proportion for each piece is defined, I started working on the 3D models to print prototypes. I prefer this method for shapes and volumes because they come out fast and with enough detail to make decisions.
Once I was happy with every piece, I started working in the CNC program. The first step is to test the CNC prototypes using a soft material; I usually use polystyrene foam.
When all the programs run well on the soft material, I started the machining in wood. For the white pieces, I used maple wood and machiche wood for the black ones.
After the pieces were machined, I gave them a finish by sanding them to get a smooth surface, and then I applied Rubio Invisible for the white pieces and Rubio Pure for the black ones. These finishes are mono coats, so they are effortless to apply.
I can’t decide which design is my favourite and the work put into each set was definitely worth it. Which one do you prefer?
I’ll leave our discord server if you would like to chat about this project or leave any suggestions: https://bit.ly/3emyBWy
And my YouTube channel in which I upload progress and test videos: https://bit.ly/3w32wcf
There should be a smooth interaction between the board’s surface and the pieces. To get around this, we are looking at different materials to cover the bottom part of each piece. The aspects I want to solve are:
After searching for similar problems and how friction, heating, wearing, etc. were solved...right away I knew the materials to test would be: HPTFE, PTFE (Teflon), felt, silk and the looped female side used on velcro.
On the board’s side, the veneer surface is covered with Epoxy varnish, because it’s the most resistant treatment I could find to protect the wood without losing its natural qualities.
Tavo helped me to build a small jig to test all these materials. It consists of a magnet arm directly connected to a stepper motor that drags a piece over a small veneered board (15cm x 15cm).
The jig drags the piece 5cm per movement and it reaches over 85,000 movements per day. We did the maths and this way we can emulate 4 years of use in only 3 days!!!
We are still not sure about which material should be the selected one, all of them presented different issues regarding wearing and aging so we are still looking for new ones to test.
Some of you recommended some materials in the comments, we already ordered samples of them and I’ll let you know how they work. Any other materials you think we can test?
I’ll leave our discord server if you would like to chat about this project: https://bit.ly/3emyBWy
And my YouTube channel in which I upload progress and test videos: https://bit.ly/3w32wcf
One of the essential elements to achieving the motion of the pieces is the magnet arm. Initially, we started by following SO steps using an electromagnet to hold the pieces.
After some testing, I learned that it is mandatory to have the magnet the closest possible to the surface at all times as the magnetic field strength decreases when the distance from the source increases.
I designed a super simple mechanism that ensures the electromagnet is always the closest to the surface. It is composed of a plastic case that holds a spring below the electromagnet. A straightforward solution is yet useful.
The not so simple thing to solve about this solution is to find the right spring to do the job. We want a Finite Element Analysis to decide the characteristics of the springs to be tested.
After prototype production, we ran some tests to select the final design. This conical spring is the chosen one!
You may remember my guess about the SO pieces being small and light to help the electromagnet move them around. I assumed that the lighter the pieces, the less strength is required from the electromagnet to move a piece. It turns out I was right :):
With the new design of the pieces, bigger and heavier, we shall increase the electromagnet strength to move them. This will increment the board’s current consumption making us think that maybe the electromagnet is not the best approach since we want to add a battery in the future, so a high current consumption is not the best path.
While looking at other ways to control the strength of the magnetic field on the board, we started to explore the option of having a mechanized neodymium magnet.
The idea is that instead of using an electromagnet, we control the strength of the neodymium magnetic field by moving it farther or closer from the surface. The mechanism is designed to be mounted on the magnet arm, like a mechanical elevator for the NM.
This mechanism is powered by a DC motor whose current consumption is lower compared with the electromagnet.
To ensure that the magnet reaches the upper surface every time a piece is moved, we used an encoder to help us know the magnet’s upper and downer position since the first time it’s turned on. This data is used each time the motor moves the magnet through a PID control. I add the code of this mechanism to the file; you can take a look at it.
Each time the board shall move a piece, the magnet arm goes to the piece’s location with the magnet at its lowest position; when it arrives, it gets the magnet up to the highest position to hold the piece, make a move, and when it ends, it takes the magnet down again to leave the piece and make the next move.
A cool side effect of this change is how smooth the pieces move. It is complicated to change the core diameter in an electromagnet so the pieces cannot align correctly. With the NM, we have full control of the core dimension; thus, every piece’s motion is seamless.
Adding an extra mechanism to the board could bring more complications, so we are currently testing to find the least complicated and most feasible one.
I made a YouTube channel in which I’ll be uploading videos about the progress, tests and improvements: https://www.youtube.com/channel/UCY3-zIxVveSF4OABvc1UgYw
I’ll keep you updated on our progress! Join our discord server if you would like to chat about this or chess overall: https://bit.ly/3emyBWy
I’m not the biggest fan of chess apps, but let’s face it: they are the only alternative to play in the distance with friends and basically anyone in the world. For our board, I want the connectivity of the apps plus the nice feel of playing with real pieces.
Tavo has been working on an open software to connect the board to Lichess server. We also wanted to include chess.com server but it’s closed. I’ll try to contact them hoping to add their app to the board. Who knows It might be worth the shot! ;)
To connect our board to Lichess we started using an ESP32 but we have problems with the TLS and the HTTPS library.
After knocking our heads against the wall around this issue Tavo found this amazing development in Aruduino’s project hub:
- https://create.arduino.cc/projecthub/kzra/lichess-link-cbdbab
It uses an Arduino One Wifi so we moved to a compatible module to use his open-source project as a base, the Arduino Nano 33 IoT. This will kill two birds with one stone by also helping us on having an open platform
We already played our first games through Lichess server! But, there’s still a pain in the butt, the process to connect to any Wifi network, fortunately, Tavo is as hooked as I am and found a great tool to make the process easier.
So now we are working on implementing a captive portal feature to make everything work seamless. This is all the progress at the moment, I’ll let you know our final implementation very soon!
Feel free to join our discord server and get to chat about this project and chess in general: https://discord.gg/3aCpVynH
Having an XY mechanism like SO, solved in a practical and fast way the movement of the pieces around the board. The problem is that you need to add space around the playable surface for the motors. I want a mechanism with no extra frame, but just enough for the captured pieces.
I worked on a project before that used a SCARA mechanism. Based on this I designed a mechanism that allows the electromagnet to reach all zones of the board no matter its size and shape. This helped me reduce the size of the frame, the bad news, my board is too high!
While looking for ways of reducing board height, I came across a project called ZarPlotter. It works by using CDPR, a cable-driven mechanism that moves the end effector (in our case an electromagnet) by pulling cables from the 4 corners of the frame with stepper motors.
In terms of space, it seems like a good way to explore! I’ll work on a new prototype with this mechanism and let you know the results.
Any suggestions on other mechanisms to explore are more than welcome, you guys have been very supportive!
Remember that we can chat on my discord server about chess, mechanism or any topic related to this project: https://discord.gg/5Am7CDzwUf
The weakest point of the current board are the pieces. They are too light and small (I’m guessing this is to make them easy to move by the mechanism)
I will produce new bigger and heavier pieces and, since we’ll do them from scratch, why not have our own custom design? ;)
The first design is made out of wood with a magnet inside and an aluminum ring. I like the shape and looks but the pieces are still too light.
This lightness causes the piece to wobble when moved around by the electromagnet when passing close to a resting piece.
We added cold rolled steel to add more weight to the pieces.
I’m very pleased with the current design but having the mechanism and the electromagnet to move the pieces correctly will not be easy. We’ll have to find the correct electromagnet to move the weight of the pieces smoothly or look for other options
Let me know what you think!
You can join our Discord server to chat! The link: https://discord.gg/5Am7CDzwUf
We have kept going with this project. The problem we have right now is to find a way to have wood veneer on the surface (this requires a rigid board) and, at the same time, being able to detect the pieces and their location.
The first idea is to have hall effect sensors placed under the board and magnets inside the pieces to have the sensing system working without needing to push buttons.
The one thing it worries me is that using hall sensors will need to use a very thin interface between the sensors (under the board) and the magnets (inside the pieces)
The current board is made out of an aluminium composite panel which is very rigid and lightweight. We machined the bottom side of the panel to allow the sensors to be placed closer to the magnets while the top side has wood veneer.
This is a good way to have natural wood veneer on the board, but we are sure there is still plenty of room for improvements.
Any thoughts?
You can join our discord server to chat about chess and stuff: https://discord.gg/5Am7CDzwUf
I've always preferred playing OTB. I already spend too much time on my phone and computer for work. With the lockdowns, one of the things I missed the most was 1-1 games. I ordered a squareoff board hoping it would provide a great physical experience, but it doesn't feel great at all.
My first instinct was to modify the squareoff board and replace the plastic membrane with wood veneer.
Bad idea, the membrane system requires the surface to bend for the pieces to be detected. Not only will real wood not bend, but the inconsistent detection was something I didn't love about the SO in the first place.
I'm terrible at anything software but luckily convinced a friend to help me out, he's brilliant so I'm confident we will build a kickass board.
I’ll be sharing the progress we make over here, but if you are more passionate about this subject and would like a more in depth look or share your ideas, I created a discord server too. This is the link: https://discord.gg/5Am7CDzwUf
Create an account to leave a comment. Already have an account? Log In.
Carlos, how much longer do you anticipate the boards will be avaiable on indiegogo? do you have an end-date for last backers?
Just wanted to let everyone know that a website called CedarHives.com seems to be scamming people, saying they are selling this set for a Christmas sale at only $129. Unfortunately, I learned this lesson for everyone, but I wanted to make sure that no one else got ripped off. After ordering, I got no confirmation email, no response to my attempts to contact them....yeah. Don't fall for it. I didn't know about this being a project in the works, so I just thought I got a really good deal on, what looks like, a magical chess set.
Hi Carlos, I'm the photo editor for Nat Geo KIDS magazine, trying to get in touch about a "new inventions" story we are working on. We'd love to license some images and feature the chess board! Here's my email: shannon.hibberd@natgeo.com
Have you tried Teflon for the bottom of the pieces? I think it would be good to reduce friction.
I like the project a lot! Just wondering about a functionality: Is there any possibility to repeat the last move? Let's say I left the room for a moment and in the meantime the opponent player moved. Then I would love to have the possibility to repeat the last move.
Do you have more information about your SCARA engine? For example, a description of materials, how it works, etc.? I want to try to build a prototype myself, but the available information leaves a lot of questions :(
How board say You move is wrong? You must moving correct rules?
So good! Congratulations, this is brilliant!
You might could also close loop the Scara robot with your hall sensor array :)
What I would try to increase:
Make it absolutely noiseless and a bit more dynamic so the Scara is faster at its target position to pick up a figure.
The figure movement could be path planed, so you would have a nicer acceleration and deceleration phase in the cartesian motion.
You might could use a Halbach array for the rotating magnet on the scara, then you would have almost no field in "Off" state and a bit more field in the "on" state. Just to avoid this Slip/Stick effect.
Again - you did an awesome project, thanks for sharing!
Very cool project. Just thinking out loud, what happens if the human user makes an illegal move?
Thanks! When the human makes an illegal move, the mechanism takes back the piece to the last position and repeats it until a legal move is made. We want to have a very classic look, so I don't want to add "futuristic" feedback on the board.
What do you think about it?
Carlos, very cool project! How did you prototype the PCBs? Did you get a shop to do the fabrication or used a CNC machine?
Thanks, the first shot it's always prototyped in-house by a CNC machine. Once the design is detailed, we manufacture small batches with JLCPCB.
Bifilar Electromagnets are stronger for the same power input.
Thanks for the info, I will take a look at them.
This is awesome, thanks for the detail and your thought process. Your discord link is expired, can you update it?
I'm very interested in how this goes, it's looking great.
I've considered to build a chess board for my son which can move pieces, and detect the human moving them, but what held me back so far is the remote play aspect. I'd like to use the board to play against other human players remotely, without requiring them to have any special board too. Unfortunately chess.com has no such API for brokering games. Ah, but maybe https://lichess.org/api#operation/botGameMove can be used...
Hi Nick! I'm finishing my following post about connectivity and that's right, we are focus on the Lichess API while knocking on some doors for the Chess.com one, crossing the fingers to get something!
If you work on something, I'll be glad to share some details that can help you.
Become a member to follow this project and never miss any updates
I see the comment about CedarHives being a scam (bummer I was really hoping it wasn't) but anyone know anything about Chessnut air? They claim to have a board for $199 but all plastic pieces? I was really hoping for a wooden board to gift my grandfather but if I have to settle for plastic to be affordable I might, but I don't want to get scammed if its crapy and fake.