hi. i'm just learning arduino with mega 2560. is't possible to use 1 servo and 1 stepper in single joystick?? im using l298 for stepper motor and microservo 9g. servo for Y axis and stepper for X axis. thanks
I don't see why it would not be possible. Have you gotten the servo to work by itself by following some of the Servo library examples? Same for the stepper and the Stepper library? Can you read the joystick?
yes... have you tried it yet?
yes. but when i try to combine both something strange happen, i cant control the stepper motor. when i used uln2003 and microservo its working just fine. i'm using 2 A power supply, theoretically i think it should work but it is not. any explanation??
something strange happen, i cant control the stepper motor
Can you describe what happens? The more information that you supply, the faster we can help you get your project to work.
Post the combined code. A schematic showing all of the wiring, parts and power supplies would also be helpful.
Read the how to use this forum sticky to see how to post code and some advice on how to get the most from the forum.
Hi,
Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html . Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Thanks.. Tom...