Notifications
Clear all

I need help regarding HSR-2645CRH with PCA9685

4 Posts
2 Users
0 Reactions
1,021 Views
Wolfsbane
(@wolfsbane)
Member
Joined: 4 years ago
Posts: 23
Topic starter  

Hi there I bought 2 HSR-2645CRH continuous rotation servos and I need to connect them to Arduino using PCA9685, I looked over the internet and I could not find

MIN_PULSE_WIDTH
MAX_PULSE_WIDTH
FREQUENCY
 
Anyone can help me to know how to set these values?
 
Thanks

   
Quote
Spyder
(@spyder)
Member
Joined: 5 years ago
Posts: 851
 
Posted by: @wolfsbane

how to set these values

I faced this on one of my robot arms. I modified a std servo to be continuous, and used PWM, but, when I swapped it out for an ACTUAL continuous rotation servo, and tried to use the same code, it failed miserably

If you look at this page, way down near the bottom, you might find what you need

 

image

Now, I used a raspi with the python code for mine, and I haven't tried the curcuit-python for arduino, but Bill has a primer on circuit-python for the rp2040, and support has increased substantially since then

 


   
ReplyQuote
Wolfsbane
(@wolfsbane)
Member
Joined: 4 years ago
Posts: 23
Topic starter  

@spyder Thank you so much for your reply, is it possible to know from where you got that page? so it looks that to accurate results continuous servo is not a good choice, right?


   
ReplyQuote
Spyder
(@spyder)
Member
Joined: 5 years ago
Posts: 851
 

@wolfsbane

On my screen, the color for linked text doesn't show up much different from regular text, so it might be the same for you, but if you look closely, you might be able to notice that the word "this" in the following is highlighted, and will take you to the page where I got that from...

Posted by: @spyder

If you look at this page, way down near the bottom, you might find what you need

There is also a link in the following where it says "primer on circuit-python"...

Posted by: @spyder

Bill has a primer on circuit-python for the rp2040

Now, as to whether or not a continuous rotation or std servo better fits your needs, only you can decide that depending on how it's being used. For me, I have the servo I referenced connected to a set of gears that needed to spin more than 360 in order to move the arm, so I needed either a motor, or a continuous servo, but since I'm not the one designing or building your robot, I'm not in any position to consider which best suits your needs

 


   
ReplyQuote