I am working on a project that turns a standard chessboard into a MIDI instrument using Arduino for the sensing component. Currently I am using a 8x8 grid of reed switches, in which all of the reed switches are plugged in as digital inputs into an Arduino MEGA and the internal pullup resistor is used. I have added neodymium magnets to the bottom of the chess pieces so that when a piece is on top of one of the squares on a chessboard, the circuit is closed, output is HIGH and then something is trigger in the MIDI software.
I am seeing some issues with some of the squares not triggering consistently when pieces are placed on top. Any idea why this might be happening? I am considering switching to an 8x8 grid of hall effect sensors instead, but am unsure which sensor will perform better in consistently detecting presence of the magnetics. Any advice here? Is there another sensor I should be considering? I'm not the most experienced with sensors, but am more than happy to do my own research once I can get some guidance on where to start. Thanks!