Hello everyone,
my name is Taniq, I am from Slovakia, Bratislava.I would like to ask for help. Recently I found a video on youtube, demonstration how to control with Xbox360 servo motors.I was very impressed from the interface of Processing and how easy actually works to control a servo motor.
Here is the link of the video:
My question is:
Is there a library that I can use for a Stepper motors? Example code will be helpful.
Thanks in advance.
ps.
I’ve build a robot arm that is using 6 stepper motors and since i don’t have a pedant I do believe with a controller like Xbox will work out
Hello Chrisir,
maybe my question wasn’t so clear. I know arduino and i can work with it. But I am not sure that using the Gamecontrol from Processing for the controller will work out same way with stepper motors, as for the servo motor in the article? In the video the man explains brefly how many libraries are included in order to use arduino and communication with it, but it seems to me that all of them are for the servo motors…
Commands in the his program like digitalWrite(10, High) and etc…are related to a servo motor. Calling line arduino.Servo and etc…as well…
So this is what made me to aks for a help. Can I use the same method with xbox controller processing and arduino to control stepper motor?
thanks for the links…
I am about 2 days already searching for information … but since everyone has different ideas(world is big and creative) i still cannot find helfpul artcile.
Smile,
Taniq
Yes I read it.
No I want to use my xbox controller to operate an robot arm with stepper motors.
In his examples and in mostly every robotic projects he works with a servo motor. The difference between servo and stepper motors is quite big.
I want to use the gamecontrol option from processing(as shown on that video) but for stepper motors.
And yes Arduino is cheap and really powerful! It’ is not necesarely every home project to be part of rocket science :))
Cheers
Taniq
xbox controller --> arduino --> stepper motors --> robot arm
This is what you want to do, right?
Which links in that chain are you asking for help with first? Which ones are you pretty confident about? I would suggest breaking this down into smaller sub-projects and stages.
It sounds like you have an xbox controller and an arduino – do you already have the robot arm with steppers? Have you been controlling it in some other way?
Hello Sir.
Yes I do. You understood me well. I was just very confused from all information and insane amount of programs that everyone were posting as “the best” solution, but at the end not really the case. Yes I am new in programing but I just dont like to copy paste something which I dont understand from where it comes, why it is setup this way and etc.
So before jump into something big I started with a small steps, related to my knowledge.
Here is a short video. My first try.
If you would like to see the program, please do let me know. I will post it. I tried to keep it simple.
My background is fanuc CNC programing.
Thank you.
Well I do believe I am on the right way. However I am not sure that topic should stay open. I hope of it’s a conitnue discussion maybe would be helpful for other people. However is this require something more from me. To provide for example the final solution or ?
Thank u …
Have a nice evening and smile.
Taniq
Hello
It didnt give me an error in the post … but I will do check your page and try my best to edit and post it in proper way. Thank u. Have a smile,
Taniq
hey!!! I have exactly the same “problem”, i think at the end i will use an serial data connection like: xbox controller - processing - arduinoIDE - stepper motor for the arm… but surely only have the firmdata schetch on the arduino and controlling everything directly from Processing would be much better… did u found at the end the “mystical” stepper library? Or we have do to create our own??