Forum Replies Created
- AuthorPosts
- May 19, 2021 at 8:33 am #8406AleksanderParticipant
Thank you so much! I have to try to hook it up and see if I can get it up and running.
May 19, 2021 at 7:41 am #8403AleksanderParticipantI am a little bit confused regarding how I should hook the Sabertooth controllers to the Arduino, when I look at this code: https://github.com/SuperDroidRobots/RC_Mecanum_PWM/blob/master/RC_Mecanum_PWM/hardware.h.
How does the PWM pin defined in the code correspond with the outputs on the Sabertooth? As I see there is defined one PWM for each motor for controlling speed, and two pins for controlling the direction. When it comes to the Sabertooth I do not understand how to connect this.
I am also wondering about what the LED pins defined are?
- This reply was modified 3 years, 6 months ago by Aleksander. Reason: Spelling error
May 18, 2021 at 4:36 pm #8402AleksanderParticipantThank you. It seems like I get the motor to run by just applying a 3s LiPo battery. Will try to use the Sabertooths. It would be fun to implement the servo drivers and make the robot programable, but righ now I have not time for that. I am doing a school project, and I am about to finsih it very soon. (this is outside my field of studt, and what I am expected to do, but I want to take this a little bit longer).
May 18, 2021 at 1:06 pm #8400AleksanderParticipantThank you for your answer.
I was not fully aware of the difference of servo motor and DC-motor, but I see now that I should have ordered plain DC-motors.
When I was looking at your robots it seemed like that you were using Sabertooth 2×12.
The problem right now is that I have ordered the Sabertooths, and do not have much time left, so I can most likely not wait for new motors and drivers to be delivered.
I have some servodrivers like these https://robokits.download/downloads/RMCS-2303%20updated%20datasheet.pdf. It would probalby be hard to implement your code for these?
- AuthorPosts