the robot works from the phone with a Bluetooth connection. the user chooses the drug name from the dashboard on the phone and the stepper motors move the access until to reaches the drug that the user had entered then the servo motor moves the drug to the window that the user can take it.
this is a simple Android app with MIT_App_Invertor to connects with Arduino via Bluetooth and offers a dashboard for users to choose from.