Thanks Mike, is there any way to change this setting in the code?MikeB wrote:It is set to 57600.
Mike.
Sent from my LG-H815 using Tapatalk
Thanks Mike, is there any way to change this setting in the code?MikeB wrote:It is set to 57600.
Mike.
Thanks yet again Mike
elkayem wrote:On the topic of baud settings, I thought I would add this special note for anyone considering using the 3.3V Arduino Pro Mini instead of the 5V version. I didn't see any reference to the 3.3V version elsewhere on this thread, so I gather most are using 5V. I needed to use the 3.3V version because I am using a Beaglebone Black for my flight computer, which is not tolerant to 5V.
Anyway... the 3.3V version runs at 8 MHz instead of 16 MHz so also requires a small modification to the code. See viewtopic.php?f=95&t=9226 for a lengthy discussion on this topic. This is a very simple change to the code: Change UCSR0A = 2 (was 0) in the function initUart (in file APM_Mavlink_to_FrSky.ino). This change is for the most current commit in Mike's repository (Sept 28), though I did need to go back two commits to get it to work due to some changes in RSSI. It is possible that Mike may decide to make this function work for both 3.3V and 5V versions (wouldn't be hard to make initUart a funciton of F_CPU) but for now this is an easy and simple workaround.
Hopefully someone finds this useful. I must admit that adding the MAVLINK support for my radio has been a terrific upgrade, and shows me all the telemetry I want to see on one screen. Incidentally, I'm flying ArduCopter 3.4-rc4, so it is compatible with the latest builds.
Base on the technical specs for the Arduino Pro Mini, the 3.3V version has an 8 MHz external resonator.Geofrancis wrote:i dont have any problems running 16mhz at 3.3v.
I don't see RSSI or receiver voltage - all zeroes. I guess this points the finger towards either the X8R or the multi-protocol module. The module firmware was compiled with serial enabled and all four telemetry protocols enabled.MikeB wrote:The X8R should be sending RSSI and receiver voltage even if the APM is not working.
Do you see these? Make sure on the telemetry menu you have A1 set to 13.2V so it reads something other than 0.
Mike.
Bingo - "Invert COM1" did the trick and I get RSSI and A1 voltage now. I've not got the Arduino hooked up at the minute, so can't confirm that I'm getting all the data yet. Will get to that later on tonight.MikeB wrote:You need to match the telemetry signal polarity of the 'PRO and the Multi module.
Either flash the Multi module with "INVERT_TELEMETRY" set, of set "Invert COM1" on in the radio. With the 'PRO, the latter is best as the 'PRO includes a programmable hardware inverter on the COM1 input.
Mike.
Got the Arduino in the loop and it all works - full telemetry data on the 9XR Pro - very happy. Just need some decent weather to get the thing in the air nowbenzo99 wrote:Bingo - "Invert COM1" did the trick and I get RSSI and A1 voltage now. I've not got the Arduino hooked up at the minute, so can't confirm that I'm getting all the data yet. Will get to that later on tonight.MikeB wrote:You need to match the telemetry signal polarity of the 'PRO and the Multi module.
Either flash the Multi module with "INVERT_TELEMETRY" set, of set "Invert COM1" on in the radio. With the 'PRO, the latter is best as the 'PRO includes a programmable hardware inverter on the COM1 input.
Mike.
Thanks again, Mike.