This topic has 3 replies, 3 voices, and was last updated 8 years, 4 months ago by beech.

  • Author
    Posts
  • #3473
     jason
    Participant

    I’m trying to wire a pot in line with my joystick for a max forward speed control. I’m using an Aruino Uno and Xbee with Sabertooth 25. The issues I’m running into is it seems to be kicking more power to the right side along with when I dial down the speed the zero turn ability is affected the lower the speed. Any help would be gladly appreciated.

    #3474
     SuperDroid
    Keymaster

    Okay so hopefully I’m understanding your question correctly. It sounds like you are getting incorrect readings from your pot when connected to your power rail? If this is the case, measure the resistance of each side of your pot with respect to the center terminal while moving the joystick. If the values don’t add up, you either have a bad pot or the joystick isn’t rotating it properly. If the values do add up, check your Arduino code to make sure the input isn’t being corrupted. Please let me know if I misunderstood your question.

    #3477
     jason
    Participant

    Nope you understood me, the values check out on the pot. I don’t see anything n the code . I’ll try a few more things if they don’t work I’ll return with pics or drawings.

    #3550
     beech
    Participant

    Thanks for the idea Jason. My setup is a little different but I was using my laptop every time i needed to change the speed of my turn. I put a potentionmeter on the receiver side and so far it is working.

    turn=(potPercentage /100.0) * turn;

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Login Register

©2024 SDRobots.com | All rights reserved.

Log in with your credentials

or    

Forgot your details?

Create Account