ER9X HacksFlySky/Turnigy - FrSky
Posted 06 March 2012 - 12:32 AM
When you get to the telementry page on ER9X (by scrolling on the home page, or from r742 on directly with [LONG DOWN]), you can cycle between the basic screen, hub screen (with baro altitude), and GPS screen with [LEFT] [RIGHT]. These pages only appear if a hub is connected to the RX and ER9x sees hub-type frames coming in.
Posted 06 March 2012 - 08:06 AM
Thanks for the explanation.
These pages only appear if a hub is connected to the RX and ER9x sees hub-type frames coming in.
Posted 08 March 2012 - 05:37 PM
Edit/Update: I spent more time with it and after several attempts the Tx finally responded (with a beep) upon a Rx button push. Now the failsafe works. Then I tried again and it appears that setting the failsafe pre-sets is very intermittent. It ignores the button press 99% of the time.
Not sure what is going on. Might be a bad push switch on the Rx, so tomorrow when I have more time I'll try my other FrSky rx. But I won't be surprised if it turns out I am doing it wrong.
Edited by Mr.RC-Cam, 08 March 2012 - 10:48 PM.
Got it to work.
Posted 09 March 2012 - 09:54 AM
I've however read there are 2 firmware "sets" (for TX and RX), the first one (normally stock) that sets failsafe like described in the manual with a press on the receiver's button, while the other set uses the TX's button. Of course the matching set bust be installed on both ends.
I'll have a try with my stuff...
Posted 09 March 2012 - 10:45 AM
Edited by Kilrah, 09 March 2012 - 10:45 AM.
Posted 09 March 2012 - 10:59 AM
BTW, it is interesting that you mention there is another firmware version that involves pressing the Tx button instead of the Rx button. While I was struggling with getting it to work, I recall I did press the Tx button a couple times along the way -- maybe that is the reason I got it to work (without understanding why).
Posted 09 March 2012 - 11:06 AM
Posted 09 March 2012 - 12:07 PM
Also, note that it seems only the "large" RXs (D8R***) do the beep on the TX. I have some D6FRs and D4FRs, and those rather blink the green LED on the RX twice.
All the tests yesterday were with the 8-CH. Today I tried the 4-CH. They both work as you describe. Thanks for the help!
Posted 09 March 2012 - 12:13 PM
Pretty much unrelated, but I checked my 3 modules on the SA. My DHT outputs ~20mW, my DJT about 35mW, and my DHT-U 65mW. That's some quite serious sample variation...
Posted 09 March 2012 - 12:20 PM
That is a bit unusual. If you are measuring it from the SMA connector cable that each Tx module provided, maybe the cable itself is the problem. Especially if they are slightly different in length or the factory used different coax cable brands. Perhaps a good test would be to move the cable on the 65mW Tx to the 20mW Tx and measure again. However, if you measured at the U.FL connector then the issue is in the RF circuitry for sure.
My DHT outputs ~20mW, my DJT about 35mW, and my DHT-U 65mW. That's some quite serious sample variation...
Posted 09 March 2012 - 12:49 PM
Posted 12 March 2012 - 04:12 PM
Then I've tackled the GPS, I didn't want to buy the FrSky unit as I already have tons of modules in my drawers, but obviously that involved finding out what the sensor hub was happy with. Found out with some help that it wants 9600,N,8,1, default NMEA sentences are fine, 1 or 2 Hz. Data is transmitted at 1Hz, but it seems setting 2Hz helps truly getting 1Hz downlink (input and output both at 1Hz but unsynchronised = gaps sometimes).
I purchased the Frsky hub and GPS. The uBlox GPS they use defaults to 9600 baud / 1 Hz. But during power-up the hub reconfigures the GPS to a much faster update (perhaps about 5Hz, but that is just a guess).
Posted 14 March 2012 - 11:00 PM
So I'm on the hunt for a work-around. Despite my distrust of "free" software, I've downloaded two different GPS simulators. The Skylabs GPS demo app was a total bust (would not recognize any com ports on my WIN7 PC). Another one named SatGen was initially helpful, but is buggy and does not provide RMC sentences. So, does anyone know of a good/reliable/trojan-free NEMA simulator that can provide RMC and GGA sentences? I don't want to have to buy it, so hopefully there is something out there that is a freebee.
EDIT/Update: It just dawned on me that my old Garmin Handheld GPS has a NEMA simulator mode. I used it several years ago during a prior GPS project. So I will dig it out of storage and put it to work. With luck, I expect to have more DiY FrSky GPS-Hub progress in the next couple days.
Edited by Mr.RC-Cam, 15 March 2012 - 09:41 AM.
Posted 15 March 2012 - 10:46 AM
Other than that, great news about the PIC job
Edited by Kilrah, 15 March 2012 - 10:47 AM.
Posted 15 March 2012 - 11:54 AM
Well, my solution back during development of the IFOSD was plain and simple... I recorded a few minutes of NMEA into a plain text file, then played that back to the serial port with Hyperterminal, with a line delay to slow it down...
Good idea. I'll use the Garmin's demo mode as a data source and capture an hour's worth of NEMA sentences. Then I'll use your Hyperterm method and play back the file to the Hub so I can work on the GPS parsing code. The reason for doing it this way is because the Garmin eats batteries at a fast rate and using the data from a file eliminates the dead battery issues while I debug.
Posted 15 March 2012 - 02:42 PM
Closer than expected actually, found a wide lens I could use with the camera...
With tracker, Spektrum and everything working fine my FPV Sbach UMX is getting closer
Posted 16 March 2012 - 02:47 AM
Posted 16 March 2012 - 07:20 AM
Posted 17 March 2012 - 12:01 PM
I mapped the GPS's Fix Status and Satellite count into the FrtSky's Temperature2 and Fuel Level registers. So now GPS signal status/quality can be seen on the R/C transmitter's telemetry display screen. I have also increased the update rate to the GPS data. I can do more tricks like this, but I can't think of anything else that should be included. Any wish list items I should consider?
There's a tremendous amount of flexibility in the way the Hub can be implemented. For example, there is room in the FrSky 8-ch Rx to install the Hub chip inside the case. Power would come from the Rx's 3.3V Vreg to eliminate an external Vreg. Or it could be installed on the GPS and steal power from the GPS module's Vreg. Or make it standalone (but it will need 3.3V power).
I'm not too keen on a sloppy dead-bug wired chip and would prefer using a PCB. But if I go to the expense of doing that, I would probably add the baro sensor too. And perhaps some other features. With luck, it could all still fit in the 8-Ch Rx's case.
Kilrah, I know what you had in mind (basic 8-pin chip, a few hand soldered wires, GPS module, and that's it). We have similar needs, but I want it to have a bit more functionality. Especially since the added features are nearly free, so to speak. Do you have any thoughts about this? Is there any interest in a custom PCB?
If there is any further interest in the project then I will spin it off into a dedicated thread. Otherwise, this will just be another one of my many projects that earns a check mark on my DiY bucket list.