Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use without remote control #6

Closed
hugokernel opened this issue Feb 13, 2013 · 5 comments
Closed

Use without remote control #6

hugokernel opened this issue Feb 13, 2013 · 5 comments

Comments

@hugokernel
Copy link

Hi,

Thank you for your great work !

I need to control a brushless motor without remote control so that it reaches its maximum speed (or specific speed) immediately after power up (without delay and without startup protection).

I try to modify code (SiLabs with SuperMicro and XP 3A), i don't have problem to remove the delay at start up but i'm not familiar with this instructions set so I find it hard to understand all the code...

Can you give me a little help so that the engine running at a specific speed at startup without remote control.

Thank you very much !

@sskaug
Copy link
Collaborator

sskaug commented Feb 14, 2013

Should be very easy.
What about adding a line here:
t2_int_pwm_exit:
mov Current_Pwm_Limited, #0FFh ; New line added

The Current_Pwm_Limited variable controls the power to the motor.

I have not tried it ;).

@hugokernel
Copy link
Author

Thank you for your answer !

I'm not sure but i think i tried this one and the motor goes full power and slow down to zero immediately, after then goes full power, and the cycle restart indefinitely ...

I wait for a new engine.
I test and i let you know.

@sskaug sskaug closed this as completed Apr 2, 2013
@hugokernel
Copy link
Author

Hi,

Sorry for the delay but my order (XP_3A) took a long time to come...

Your modification (mov Current_Pwm_Limited, #0FFh) work greats but needs to have pwm in input of brushless controller.
If a remove pwm, controller detect problem and motor "buzz".

I try to modify your code for my needs but i don't find solution.

Do you have some idea ?

My modification : hugokernel@3267790

Thank you very much !

@hugokernel
Copy link
Author

Hi @sskaug,

no idea about my last problem ?

Thx

sskaug pushed a commit that referenced this issue Aug 27, 2016
@danyaPostfactum
Copy link

Hi. I need almost the same feature for BLHeli_S, but I'd like to control a speed by a potentiometer.
It's was easy to skip arming and I think I can handle RTX pin as ADC input but it's hard to me to understand how input pwm is measured and affects to output motor pwm. All this timers and interrupts are kind of magic for me. Could anybody give a short explanation how it works? Or at least wich variable is used to control motor pwm? New_Rcp is not the only variable used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants