Can someone please advise me of the command for SERVO code to running a RC motor.
I'm using: PICAXE Program Editor Ver.5.2.0
With the following codes I would like to make a (power steering)/controller for this Speed Controller.
Speed controller type: Brushless Motor Speed Controller HV-45A
Web-link: http://www.himodel.com/electric/HiModel_AS_Series_3-10S_Brushless_Motor_Speed_Controller_HV-45A.html
Motor show: Børsteløs motor Airbus A330.jpg
The motor is running very uneven .
Do you have a proposal for a programcode, where the motor would run smoothly and even?
Maybe the puls must be with 20ms pause and 1 to 2 ms puls
Would the command ”pulsout” be better than ”Servo”?
Codes:
init: servo 5,75
main:
servo 5,75 ' move servo to one end
pause 500 ' wait 500 mSec
servo 5,150 ' move servo to centre
pause 500 ' wait 500 mSec
servo 5,225 ' move servo to other end
pause 500 ' wait 500 mSec
goto main ' loop back to start
With all best regards to all of you
I hope that one here will help me out.
Best regards
Monie
I'm using: PICAXE Program Editor Ver.5.2.0
With the following codes I would like to make a (power steering)/controller for this Speed Controller.
Speed controller type: Brushless Motor Speed Controller HV-45A
Web-link: http://www.himodel.com/electric/HiModel_AS_Series_3-10S_Brushless_Motor_Speed_Controller_HV-45A.html
Motor show: Børsteløs motor Airbus A330.jpg
The motor is running very uneven .
Do you have a proposal for a programcode, where the motor would run smoothly and even?
Maybe the puls must be with 20ms pause and 1 to 2 ms puls
Would the command ”pulsout” be better than ”Servo”?
Codes:
init: servo 5,75
main:
servo 5,75 ' move servo to one end
pause 500 ' wait 500 mSec
servo 5,150 ' move servo to centre
pause 500 ' wait 500 mSec
servo 5,225 ' move servo to other end
pause 500 ' wait 500 mSec
goto main ' loop back to start
With all best regards to all of you
I hope that one here will help me out.
Best regards
Monie
Attachments
-
7.6 KB Views: 11