Developer
Intercept the PPM signal is the best way to obtain all the channels from any receiver, for a lot of reasons. The first one is performance, and the second is the simplicity (in code =P). This hack is based on this tutorial from Paparazzi Autopilot.For more information about the PPM frames click here.For this hack i'm using a Futaba receiver FP-R127DF. Almost all the Futaba receivers came with the BU4015BF Shift Register chip, if your are able to locate this chip, you just need to solder a single wire in the pin 1 or 9 (clock), and you are done!Here is the Data Sheet of the IC:BU4015.pdfAnother good way to find the PPM signal pin is using this code with arduino:void setup(){Serial.begin(57600);pinMode(3, INPUT);}void loop(){Serial.println(pulseIn(3, LOW));}Then upload the code to arduino, and with a wire connected to the pin 3, start touching all the pins and spots you can of you receiver (don't forget to also connect ground to ground), until you see random values between 300 to 9000 on arduino terminal (that means you found it).After that, just solder a wire on it and use this code to decode all the channels:#define channumber 4 //How many channels have your radio?int value[channumber];void setup(){Serial.begin(57600); //Serial BeginpinMode(3, INPUT); //Pin 3 as input}void loop(){while(pulseIn(3, LOW) < 5000){} //Wait for the beginning of the framefor(int x=0; x<=channumber-1; x++)//Loop to store all the channel position{value[x]=pulseIn(3, LOW);}for(int x=0; x<=channumber-1; x++)//Loop to print and clear all the channel readings{Serial.print(value[x]); //Print the valueSerial.print(" ");value[x]=0; //Clear the value afeter is printed}Serial.println(""); //Start a new line}This a video where you can see everything i explained in action:
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • interestingly my dirt-cheap 4 channel receiver that i bought with the intention of doing this too also has a 4015 ic.
    As a foot note - the 4015 is part of the 4000 series logic chips, so it has many manufacturers, for example, Philips makes the HEF4015 which is pin compatible with the BU4015.
This reply was deleted.