Shop OBEX P1 Docs P2 Docs Learn Events
simple question ask how can I control two servo working at the same time — Parallax Forums

simple question ask how can I control two servo working at the same time

yoyokilleryoyokiller Posts: 8
edited 2008-01-21 18:07 in General Discussion
Hi, Everyone

I am the beginer of servo control, what I am doing is control a two wheels robot simply going forward or reverse, turning left or right, at this stage, I have done·a matlab GUI interface for the robot and the postions control of servos, but the problem is, when I give a postions to this 2 servos, for example give a 1500 to 500, it always not working at the same time, so it can not go forward straight away, it always turns round, the left servo seems no break, it works all the time, however the right one, it has dalay and working with many breaks, means it running 2s and stop then working angain. any body can help me how can I solve this? Thanks!
·

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-01-21 16:40
    Go get the manual for the boebot and read the code for driving the bot it drives both wheels at the same time. This code is for a basicstamp which is what these forums are for.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-01-21 18:07
    Take a look at the Parallax ServoPAL. It can keep your servos running while the bot is busy communicating with the GUI or doing other things. It's designed to work with a BASIC Stamp, but it will work with any device able to provide the command pulses. Be sure to read the downloadable manual first to make sure it's compatible with your system.

    -Phil
Sign In or Register to comment.