Andrei IRL
Senior Member
Hello everyone.
I have the need to accurately control the speed of a DC Motor.
I'll be using PICAXE at 4Mhz.
The motor itself is rated for 5.3 RPM @24V through the use of a gearbox.
I need to run the motor at 3 RPM, so 56.6% duty cycle.
Is the code below correct to achieve that?
Many thanks in advance.
Scrap that lads, i have found Wizard in Picaxe editor.
I have the need to accurately control the speed of a DC Motor.
I'll be using PICAXE at 4Mhz.
The motor itself is rated for 5.3 RPM @24V through the use of a gearbox.
I need to run the motor at 3 RPM, so 56.6% duty cycle.
Is the code below correct to achieve that?
Many thanks in advance.
Code:
PWMOUT C.2, 254, 580
Scrap that lads, i have found Wizard in Picaxe editor.