GPS beep alarm

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
Post Reply
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

GPS beep alarm

Post by AlexLmm »

Hi,

Is it possible to make fast beeping on 0 satellites GPS status read from FRSky telemetry?

Thank you.

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

Is this using either a Teensy or an Arduino to convert Mavlink to FrSky?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

Hi Mike!

I use Arduino to feed NAZA GPS info to my Turnigy 9X with FRSky module + telemetry mod. I can see GPS satellites amount at the screen, and it would be very useful to beep alarm when they go to 0. It happens sometimes.

Can it be done somehow?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

The number of sats is sent as part of the TEMP2 value. It contains 10 times the number of sats plus the state of the GPS fix.
So if the number of sats goes to 0, the value of TEMP2 will be less than 10.
Set an alarm to monitor TEMP2 for being less than 10.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

This is great! Thank you!

I've just looked at ER9x_Manual_2015-v01 for how to set an alarm to monitor TEMP2, and couldn't find any info. Is there a newer tutorial, or I just missed something?

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

What revision of er9x are you running (SVN: on the version menu)?
You may use a "Voice Alarm", even without a voice module, you may use an Audio output.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

er9x-mav-r13
v1.86-4ref 6nt
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

Ahh, not an "official" one from me then!
What Tx do you have, does it have a mega128 processor?

I'm not sure what alarm features that version has in it. Have a look at the safety switches. Can you change the 'S' to 'A', 'V' and 'X'?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

Yes, it's Turnigy 9X with atmega128. Somebody recommended me this FW long time ago :)

Do I need to upload newer FW now? Or it still can be done with the current one?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

Go here: viewtopic.php?f=5&t=4598#p64969, and download "er9xProv821g_multiDSM-2.zip".

You need er9x-128.hex from the .zip file.
BEFORE you flash, backup your existing EEPROM in case you wish to revert to the firmware you have now.
There will be a lot of changes, but support for Mavlink over FrSky is now included (it doesn't fit in the mega64).

You will find a manual that should help here: viewtopic.php?f=5&t=6473.

Assuming you have done the telemetry mod, to get the telemetry in the first place, you need to set "FrSky Mod Done" in the hardware menu. For safety, the Hardware menu is protected from accidental access. To enable it, hold the left horizontal trim to the left at power on.

The telemetry menu includes a "Usr Proto" entry, change this to ARDUP or ARDUC to enable the Mavlink processing and the special display.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

That's just remarkably helpful info! Thank you very much for that!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

Hi Mike,
I finally uploaded a FW but got a strange problem - some constant noise starts immediately from the beeper. What can be the reason?
After reflashing old FW the noise has gone.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

Possibly there is some alarm that is set.
With the new firmware flashed, try creating and selecting a new model and see if the noise is still present.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

I have to clarify - this noise happens only when USBASP is connected and starts right after flashing. When I switch on the radio without USBASP everything looks fine. Alarms are working properly.
That strange noise is not a "beep" sound it's kind of AC current rattle.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

That sounds like the USBASP is not disconnecting properly after flashing. If it is OK with the USBASP disconnected, then I would think there is no real problem.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

I wonder why it's not happening with the older FW.
I think it's okay besides that. I have now GPS alarm set and very happy with that!
Thank you so much for great support and amazing FW!

Just in case - is this correct that there is no way to trigger the alarm only when it changes from any amount of sats to zero, not before it found some sats after first start?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: GPS beep alarm

Post by MikeB »

What settings are you using to get your alarm?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
AlexLmm
Posts: 37
Joined: Mon Oct 03, 2016 11:28 pm
Country: -

Re: GPS beep alarm

Post by AlexLmm »

T2=
v<val
Value = 10C
Rate = 2
Haptic = Haptic3
Play Source = No
On No Telemtry = Mute

Post Reply

Return to “er9x”