I’m trying to build something similar to this dispenser https://www.instructables.com/id/Smart-Contact-Dispenser/, but trying to make it commercial. As people will pay money, I’d like to be extra sure that the item being bought is actually delivered. I’m using a stepper motor to remove the bottom item in the stack into a tray, but I’d like an additional layer of certainty. Any ideas what else I could use? I was thinking maybe a brightness sensor…
You might consider an AND gate type of system to detect if the product has been dispensed. Meaning one way can go wrong or has its detractions but two ways and that both ways have to 'say' yes should be more reliable.