First, I should mention that ArduCopter works fine with both the MatekH743 and mRoX21. I should also mention that other examples compile, deploy and run fine - with RC working as one would expect.
However, I’m having trouble getting the RC-related examples (RC_Channel and RCInput) to work. I receive either no output at all, output showing zero channel activity, or just zero channels. No joy with either the MatekH743 and mRoX21. I don’t have any other board to try them with.
Are these examples up to date? Do they work fine for other people?
Good day, im using mro x2.1 red board and also the mRo x2.1 777 without any issue.
Did you check the correct pinout from the x2.1 fc pins to the receiver?
You must connect the receiver following these pins SIPI-VCC-GND…, just check also the correct wiring on the receiver.
Just be sure also you have bind your receiver with the rc
Yes, like I said, ArduCopter works, so it is connected properly. It is the example code that doesn’t work. Is there no software config necessary for the example code? Because that’s the only thing it can be…
Unfortunately, I still cannot get the RC_Channel example to work. The following param ensures that SBUS is selected, which is correct for my case: // @Param: _PROTOCOLS AP_GROUPINFO("_PROTOCOLS", 34, RC_CHANNELS_SUBCLASS, _protocols, 8),
Like I said, the RC portion of Arducopter itself (i.e. the full program) works fine, which is very odd. I have no idea why the example doesn’t. I have had no problem getting the non-RC-related examples working.
I encountered your exact same problem. Not on Matek or mRoX21, but in the CubeBlack and also on Pixhawk 2.4.8, and also not with Sbus, but with normal PPM signal.
The case I have is like this:
If I upload Arducopter, with my RC PPM signal connected, everything works fine. I can see the signals as I move them.
If I run RCInput, RC_Channel, RCInputToRCOuput examples, the codes compile correctly as they are, and run when my transmitter (the one with the joysticks) is off. However, when I turn it on, it completely stops spitting out anything on the serial, and basically freezes the serial port entirely. I have to actually disconnect and connect it back so that is does something reasonable. After this, again, I can upload normal arducopter and see the signals perfectly, but the examples don’t run.