ESC not arming wih microcontroller

Started by vinayak_2020, January 30, 2014, 08:18:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vinayak_2020

Hi Guys,
    I recently brought a hobbywing ESC which is am controlling through PIC16f877A.and varying the pulse of 1-2ms through the potentiometer.My problem is the ESC is entering the programming mode when battery is connected.and give beep sound .
According to the Hobbywing manual it says that beep corresponds to
     '' Direction of the throttle channel is reversed, so the ESC has entered the program mode''
My question is how to change throttle direction in pot .Has anybody come across this problem .

Suggestions Required.

Vinayak

AnjanBabu

Never tried with PICs, I work with AVRs and Arduino.
From what I know, your initial pulse is indicating a "full throttle" as you said, so you should probably invert the pot range. Make sure the initial PWM pulse is minimum. The simplest way is to modify your code I guess.
Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com

vinayak_2020


vinayak_2020

Finallly got it working  :). 1ms pulse -- OFF ,2ms -- ON.


regrads,

Vinayak