Just as a backstop in case you can't get the resonant coils working. From different perspectives:
How about a magnet in the base of each piece and a hall effect sensor in each square?.
Using analog hall effect sensors rather than hall effect switches you might be able to get enough discrimination to use different size/strength magnets to get additional information about pieces, if useful. e.g big magnet kings and queens, medium bishops rooks knights, small magnets pawns.
Alternatively you could put a photo transistor in the centre of each square to detect when a piece is lifted. Then you wouldn't have to do anything to the pieces as long as they were opaque. Bit of a problem if you want to play in the dark of course.....
You already know the following:
Where the pieces start.
Where they can move to, for the different pieces.
That one piece moves at a time.
Whether it is white or blacks move.
If it is whites move and a black piece is lifted first it has been taken and will be replaced by a white piece
etc.
You want to show possible moves so a lot of that information will be in the software you create and you could possibly keep track of the game that way.
Hope you get lots of learning, enjoyment and success with this project.
How about a magnet in the base of each piece and a hall effect sensor in each square?.
Using analog hall effect sensors rather than hall effect switches you might be able to get enough discrimination to use different size/strength magnets to get additional information about pieces, if useful. e.g big magnet kings and queens, medium bishops rooks knights, small magnets pawns.
Alternatively you could put a photo transistor in the centre of each square to detect when a piece is lifted. Then you wouldn't have to do anything to the pieces as long as they were opaque. Bit of a problem if you want to play in the dark of course.....
You already know the following:
Where the pieces start.
Where they can move to, for the different pieces.
That one piece moves at a time.
Whether it is white or blacks move.
If it is whites move and a black piece is lifted first it has been taken and will be replaced by a white piece
etc.
You want to show possible moves so a lot of that information will be in the software you create and you could possibly keep track of the game that way.
Hope you get lots of learning, enjoyment and success with this project.
Statistics: Posted by Pi5_User — Sat Jan 18, 2025 11:27 pm