This topic has 1 reply, 2 voices, and was last updated 2 weeks ago by SuperDroid.

  • Author
    Posts
  • #8094
     Che Martin
    Participant

    Good Afternoon All,

    I purchased the item TP-251-003 (Omni Wheel Vectoring Robot) with the Triple LS7366R Quadrature Encoder Buffer and wrote a script to get encoder values which worked well with the UNO board following the wiring directions located a at https://www.superdroidrobots.com/Schematics/Omni_wheel_Sabertooth_PWM_Encoders.pdf. I recently swapped out the UNO for a MEGA, using the same wiring where A0,A1, A2 for the encoders buffer board S1, S2 and S3. Now I cannot get any encoder values. its all zero (0). Am I supposed to change pins A0, A1 and A2 for other pins when using the MEGA board? Is this why I cannot get encoder values? Please advise.

    Regards,
    Che

    • This topic was modified 2 weeks ago by Che Martin. Reason: left out important details
    #8100
     SuperDroid
    Keymaster

    Hi Che,

    Thanks for the question! The pinout between the Mega and Uno are different. I would confirm in the code that you are using the correct pins. Here are the links that show the pinout for each board.
    https://store.arduino.cc/usa/mega-2560-r3
    https://store.arduino.cc/usa/arduino-uno-rev3

    We also have schematics on our site that should help.

    Let me know if you have any more questions.

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

You must be logged in to reply to this topic.

Login Register

©2020 SDRobots.com | All rights reserved.

Log in with your credentials

or    

Forgot your details?

Create Account