We are building a smart pill dispenser that would have many plastic compartments, which would have to be filled with 10,20,30 pills - each compartment is intended for a different kind of pill. The pill dispenser should drop the right pill (1 or 2, depending on the prescription) at the right...