I just flashed Arduplane firmware V3.9.4 into an OpenPilot Revolution board using iNAV configurator in Google Chrome. Gyro works as seen in HUD of MP. However when I do radio calibration, the screen appears as attached, and not allowed to calibrate. Servos do not move in response to Tx stick. Rx works when bypassing the Revo board.
Since Arduplane V3.9 is the first version capable to run on non-Pixhawk FC (in my case, Revo) using ChibiOS, is there something to do with this OS! ? What should be done to configure the radio , RC parameters in Configuration tab of MP ?
Looks to me like a Mission Planner GUI issue. If you check the status bar for the values, you can do the setup manually by changing RCn_MIN, RCn_TRIM, and RCn_MAX in the full parameter list. (n is the channel number) The first 4 are the most critical to get correct, but if theāre off a few PWM, itās going to be alright.
Really thank you for your help. Attached are the screen captures of the status tab for RC 1-4 in and out, and also RC 1-4 in Full parameter list. The appropriate values are there already.
But the servos still donāt move. It seems the PWM signal received by the Rx do not get through the Revo board. (I connected the servo directly to the Rx, bypassing the Revo board, the servo moved.) When I power up the Tx, the āNo receiverā message still appear in HUD. Usually this message disappears when I switch on the Tx.
The servos do move when I tilt or roll the Revo board, just the radio signal canāt get through.
It shows that your channel 3 in is zero. Also make sure your mode channel has values. Channel 1,2, and 4 look like theyāre getting good inputs. Once 3 has input, I bet that will clear things up.
Switch to manual mode or FBWA to get servo movements. RTL doesnāt work well for setup.
re-bind the Rx at 100% throttle travel (instead of -150% to program throttle failsafe)
uncheck the throllte failsafe box in failsafe page of MP, mode becomes manual, still canāt change the mode.
checked the wiring, including the flight mode, they are correctā¦the orange wire from the Revo board goes to the Gear channel of Rx, and the set up in the Tx for flight mode has been used in many instances, including plane and quadcopter, proved to be okay.
checked that there is 5V supplied from BEC to the output pin of Revo.
Switched to manual, FBWA or whatever mode, still no receiver.
I agree with you that if I can get Ch3, the problem will be solved. But how ? Weird.
The last screenshot (of all the 3) shows RC2 to RC4 which includes RC3.
Sine the last email, I flashed the Revo board back to its original firmware, configure it to work on LibrePilot GCS 16.09, and everything works fine, including radio. This is to prove the board works alright.
But when I flash it back with arduplane, and using the same components, same ESC, same motor, same Rx, the same thing happens againā¦āNo RC receiverā on HUD shows as soon as Tx is power up. From my past experience with MP, whether on arduplane or arducopter(incl trad heli), on both APM2.6, Pixhawk and Pixhack, all the channels connected should have signal show up in Radio Calibration page, and āNo RC receiverā message should disappear when Tx is ON.
Further to my last email, pls find attached the photo of my Revo board connection :ā
Ch1, Ch 2 and Ch 4 ----- connected to 3 servos for aileron, elevator and rudder
Ch 3 ---- connected to BEC of ESC, and 5V output confirmed by voltmeter when Lipo is plugged in.
Arduplane 3.9.4, MP 3.6.1, DX7s.
ESC and Rx proved to work when board is flashed with Revo original fw.
FYI, when I flashed the board with arduplane using iNAV, I chose āFull chip eraseā, so all the setting for original Revo is erased, and should not affect the board when running arduplane. Do you agree ?
The arduplane firmware (arduplane with bl.hex) is found here :ā
Pls refer to the middle of this page of the following link, and draw attention on ChiBios related to the support of Revo board by Ardupilot. Not sure if this poses any problem.
@wcfung1 that picture was very helpful. ardupilot revo(mini) port does NOT support per-channel PWM input, see http://ardupilot.org/copter/docs/common-openpilot-revo-mini.html for reference. it requires to use a single wire collective / sum RC signal like PPM or sBus on the RCInput pin. on fullsize revolution you want to connect your RC receiverās sum signal to your FCās input Ch3 (yellow wire) per default. thatās the 7th pin (incl. GND and Vcc) on the 10-pin Flex-IO port.
cheers, basti.
PS: on a second look i see the wiring picture on top of the revolution(mini) hardware page is somewhat misleading regarding RC input, while the text part is correct. iāll get that fixed.
this is the diagram aligned to ardupilot port specs:
@wcfung1, Iām sorry I donāt have experience with the Revo Mini, but it looks like @vierfuffzig cleared things up! If you want more information about compatible radios, this wiki article might help.
The radio works right away as soon as I connected an original PPM Sum encoder (see attached) between the Rx and Revo. By trial and error, the flight mode male to male cable from channel 5 (usually gear channel) of Rx has to go to PWM 8 (the last pin set of encoder) instead of PWM 5.
Now another problem still exists. I set up 6 flight modes in Tx. All the 5 modes work, except when I switch to AUTO, the HUD shows RTL mode which is the next mode. However, when in AUTO mode, the PWM values fall within the pre-set range of that mode and I set that as AUTO. But the HUD and the speech all indicate RTL. See attached screenshot. Any clue on whatās gone wrong ? I am not a developer and canāt solve this kind of porblem.
Will try another encoder and let you know the outcome.
The same thing happen as with the other encoder, that when I switch to Flight mode 2, the PWM values fall within the pre set range, but HUD and speech indicate RTL mode, instead of AUTO. I then tried all other modes for Flight mode 2, they work well. So there may be something to clear up.
For Auto mode to work, you will need to plan and upload a mission. In the absence of any waypoints or a takeoff for command, it will automatically switch to RTL.
Thank you for reply. In fact, the AUTO flight mode works today when I switch to Auto, without
planning or uploading a mission. So no waypoint or take off command, it still works. And this is the case in many instances when I first set up FCs such as APM2.6, Pixhawk or Pixhack.
The FC accepts the command from Tx and switches to that mode, without executing the command in the
Correction to my last email regarding AUTO mode. I mixed up with other set up which I am doing at the same time. This set up is AMP2.6 running Arduplane. The AUTO mode works without planning or uploading a mission.
When I go to another set upā¦Revo board running Arduplane, it works as you described in your last emailā¦ that you have to plan or upload a mission and the AUTO mode works. When I delete the mission and waypoints, AUTO modes becomes RTL. Sorry for the confusion.
There is a lot to learn and so many things to remember, and it is up to the developer to decide on how the board runs.
Thank you for updating the hardware page. In the photo, it shows telemetry radio is connected to either main port of flexi port.
I have got an Optilink ground module to work with the 433MHz built-in modem. But this telemetry set up does not work when the board runs on Arduplane, and the Mavlink protocol does not work in Revo board. Pls confirm, and advise what radio/protocol can be used in Revo when running on Arduplane.
Also when Revo runs on Arduplane, how do we monitor volatge and current since there is no port for power module on Revo as we have in APM2.6 or Pixhawk ?
mainport is the default serial telemetry port (SERIAL1), using mavlink at 57kbaud per default.
flexiport (SERIAL3) defaults to GPS.
i donāt have a fullsize revo myself, only revomini, but afaik the fullsize revoās onboard 433Mhz modem is not supported under ardupilot fw. unless youāre using a bidirectional RC system, youāll most likely want to use a separate telemetry modem connected to mainport.
for battery monitoring check the connection diagrams, thereās voltage and current pins on the sonar port. you can either connect a standard ardupilot-type current sensor with 3.3V adc output or use a simple current divider for voltage monitoring like this: https://opwiki.readthedocs.io/en/latest/user_manual/revo/voltage_current.html