Pages: [1]   Go Down
Author Topic: ADVICE: One joystick controlling two motors  (Read 572 times)
0 Members and 1 Guest are viewing this topic.
dublin
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am designing and manufacturing a crane for my thesis. I want it to operate with a motor on each of its axes and a fourth motor to open and close its claw. So far I have only been able to find examples of arduino programs online of one joystick controlling one motor. What would be the correct program code for this arduino?
Logged

Colin Rodgers

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3882
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Saying

Quote
I am designing... for my thesis


is incompatible with asking for:

Quote
the correct program code for this arduino

But apart from that, you should look at a couple of things to help you get started with motors. This explains direction and speed control of DC motors and this is about controlling a servo with a pot. If you get a joystick like this one you can easily manage two servos at once, and maybe use the button as the claw release.

Over to you.....
« Last Edit: February 08, 2013, 06:16:59 am by JimboZA » Logged

The Elders of the Internet know who I am.....

Pages: [1]   Go Up
Jump to: