I have a project that reads pwm servo signals from an R/C receiver using the pulseIn() function. It works just fine with one exception - the signals from a Spektrum receiver connected to an Avian SMART speed controller (ESC). These signals have some telemetry data impressed on them that appears to messes with pulseIn(). Other, simpler devices don't seem to have the same problem so presumably there is a fix.
The signal from the throttle channel will be just the one signal, no fancy telemetry.
Are you using the above or trying to implant ibus or any other single line multiple info data stream.?
I'm not looking to make an ESC. I'm looking for how to extract the servo control signal from a receiver/ESC combination that combines the servo PWM signal with telemetry data returned by the "SMART" ESC to the receiver over the same signal line. The regular Arduino pulseIn() function won't read it.
Yes, but that isn't the issue I'm dealing with. The receiver already decodes the transmitted signal. I'm wanting to separate telemetry data sent by an ESC to the receiver from the PWM pulse sent by the receiver to the ESC over the same signal line. The telemetry data seems to prevent Arduino's pulseIn() function from reading the PWM pulse correctly.