Hi,
I tried to use your librairies (ServoTimer2 and ServoDecode) and I have a problem. My transmitter is a Graupner MX 16s.
I used your sample sketch and this is the result :
The decoder is in Failsafe
Cx0= 9628 Cx1= 1500 Cx2= 1500 Cx3= 1491 Cx4= 1500 Cx5= 1490 Cx6= 1517 Cx7= 1881 Cx8= 1087
Ch1= 1877 Ch2= 1488 Ch3= 1491 Ch4= 1488 Ch5= 1489 Ch6= 1512 Ch7= 1880 Ch8= 1088
Ch1= 1878 Ch2= 1488 Ch3= 1492 Ch4= 1487 Ch5= 1490 Ch6= 1517 Ch7= 1880 Ch8= 1087
Ch1= 1878 Ch2= 1488 Ch3= 1490 Ch4= 1489 Ch5= 1488 Ch6= 1517 Ch7= 1880 Ch8= 1088
Ch1= 1877 Ch2= 1488 Ch3= 1490 Ch4= 1488 Ch5= 1489 Ch6= 1517 Ch7= 1500 Ch8= 1500
The decoder is in Failsafe
Cx0= 9628 Cx1= 1500 Cx2= 1488 Cx3= 1490 Cx4= 1489 Cx5= 1490 Cx6= 1518 Cx7= 1880 Cx8= 1088
Ch1= 1878 Ch2= 1487 Ch3= 1491 Ch4= 1489 Ch5= 1490 Ch6= 1511 Ch7= 1880 Ch8= 1088
Ch1= 1877 Ch2= 1488 Ch3= 1491 Ch4= 1488 Ch5= 1490 Ch6= 1517 Ch7= 1881 Ch8= 1088
Ch1= 1878 Ch2= 1487 Ch3= 1490 Ch4= 1488 Ch5= 1490 Ch6= 1518 Ch7= 1880 Ch8= 1087
The decoder is in Failsafe
Cx0= 9628 Cx1= 1500 Cx2= 1500 Cx3= 1485 Cx4= 1500 Cx5= 1500 Cx6= 1500 Cx7= 1880 Cx8= 1089
Ch1= 1873 Ch2= 1488 Ch3= 1491 Ch4= 1488 Ch5= 1490 Ch6= 1517 Ch7= 1880 Ch8= 1089
Ch1= 1878 Ch2= 1488 Ch3= 1490 Ch4= 1488 Ch5= 1490 Ch6= 1517 Ch7= 1880 Ch8= 1088
Ch1= 1878 Ch2= 1488 Ch3= 1491 Ch4= 1487 Ch5= 1490 Ch6= 1514 Ch7= 1880 Ch8= 1088
The decoder is always going on failsafe and even with ServoDecode.setFailsafe() the output servos is moving. I tried to put a servos on the output of the receiver and this servos had also noise when the receiver is connected to the Arduino).
I tried with digitalWrite(8, HIGH); and the servo connected to the receiver didn't have noise any more but I have the same problem of failsafe.
Do you have an idea of the problem? and why even with ServoDecode.setFailsafe() the servo had noise ?
Thanks.