heli_madken
New Member
Hi,
I am in to Radio Control Helicopters and I am currently working on a twin rotor helicopter (if you are interested thread here - http://www.rcgroups.com/forums/showthread.php?t=679820) using two seperate motors controlled by Electronic Speed Controllers (ESC).
I have been experiencing a problem balancing the RPM of both rotors, amazingly there are no commercial products that can do this so I set myself a task of building my own.
I bought myself an AXE025 Servo Driver based on the 08M chip. After a false start mistakenly using analog input I got great help on this forum to put that right and now I have one servo (using servos to test rather than ESC's) working using the following code -
Do_loop:
pulsin 3,0,b0 (digital input from receiver on pin 3)
pulsout 1,bo (servo connected to pin 1)
goto Do_loop
I have the servo powered from a seperate supply to eliminate noise (common ground), however although it works I can see tiny oscillations form the servo when at rest is this normal?
The next stage is to connect a second servo on pin 2 in which case the code will be -
Do_loop:
pulsin 3,0,b0 (digital input from receiver on pin 3)
pulsout 1,bo (servo/ESC connected to pin 1)
b0 = b0 + 1 (modified output)
pulsout 2,b0 (servo?ESC connected to pin 2)
goto Do_loop
The idea being that I can modify the output to the second channel to speed up one or other of the motors to match the other.
Am I on the right track with this will modifying the value of b0 work in this way?
Thanks for any help, Ken
I am in to Radio Control Helicopters and I am currently working on a twin rotor helicopter (if you are interested thread here - http://www.rcgroups.com/forums/showthread.php?t=679820) using two seperate motors controlled by Electronic Speed Controllers (ESC).
I have been experiencing a problem balancing the RPM of both rotors, amazingly there are no commercial products that can do this so I set myself a task of building my own.
I bought myself an AXE025 Servo Driver based on the 08M chip. After a false start mistakenly using analog input I got great help on this forum to put that right and now I have one servo (using servos to test rather than ESC's) working using the following code -
Do_loop:
pulsin 3,0,b0 (digital input from receiver on pin 3)
pulsout 1,bo (servo connected to pin 1)
goto Do_loop
I have the servo powered from a seperate supply to eliminate noise (common ground), however although it works I can see tiny oscillations form the servo when at rest is this normal?
The next stage is to connect a second servo on pin 2 in which case the code will be -
Do_loop:
pulsin 3,0,b0 (digital input from receiver on pin 3)
pulsout 1,bo (servo/ESC connected to pin 1)
b0 = b0 + 1 (modified output)
pulsout 2,b0 (servo?ESC connected to pin 2)
goto Do_loop
The idea being that I can modify the output to the second channel to speed up one or other of the motors to match the other.
Am I on the right track with this will modifying the value of b0 work in this way?
Thanks for any help, Ken
Last edited: