Hi all, its been a few years since I last posted on the forum - still working with Picaxe projects but slowing down a bit these days.
I have run into a problem trying to interpret serial data. I have an RC crane model which is controlled with an RC transmitter / receiver. I want to replace the transmitter / receiver with a Picaxe to allow the crane to work autonomously. The crane is connected to the RC receiver using a serial connection which allows multiple functions (raise/lower, left/right, in/out) to be sent over a standard 3 wire servo cable. I can't find any information on the serial protocol, so I have connected the receiver to an oscilloscope and captured the serial output which I have saved into the attached spreadsheet so that I can chart it to help me understand it. Each data bit seem to be about 25us - 26us in length which equates to a baud of about 38400. The problem is interpreting the data to see if I can generate a similar serial output using a Picaxe. The data doesn't appear to conform to 8n1 - it just seems to be a stream of 40 bits. This pattern repeats every 20ms. The good news is I can see data bits changing as each crane function is selected.
Any assistance interpreting the data and determining if I can generate a similar output with a Picaxe would be appreciated.
I have run into a problem trying to interpret serial data. I have an RC crane model which is controlled with an RC transmitter / receiver. I want to replace the transmitter / receiver with a Picaxe to allow the crane to work autonomously. The crane is connected to the RC receiver using a serial connection which allows multiple functions (raise/lower, left/right, in/out) to be sent over a standard 3 wire servo cable. I can't find any information on the serial protocol, so I have connected the receiver to an oscilloscope and captured the serial output which I have saved into the attached spreadsheet so that I can chart it to help me understand it. Each data bit seem to be about 25us - 26us in length which equates to a baud of about 38400. The problem is interpreting the data to see if I can generate a similar serial output using a Picaxe. The data doesn't appear to conform to 8n1 - it just seems to be a stream of 40 bits. This pattern repeats every 20ms. The good news is I can see data bits changing as each crane function is selected.
Any assistance interpreting the data and determining if I can generate a similar output with a Picaxe would be appreciated.