Hope somebody could help me with a simple code. I'm using an arduino uno and need to convert/change a PPM signal. The arduino will receive a PPM signal with value between, say 1000-2000. (from rc radio reciever) The arduino needs to output a PPM value with a pre programable range. for an example: PPM value input = 1000 - output = 1500 PPM value input = 1500 - output = 1600 PPM value input = 2000 - output = 1700 Also the full range within. so the variable range 1000-2000 must become a variable range like 1500-1700.
best if it is capable to run on an attiny. (dont know if this is posible) please the full code, i know the basics but im not a genius programmer haha
Purpose: my servo device is way over sensitive. full input range of the devicem is between value 1450 to 1600 (aprox) so 1000-2000 is pretty out of range. The device is is extremely sensitive en freaks out when the ppm is out of range. I would like to place the atmega/attiny inline with the servo leads. then re-calculate the proper ppm range
This is all the arduino has to do.
with kind regards Robbert Loos