
Theekshana
Australia
Asked
— Edited
Hey guys
I just wanted to know how can I control 6 servos with a movement panel, I am a noob when it comes to servos. The front 2 are steering and the back 4 are not. This is gonna be a ridable robot! Call me crazy but I am still gonna make it. Please let me know how I can set this up.BTW I wanna use the arrow keys to control the servos.
Thank you for reading!
You will need to either script the correct servo positions or make the frames for the movements. Once that is done it's pretty straight forward.
Auto Position Movement Panel is probably the easiest option. Use the Six Example Project as a guide on how to use the Auto Position Movement Panel.
You only need to make the key frames, as in the specific positions required, ARC will fill in the movement between the frames.
DJ has made a video of how to make movements and actions.
Thx
I can't speak for everyone but I personally only guide others to create and achieve their goals, I wont do it for you. It's easy enough to do it yourself if you watch the tutorial videos.
Also, a lot more information would be needed. Someone could make you a "differently steering ez-b file" but it probably wouldn't be what you need. We need to know exact details of the project, how you want it to work in great detail, which ports are connected to which servos, motors, sensors etc. and so much more.
What size motors are you running (i.e. how many amps each)?
Do you need positioning feedback?
The L298n based H-Bridges are great cost effective solutions for running two motors up to 5A however lack any position feedback. If running more than 2 motors you can use multiple H-Bridges and this would require scripting a custom movement panel.
The Sabertooth is more expensive however can handle a lot more current. With the addition of the Kangaroo control board you can also add in positioning feedback.
The TB6612FNG is a smaller and cheaper H-Bridge which works well for small motors, this is what I used in Melvin so runs the original Omnibot drivetrain without any problems.
Size: Estimated 10amps.... 24V 250w
What do you mean positing feedback?
and also I am to have a caster controlled at the front controlled by a servo
Motor I am planning to use: http://www.jojocycling.com/index.php?route=product/product&product_id=76747¤cy=AUD&language=en
Thank you rich and everyone else for taking your time to help me :).
I can help with the Sabertooth (which is easy). Rich is the H-Bridge guru... But again a physical robot would really help with the coding....
I usually write my software after building my bot...
Straight:
Have the custom Movement Panel set to move both motors forwards and backwards(which, if using a sabertooth, you will have to put a serial code line for each motor, and each direction.) And along with the forward arrow have the steering servo go straight.
Turning: to turn you will need to make the servo turn in the direction you want to turn and at an angle you want. Setting up a joystick which moves a slide script would make this big bot turn smoothly. Along with the servo you'll need to slow down the motor your turning towards,or you'll just start peeling the front tire off the servo. (Think of a 2wd 4wheeler. If you lean back while turning, it barely turns, and if you lean forwards the inside wheel spins as you turn.)
Once you get that out of the way, you need to design the bot and think about these points:
-how will you power it? Most wheelchair motors pull 5-10amps each. This means if you want to go far you'll need lots of power(car batteries)
-how much weight will the motors be moving? You have to think of the chassis, your weight, your passengers weight, and the battery weight.
Hope this helps!
Tech