View Full Version : Question running an esc with pic 16f84a
twmtwo
Apr 28, 2008, 04:55 PM
Hi
Can you help ? I would like to be able to use a pic 16f84a ( the reason is I have these available and also the equipment to prog. them ) to send a message to the esc so that I can control the esc. I have been able to write a program to control the servos with the pic and I thought that the wave form was the same to the esc but it appears not. Can you help with a not too technical reply please as I am a bit of a simpleton in the electronics field
thanks
Twmtwo
mike50
Apr 28, 2008, 05:15 PM
The pulses you send to an RC ESC are the same as what you send to a servo.
Mike
twmtwo
Apr 28, 2008, 05:34 PM
The pulses you send to an RC ESC are the same as what you send to a servo.
Mike
Hi Mike
Thanks for the fast reply. I thought that this was so but the esc does not respond to it I have tried sending pwm of 100ms to 200ms no luck and then I thought that the esc had to be initialized with a 0ms or 1ms pulse to start it still no luck. The servo works fine with the range of 150ms as centre and + and- 50ms at freq.of 50-60mz but no luck with the esc. I said that I was no good with electronics and was wondering what stupid thing I am doing wrong !!
twmtwm
bearcreek
Apr 28, 2008, 06:51 PM
I had difficulty getting a microcontroller that operated a servo to work on an esc also. It seems that if I change timing quickly the esc thinks it is a radio glitch and refuses to respond. So I made sure that the program starts with exactly 1ms pulses, waiting a few seconds for the esc to decide that it is at 0% throttle (and beep), then the program loops so the timing gradually changes by about 1% per cycle. Also you might want to make sure that your cycle time is close to 20ms.
twmtwo
Apr 29, 2008, 02:49 AM
Hi
Can you help ? I would like to be able to use a pic 16f84a ( the reason is I have these available and also the equipment to prog. them ) to send a message to the esc so that I can control the esc. I have been able to write a program to control the servos with the pic and I thought that the wave form was the same to the esc but it appears not. Can you help with a not too technical reply please as I am a bit of a simpleton in the electronics field
thanks
Twmtwo
Thank you BEAR CREEK it works after a vast ammount of time trying to crack this problem your advice solved it in half an hour
cheers
Malc C
Apr 29, 2008, 01:28 PM
1ms - 2ms pulse width repeated every 20ms is regarded as a "standard" PPM signal. 1ms representing low stick, 2ms high.
vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.