Tagged: Arduino Mega, Buffer board, Encoder, Vectoring Robot
This topic has 4 replies, 4 voices, and was last updated 1 year, 4 months ago by brezz sent.
- AuthorPosts
- 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.
Regards,
Che- This topic was modified 4 years, 2 months ago by Che Martin. Reason: left out important details
October 9, 2020 at 8:36 am #8100SuperDroidKeymasterHi 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-rev3We also have schematics on our site that should help.
Let me know if you have any more questions.
November 26, 2020 at 9:54 am #8114Che MartinParticipantThis Helped.. Thank you
December 15, 2020 at 2:43 pm #8290DaveParticipantHi Che, I’m wondering why you swapped out the Uno if it was working ok? I’m guessing you maybe want to add a Raspberry Pi or Jetson Nano? Also, I will be purchasing the Omni kit, but I’m confused at which encoder options to choose. Since you purchased the Triple Quad, did you need the other 2 options? (Qty2 Encoder hookup and DB15 breakout board). Also the three SyRen 10As looks like a better option instead of the two roboclaws as far as controller goes. Sorry for long winded questions but this is harder than buying a car! Thanks for any response. Dave
August 14, 2023 at 4:16 am #9670brezz sentParticipantThanks for the question!
- AuthorPosts
You must be logged in to reply to this topic.