(no title)
stevenpetryk | 1 year ago
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.
dmurray|1 year ago
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|1 year ago
[1]: https://patents.google.com/patent/US6168158B1/en
awfulneutral|1 year ago
moffkalast|1 year ago
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
tzs|1 year ago
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|1 year ago
johtso|1 year ago
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!