Recent content by Jkelsey2

  1. J

    Servo Control using PS2 style joysticks

    Thank you! This was helpful. I will give this a try.
  2. J

    Servo Control using PS2 style joysticks

    I apologize...im confused. How will the PULSOUTs adjust with the signal from the joystick? When I look at the command in the manual, it doesn't appear to give the option to use byte variables. Can you give an example of what it would look like?
  3. J

    Servo Control using PS2 style joysticks

    Okay... I've made a code that will control each servo; however, I am also getting a lot of weird behavior from each servo. I believe I am having lots of electrical noise interfering with the system and I wouldn't be surprised if it were also related to my code ( i will include the code in a...
  4. J

    Servo Control using PS2 style joysticks

    Buzby, The code you provided works perfectly! Now I just need to develop code for the other servos. Thanks again for your help.
  5. J

    Servo Control using PS2 style joysticks

    Thank you for this! This was very helpful 🙂. I will try this tomorrow and will post an update.
  6. J

    Servo Control using PS2 style joysticks

    Thank you for this. I apologize I'm fairly new to microcontroller programming and am unfamiliar with this command. Can you give me an example of what the syntax would look like exactly? Would I first need to debug the limits i want for the servo and then set those in this command? I looked in...
  7. J

    Servo Control using PS2 style joysticks

    Update... So I got a working code... sort of. This is what I've come up with so far: Init: Servo C.2, 150 Main: readadc C.4, b0 servopos C.2, b1 if b0 < 128 then decX If b0 > 133 then incX goto main decx: dec b1 goto main incx: Inc b1 goto main This works great! However the new issue is...
  8. J

    Servo Control using PS2 style joysticks

    Wow! This sounds like something that may work. I'll see what I can come up with. Thank you!
  9. J

    Servo Control using PS2 style joysticks

    I honestly have no idea. That seems to be the impossible part. But what im thinking is when a joystick is moved in one direction the servo motor moves in that direction but if the joystick is moved back to its center (or snaps back to the center) the servo will stop moving and hold its current...
  10. J

    Servo Control using PS2 style joysticks

    Greetings from California! I understand that this topic has been discussed heavily but I'm still having some trouble with joystick control. My project is a 5 axis robot arm with each axis being controlled by a servo motor (5 axis = 5 servos, 1 servo per axis, you get it). What I want is to use...
Top