Various motor related parameters

15 views
Skip to first unread message

Pito Salas

unread,
Jul 18, 2025, 9:45:35 AMJul 18
to LINOROBOT
I don't have the spec sheets for my motors (as they came from my junk box) so I am guessing a little. 

Juan or anyone, can you help with these little clarifications? Thanks!

  • MOTOR_MAX_RPM - Motor's maximum number of rotations it can do in a minute specified by the manufacturer.


    >>> I picked 200 but when I run the test motor script the fastest RPM I see is 145. Does it matter? Should I change it?



  • MAX_RPM_RATIO - Percentage of the motor's maximum RPM that the robot is allowed to move. 


    >>> I set this at 0.7 just because my robot was showing that behavior that it turns a little every time it stops and one of your FAQs suggested this.


  • MOTOR_OPERATING_VOLTAGE - Motor's operating voltage specified by the manufacturer

     >>> I have no idea about this. I put in 12V. Does it matter. Do I need to figure out how to measure it?


  • MOTOR_POWER_MAX_VOLTAGE - Maximum voltage of the motor's power source. 

    >>>. Again No idea so I put in 12 again


  • MOTOR_POWER_MEASURED_VOLTAGE - Measured voltage of the motor's power source. If you don't have a multimeter, it's best to fully charge your battery and set this parameter to your motor's operating voltage (MOTOR_OPERATING_VOLTAGE). This parameter is used to calculate the motor encoder's COUNTS_PER_REVconstant. You can ignore this if you're using the manufacturer's specified counts per rev.


    >>> I reverse engineered the counts per rev by experimentation.


Reply all
Reply to author
Forward
0 new messages