RC equipment usually isn't that picky when it comes to pulse and pause lengths. 500 microseconds for pulse and 10000 for pause should be a good starting point.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That code looks okay. I'd probably do things a bit differently but I don't see any big issues. If you want to use my code, check out the PPMOut class and its example.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-04-21
Hm, i have tried to find the differences. but i dont find the catch...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-04-21
btw, i use the following timing params for the code above:
const word PPM_PERIOD = 20000; // microseconds; send PPM sequence every 20ms for 6 channels
const word PPM_LOW = 400; // microseconds; fixed channel sync pulse width in the PPM signal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-04-22
PPM_PERIOD = 20000 is ok for the above code. My problem is: dont know what to pulse & pause in your code. :)
Tried some combin ations but still no luck. The servo at the receiver is shacking in al directions every second
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-04-22
Great, SourceForge won't let me post under my own name again...
Aaah, you should've said that in the first place ;)
400 for pulse, about 4000 for pause should be enough. PPMOut has a variable frame width, I'm not sure how well FRSky will deal with that, but it shouldn't be a problem (a lot of (cheap) transmitters work this way).
If that doesn't work, try replacing updateTimings in PPMOut.cpp with the following:
Hi,
im trying this lib with my FrSKY modules. Got one DHT Hack Module on my Arduino Mini (5V, 16MHz) and a CPPM receiver at my Mega.
Receiver is working (need to use pin 53 for CPPM input)
But the sender... Dont know how to setup the pulse & pause lengths... any help ? :)
Regards, Frederik
RC equipment usually isn't that picky when it comes to pulse and pause lengths. 500 microseconds for pulse and 10000 for pause should be a good starting point.
Hm, cat get it.
got some other code, but i want to use your lib
Last edit: dvdouden 2013-04-21
That code looks okay. I'd probably do things a bit differently but I don't see any big issues. If you want to use my code, check out the PPMOut class and its example.
Hm, i have tried to find the differences. but i dont find the catch...
btw, i use the following timing params for the code above:
const word PPM_PERIOD = 20000; // microseconds; send PPM sequence every 20ms for 6 channels
const word PPM_LOW = 400; // microseconds; fixed channel sync pulse width in the PPM signal
http://diydrones.com/profiles/blogs/why-frsky-cppm-signal-is-so-disappointing
try 18000 or 27000 for PPM_PERIOD, it seems to be what FRSky is using.
PPM_PERIOD = 20000 is ok for the above code. My problem is: dont know what to pulse & pause in your code. :)
Tried some combin ations but still no luck. The servo at the receiver is shacking in al directions every second
Great, SourceForge won't let me post under my own name again...
Aaah, you should've said that in the first place ;)
400 for pulse, about 4000 for pause should be enough. PPMOut has a variable frame width, I'm not sure how well FRSky will deal with that, but it shouldn't be a problem (a lot of (cheap) transmitters work this way).
If that doesn't work, try replacing updateTimings in PPMOut.cpp with the following:
and set pause length to 20000, this will make PPMOut generate a fixed width frame.
Last edit: dvdouden 2013-04-22
Ah! Thanks, will try it later @home!
Ok, patched PPM Code working like a charm :)
My Projekt btw: http://dt.pe/GAl2nw
Great! Glad it works, I'll put in on my patch list :)
And holy f..., is that a remote controlled lawnmower? O_O
DvdOuden (SourceForge acting up again)
Last edit: dvdouden 2013-04-23
It is ;)
Small Video. Much use of the Library (ppmin, expo & dualrate)
http://youtu.be/hcQXAF7YBXM
That's just awesome :)