9 ms·
Pi Chess Board
- deleted 2y ago[deleted]
- johtso 2y agoNot sure if I missed it, but I didn't see any mention of how player moves are detected. Is there a camera and CV? It's always seemed like a fiddly problem to solve with electronics as you end up needing a matrix of sensors so there's a lot of wiring.
- stevenpetryk 2y agoI’ve always wanted to try making a smart chess board (with no moving parts; merely detecting moves rather than making them). I’ve thought of: - RFID. Have 64 antennas and multiplex them to detect which piece is on which square (idk much about RF so this felt tough) - Vision with a fiduciary mark under each piece, and an acrylic board - Hall effect sensors, where instead of knowing which piece is which, it instead assumes the normal starting position and pays attention to which square was picked up from and which square was placed onto to infer which piece moved. I think with any of these approaches it’d be fun to make a tiny, single-PCB board.
- moffkalast 2y agoYeah there are some trainer chess boards that use hall sensors to track piece movements. But I think there is a possibility to actually encode pieces with different magnetic field strengths and flip them for each player. That way you can just do stateless reads and you'll always get the correct readout, plus you can recover from illegal states. I did a project [0] a few years back that did this absolute encoding for senet, since there is only one type of figure and two players so just flipping the magnetic field worked really well once calibrated. I still need to make a proper writeup/video on that thing one day... [0] https://imgur.com/a/a29CTXl https://imgur.com/a/a29CTXl
- awfulneutral 2y agoI was trying to do something like this a while back, our approach was to have a different color underneath each piece, with an elaborate setup to get the colors reflected into a camera, but I could never get the color detection working reliably with the way we were doing it. It was a fun project though, there's got to be some easy way to detect moves and get a cheap-ish internet-enabled board.
- dmurray 2y ago> RFID. Have 64 antennas and multiplex them to detect which piece is on which square (idk much about RF so this felt tough) The professional-level boards by DGT use RFID and retail for about $500. I looked into building a competitor some time ago. 64 RFID antennas alone would have eaten up that budget. I believe they do something smarter like having 8 antennas and arbitrating the signals. They have some patents in this area. I've seen Hall effect and barcode-based systems too. They've always been a bit less reliable than DGT. Actually DGT is not all that reliable: if you are broadcasting a 20-player tournament you will need to manually update the broadcast around once per round. However I think the position detecting (hardware side) is solid and they could do with improving the move detection in software. None of this is meant to deter you from building this as a hobby project! I think all the approaches would be fun to try.
- thrtythreeforty 2y agoDGT uses a (patented, expired [1]) resonant LC circuit, not RFID. [1]: https://patents.google.com/patent/US6168158B1/en https://patents.google.com/patent/US6168158B1/en
- stevenpetryk 2y agoExtremely interesting, and kind of ingenious. Thank you.
- tzs 2y agoPut an ultrasonic emitter and an accelerometer in each piece. When a piece completes a move emit an ultrasonic pulse pattern unique to the piece. Pick that up with 3 ultrasonic microphones places around the board and use the time differences between when the pulses arrive at the 3 microphones to find the location of the piece. Maybe use 6 different frequencies (one for the white King, one for white pawns, and one for the rest of white, and similar for black) to make it easier to handle moves that affect more than one piece. The moves that involve more than one piece are captures (one piece of each color), castling (one King and one Rook), and pawn promotion (one pawn, one piece of the same color that the pawn promotes to, and possibly one piece of the opposite color if the pawn captures during the promotion).
- oneseven 2y agoI don't think 64 RFID antennas would be that bad - you can etch them onto a PCB. That would be a pretty large PCB, I guess, but you could segment it if necessary.
- johtso 2y agoYeah, the transparent board with fiduciary marks and a camera was the road I was going down at one point. There's also a really neat solution that involves a matrix of wires, one for each row and column, and then running a current through the wires. The pieces then each interact with the current in a unique way producing a signal. You then do some clever stuff to figure out all the pieces that are on a given wire. Cheaper than RFID, and you don't need a sensor for each square and can do some multiplexing. I think it possibly uses magnets in the pieces? You can tell electronics is my strong point!
- programjames 2y ago> Functionality and Features > The Pi Board is an advanced automated chess system powered by a Raspberry Pi, utilizing an XY stepper motor mechanism and magnets to move chess pieces seamlessly across the board. The development process involved several key stages, including precise calibration of stepper motor coordinates, calculating the weight of each piece for accurate handling, integrating a robust chess engine, and optimizing piece-grabbing strategies and movement detection. Special attention was given to selecting the most efficient algorithm to minimize the stepper motors' power consumption. Is there a reason for the marketing speech? I'm assuming most people interested in this would rather read engineering speech, like so: > The Pi Board, as the name suggests, uses a Raspberry Pi under the hood to calculate engine moves from <Stockfish? Leela Zero?>, and move the pieces with a series of stepper motors and magnets. We spent a significant amount of effort minimizing power consumption, including weighing the individual pieces to get more efficient grabbing and moving motions for each one.
- jstanley 2y agoProbably an LLM-assisted blog post.
- jihadjihad 2y agoYeah it really does read like something spat out by ChatGPT. They always have to include the word “key” for some reason.
- mda 2y agoIndeed, I see the word "key" in titles of many click bait LLM generated articles. Probably it is creating a self feedback loop now.
- dankwizard 2y agoI wish they added some LLM-assisted CSS & Div tags because this layout is atrocious.
- metal_am 2y ago
- alexfromapex 2y agoTruly a mechanical turk
- phorkyas82 2y agoThat was still operated 20 years ago: https://www.hnf.de/en/permanent-exhibition/exhibition-areas/the-mechanization-of-information-technology/early-automatons-miracles-of-technology/video-of-the-chess-turk.html https://www.hnf.de/en/permanent-exhibition/exhibition-areas/...
- ramon156 2y agoReally cool! Side note: there are some typos in the last header :P
- dr_kiszonka 2y agoMaybe slimmer pieces would help prevent collisions during movement? (It is a pretty obvious suggestion, so likely there is a reason the author didn't take this approach. Is the lower bound of the piece's base determined by electromagnet strength?)
- beardyw 2y agoThe pieces look to be well below normal size for that board. At normal size it would be very difficult.
- gmiller123456 2y agoTo be USFC/FIDE legal, the board has to size with the pieces. Even though it's not likely to be used in a tournament, it would just look odd being sized differently.
- bitwize 2y agoThe fact that we have tinkerers building their own working versions of a well-known 1980s Brookstone novelty gadget makes me smile. Reminds me of the guys who built their own Segways back when we thought Segways were things people actually wanted.
- vunderba 2y agoI've seen these kinds of chessboard automaton systems before, and they commonly struggle with complex movements, such as castling pieces, capturing, and the movement of knights. A lot of them can't handle "contingent movements" where you need to displace piece X but in order to do so, you first have to displace piece Y, and then rewind the stack to restore the original pieces positions. The second video where they demonstrate the actual gameplay footage exhibits some of these problems with this board, e.g. pieces that are displaced don't seem to re-center automatically, etc.
- btbuildem 2y agoInteresting approach! I like how moves with pieces in the way were solved for the most part. A bit disappointing that the taken pieces have to be manually removed -- one way to handle that could have been to extend the range of the "head" to the margin of the board, and have it drag off the captured piece to that area before moving the capturing piece there. I wonder if another mechanism altogether could work a bit better -- a matrix of electromagnets embedded under the board, with a resolution of say 1/4", so that when deployed in sequence, they could move the pieces from one magnetic field to another and another, without any actual moving parts involved.
- CrazyStat 2y ago> I wonder if another mechanism altogether could work a bit better -- a matrix of electromagnets embedded under the board, with a resolution of say 1/4", so that when deployed in sequence, they could move the pieces from one magnetic field to another and another, without any actual moving parts involved. A standard chessboard has squares of 2-2.5”, so this would require at least 4096 electromagnets. There was a kickstarter [1] for such a design a couple years ago. The conclusion in the chess community was that the kickstarter was a fraud [2] (with faked videos) and such a board would not be commercially feasible. [1] https://www.kickstarter.com/projects/soontech/regium-automatic-chess-e-board-0 https://www.kickstarter.com/projects/soontech/regium-automat... [2] https://lichess.org/@/lichess/blog/regium-extraordinary-claims-require-extraordinary-evidence/XlE48hEA https://lichess.org/@/lichess/blog/regium-extraordinary-clai...
- residualmind 2y agoI was just thinking catapult taken pieces off the board with a reversed strong magnetic jolt, so they just shoot off like a rocket.
- gizajob 2y agoHate to be a spoil sport but if when pieces move they nudge other pieces out of the way and then those nudged pieces have to be put back by hand, then there’s still work left to be done. Same goes for capturing - the captured piece should walk itself off the board.
- ekianjo 2y agoYeah the videos were far from impressive...
- pavel_lishin 2y agoOn the other hand, it's certainly more impressive than almost anything I've put together in the past five years.
- freetonik 2y agoMy first thought was "those nudged pieces can surely be put back in place automatically using the same exact mechanism!".
- themanmaran 2y agoI was also thinking that each piece could have a magnet at the base. And when a piece is captured, the underlying gantry could flip the polarity with an electromagnet and sorta launch the captured piece off the board. Although it seemed like the author had other issues with using an electromagnet here (i.e. overheating / switching polarity).
- sebastiansm 2y agoFor a hobby project seems like good progress. Polishing the last 20% of functionalities will take him a lifetime. Maybe other chess/robotic enthusiast could join him to accelerate some border cases.
- SamBam 2y agoI don't see this as "labor having for the human" but rather as a way to immerse yourself into the fantasy that you're playing another being.
- jtxt 2y agoCool project! Could a hefty reverse magnetic pulse launch captured pieces off the board? And maybe with some precision by controlling the offset and power?
- II2II 2y agoBattle Chess 2024: more exciting than the original. The human player has to dodge the assault of their electronic opponent! Sometimes an interesting idea is best left unimplemented.
- dhosek 2y agoMan, I remember playing Battle Chess back in the late ’80s. We’d go out of our way to see what all the different piece vs piece conquests looked like. I’d love to have that on the iPad for my chess-addicted son.
- jtxt 2y agoI was thinking shooting the piece into a basket or something, but aiming for the player's forehead sounds fun.
- omoikane 2y agoI watched through all of that game play footage just to see if a castle would happen, and it did happen at the end, with the same bumpy movement that ran throughout the game. The most interesting bit was probably near 1:50 where the pawn moved sideways.
- MarcelOlsz 2y ago>the pawn moved sideways Holy hell!
- GianFabien 2y agoSo if there are challenges in moving the pieces from below, then why not have a robotic arm that reaches down and grabs and moves pieces? A bit of computer vision might help with accuracy.
- realslimjd 2y agoBecause that's even harder.
- tantalor 2y agoI dunno. We can pick up bowling pins pretty easily. Why not chess pieces.
- makoto12 2y agoWe are also moving away from traditional bowling pins because the mechanisms are too expensive and hard to maintain, and moving towards pins that are attached to strings, to cheaply reset
- _flux 2y agoFor one, chess pieces vary in shape and height.
- TylerE 2y agoBowling pinsetters are rather infamously dangerous machines and operate with all kinds of guards to keep meaty appendages out.
- lambdaone 2y agoIt really, really struggles to move the pieces. More development is needed.
- robomartin 2y ago1982 https://www.youtube.com/watch?v=ITSXPdfxesU https://www.youtube.com/watch?v=ITSXPdfxesU http://www.chesscomputeruk.com/html/milton_bradley_phantom.html http://www.chesscomputeruk.com/html/milton_bradley_phantom.h...
- twarge 2y agoI absolutely remember encountering one of these at a friend's house. I clearly remember the detail about moving the pieces out of the way as needed to make moves. I do not remember the noise of the xy mechanism.
- robomartin 2y agoThe noise is likely the result of the recording method. I don't remember it being that loud at all.
- jojobas 2y agoNice. Perhaps would be even better with a coil array and no moving parts.
- tap-snap-or-nap 2y agoHow does it move the knight?
- stevage 2y agoThe movement of the knights is so creepy somehow. Lots of little movements and rotations. And then they just push a pawn out of the way and the human has to put it back.
- darepublic 2y agoA real mechanical turk. Needs to be able to handle captures / castling too. Maybe I'm wrong but I don't see too much practical purpose for this, but as a piece of the scenery it could be very cool.
- pavel_lishin 2y agoI wonder if using two "arms" under the board would result in better movement - you'd need two motors to control the angle of each arm, and some way of extending the arms, but then you'd be able to use one arm to move any required pieces out of the way, while the other arm moves the intended piece around. You'd use a polar coordinate system, instead of a cartesian one, to keep track of where the arms are and where they need to move. Plus, you'd be able to move the pieces off the board when they're captured.
- sitkack 2y agoI think you are describing a 5 bar linkage or parallel scara robot. https://www.youtube.com/watch?v=NNtsMVEx-CM https://www.youtube.com/watch?v=NNtsMVEx-CM
- pavel_lishin 2y agoNot quite. I'm imagining two independent arms, probably placed at opposite corners. They'd have one servo for rotation along a 90 degree angle, and another mechanism for extending or retracting it. I can't really draw something at the moment to illustrate what I mean. (But practically, yeah, what you linked is probably what would be required, otherwise I don't know if it could support it own weight.)
- solarized 2y agoI love the board has no led when X the opponent. You can add LLMs as your opponent. So you can play with your dead grandpa, hitler, aristoteles while talking about everything. I'll buy or made one ! :D
- crashbunny 2y agoThis brings back memories of Regium. A kickstarter scam 5 years ago that used realistic 3d animation videos of an automated chessboard to trick people out of their cash. chess.com happily took regium's money to advertise their scam to their audience. It eventually got kicked off kickstarter, and then kicked off some other kickstarter clones before self hosting their own kickstarter clone website. That was a wide ride. searching youtube for "regium chess board" will get a few hits. Pi board looks like a fun project that I'm sure will be refined over the years.
- katdork 2y agohi, your website has spelling issues and also the contact text doesn't match up with the links? "knight Movemetns and Casstle?"
- noyesno 2y agoReminds me of squareoffnow[.]com. I've been wanting to get two boards for a while now and do remote play with friends.
- yunohn 2y agoThe author mentioned at the beginning of this post that they were inspired by SquareOff board demonstrations.
- getToTheChopin 2y agoCall the exorcist...
- ChicagoBoy11 2y agoReally neat... very impressive work so far, so inspiring! It's kinda funny to see just HOW MANY of these automated chess things exist... it's like people really do want the physical experience while still playing "with" someone. As I'm guessing OP will discover, the devil with this is in the details, and getting all of the last mile mechanics to work quite right is probably a huge pain to truly be able to seamlessly play against the opponent with the pieces moving automatically. Surely the "actual" answer to this is some robotic arm with good enough camera work? All the things that make this hard -- the pieces not being placed perfectly, the knight jumping / or pieces that are being captured in really crowded places gets theoretically solvable with that approach. Of course then you have a huge issue with the engineering precision on the grabber and camera lol.
- tristramb 2y ago1. e4 e5 2. d4 Bc5??
- BlindEyeHalo 2y agoThe issue with these "ghost chess" implementations are always the same things 1. How do captured pieces get removed? 2. How to handle pieces that move through other pieces (knights, castling)? 3. How to promote a pawn? I have never seen these solved in something that is not awkward and neither seems to be the case here.
- inanutshellus 2y ago1. I see what you mean. Without a dual gantry it'd first move the taken piece off of the board and abandon it, then move the capturing piece. The meantime'd be awkward. Perhaps he could move the piece to the corner of the current square, move the capturing piece in, then move the captured piece off the board. That'd be slow and tedious to watch. So. No great solution, which was your point I think. 2. Personally I thought this implementation demonstrated this pretty reasonably both with castling and with moving the knight. He kinda "cheats" in that his squares are pretty large compared to the pieces, so the jumping piece can just travel /between/ ranks and files. Seems pretty nice to me.
- davidpfarrell 2y agoLove this! Also for those interested in auto-moving chess boards, see the Go Chess project: https://www.indiegogo.com/projects/gochess-most-powerful-chess-board-ever-invented https://www.indiegogo.com/projects/gochess-most-powerful-che... It takes a different approach: 1-4 "robots" under the board moving pieces around - with the goal of being able to reset the board or setup a position super-quick!
- BiteCode_dev 2y agoSwitching a pawn to a queen is going to require some creativity :)
- Tspace123 2y agoHey guys, I am Tamerlan the creator of this chess board. To answer some questions about the background noise its since I am working in my garage. Currently as a high schooler I don't have too much time to make improvements to the board such as having the piece automatically removed when captured, and an additional robotic arm underneath to move the pieces out of the way. I just decided to use an approach to move the pieces through the middle of the squares. Hopefully in the near future I will keep improving the pi board. Engineering has been my hobby for a while, since I like playing chess I decided to connect them two. I am not much of a web dev so the website is not the best, I made it to show the main idea of the concept, in the future I will improve the website as well and link it to all of my other projects I've built in the recent years. I would like to discuss with all of you more about the board, if you have any questions just shoot me an email at thstudios0708@gmail.com and we will get in touch! Thanks for all the support.