Jump to content

Linking Linux Icons to Motor Movement with Raspberry Pi

The Sociologist

I'm creating an automatic medicine dispenser for my school's science fair. One major aspect of it is a rotating cylinder actually containing the pills. There are holes in the cylinder that when match up with the dispensing holes will drop the medicine. Each pill will drop with micro-movements. But there are several holes for each type of medicine, so I need to program some icons on Linux that when triggered will turn the servo a certain number of degrees expelling the medicine. Is this even possible? How would I do this?

 

Thank you in advance!

 

P.S. I'm knew to Arduinos and Raspberries Pi's in general, so limited use of complex vocabulary would be appreciated but not necessary.

Link to comment
Share on other sites

Link to post
Share on other sites

Makea bash script that controlls the gpio pins and create a shortcut on you desktop to run it.

My native language is C++

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×