- October 8, 2020 at 4:08 pm #8094Che MartinParticipant
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.
October 9, 2020 at 8:36 am #8100SuperDroidKeymaster
- This topic was modified 2 weeks ago by Che Martin. Reason: left out important details
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.
We also have schematics on our site that should help.
Let me know if you have any more questions.
You must be logged in to reply to this topic.