I'm working on a project where I want to be able to check if certain pieces of a puzzle has been placed correctly, using Arduino. To simplify I will use a board with an outline of the puzzle, so the user has to place the piece/tile in conjunction with existing pieces of the board.
I'm looking for simple solutions for being able to do tests to see if the different pieces of the puzzle (e.g 20-30 pieces) has been placed correctly by the user. If so I want to give positive feedback of some sort (not priority right now).
Does anyone have any ideas on how this could be implemented?
You have your board with each of the places the pieces need to go marked on it. Now cut a hole in each of the places. The hole needs to be the same shape and have the same orientation as the place for the piece. Glue the cut out to the piece.
Now when you try to fit a piece on to the board it con only fit in the right place and the right way round.
Fit a switch under the hole in the board when the piece fits it makes the switch etc...
How about optically?
Put a series of 5 light & dark spots on each piece, and 5 optical sensors at each location.
Allows recognizing 32 pieces - or 30, if all light (no piece) and all dark (piece upside down, misoriented) are treated as 'error' states.