I am trying to build a coin counter and install it in a vending machine i have. The machine only takes loonies and has only 1 product. I simply want to be able to count the coins and update a database online which can be accessed by the user from the web.
I found a opto switch which might do the trick.
Can i simply install this in one of the GPIOS on BBB? Can someone tell if I can use that opto switch with BBB?
I would need a more convenient design so i can position the optoswitch inline with the coin hopper in vending machine.