View: 352|Reply: 1

LD 20-MG

[Copy Link]

1

Threads

1

Posts

15

Credits

new member

Rank: 1

Credits
15
Posted at 2018-5-22 14:16:50 | All floors |Read mode
Hi! Is there anywhere I can find source code for this? I am trying to find the neutral angle of my servo so I can then make some feedback functions to steer a robot I'm making. Does anyone know if there is a code to calibrate the LD 20-MG?

This is the specific servo I have: LewanSoul LD-20MG Full Metal Gear Standard Digital Servo with 20kg High Torque, Aluminium Case for Robot RC Car(Control Angle 180
Reply

Use props Report

24

Threads

57

Posts

508

Credits

administrator

Rank: 9Rank: 9Rank: 9

Credits
508
Posted at 2018-5-23 15:40:18 | All floors
Thank you for bringing this matter to our attention, I'm glad to assist you.

What source code do you mean? If you want to calibrate the LD-20MG servo to neutral angle, you can use a servo teste to make it back to neutral angle, and the LD-20MG servo is PWM servo not bus serial servo, only bus serial servo can give parameter feedback like temperature, position and voltage.

The specification of LD-20MG.
Control Method: PWM
Pulse Width: 500~2500
Duty Ratio: 0.5ms~2.5ms
Pulse Period: 20ms

Pulse widht:500~2500, so the neutral angle is 1500 position, hope this helpful.
Reply

Use props Report

Quick Reply Back to top Back to list