melka
Jul 29, 2008, 02:25 AM
Hi there
I'm new to this board, so I hope I don't post an already answered question, even though my search didn't return any result...
I've designed a simple PPM Encoder circuit using a 4017 and a 555, like a lot of people ^^
By what I read on the PPM "protocol", each control pulse for each servo must be between 1 and 2 ms HIGH long, with 1.5ms being the middle position of the servo. Between each servo control pulse, I have a really small low pulse (around 35us I think). A 2ms minimum LOW pulse is used to tell the receiver that all the data has been sent and a new frame is starting.
Usually, a frame is 20ms long, so 20-2=18 > 9 servos can be controlled.
My question is about this frame duration... Let's say I have 4 channels on my system and that I turn all my servos to the left, so I'll have 4x1ms HIGH pulses.
First thing : Do I have to add a 1ms LOW after each pulse so that each servo control pulse is 2ms long ?
Seconde thing : Does my frame must be 20ms long ? In this case, I'll have to add a 20-(2*nb of servos)ms LOW pulse to achieve it.
Can't I just go with control pulse HIGH / small LOW pulse / ..... / 2ms Synchro LOW pulse ?
Thanks a lot of every infos ^^
I'm new to this board, so I hope I don't post an already answered question, even though my search didn't return any result...
I've designed a simple PPM Encoder circuit using a 4017 and a 555, like a lot of people ^^
By what I read on the PPM "protocol", each control pulse for each servo must be between 1 and 2 ms HIGH long, with 1.5ms being the middle position of the servo. Between each servo control pulse, I have a really small low pulse (around 35us I think). A 2ms minimum LOW pulse is used to tell the receiver that all the data has been sent and a new frame is starting.
Usually, a frame is 20ms long, so 20-2=18 > 9 servos can be controlled.
My question is about this frame duration... Let's say I have 4 channels on my system and that I turn all my servos to the left, so I'll have 4x1ms HIGH pulses.
First thing : Do I have to add a 1ms LOW after each pulse so that each servo control pulse is 2ms long ?
Seconde thing : Does my frame must be 20ms long ? In this case, I'll have to add a 20-(2*nb of servos)ms LOW pulse to achieve it.
Can't I just go with control pulse HIGH / small LOW pulse / ..... / 2ms Synchro LOW pulse ?
Thanks a lot of every infos ^^