7
$\begingroup$

I fly an ultralight aircraft. The GPS is a puck-type device from which the TX line runs to the mode-s transponder. The transponder does not readily show if it is receiving position data. The data is NMEA RMC sentences only, serial 4800 baud 1 message / second.

Is there any way to ascertain as part of the preflight check that the GPS is alive and sending some data (how correct is besides the point, for now)? I'm thinking along the lines of connecting an LED in parallel on the TX line which will flash to show data traffic if I press a test switch. Any ideas? Thx

$\endgroup$
  • 1
    $\begingroup$ You could buy a $25 usb TV receiver dongle and have it read the mode s data, to avoid having to modify your equipment. But then you must also always bring a laptop. $\endgroup$ – Sanchises Aug 9 '17 at 8:35
  • $\begingroup$ An arduino might be a better choice than a laptop for that application. $\endgroup$ – GdD Aug 9 '17 at 8:42
  • $\begingroup$ Silly of me not to include the data type and format. Added, thx. $\endgroup$ – Srini Aug 9 '17 at 11:28
  • $\begingroup$ Even if the GPS is outputting NMEA sentences, that doesn't necessarily mean the transponder is receiving them. There could be a break in the connection at the transponder, and your device on the wire before that wouldn't catch that particular failure. $\endgroup$ – Steve Aug 9 '17 at 12:37
  • $\begingroup$ What exact GPS puck/transponder do you have? Could you provide serial numbers? We need to know at what voltage the tx line is running on and whether it idles high or low (whether the voltage on the line is pulled high or low when there is no traffic). If you provide this I can help you out. $\endgroup$ – Murey Tasroc Aug 9 '17 at 15:49
3
$\begingroup$

Your puck (GlobalSat BR355) runs on 5v and the UART line idles high (it is pulled high when there is no traffic). The first thing you need to do is find the power lines that go to the gps puck -- connect wires to these lines (5v and gnd) and run them to the spot where you want the button/led. Then make this circuit:

enter image description here

The value for R1 should be 150 ohms (which will yield under 20ma of current through the LED, assuming your led has a voltage drop of 2.1v (which the ones in the link I provided do have))


Here is a link to a transistor that will work for Q1:

https://www.digikey.com/product-detail/en/central-semiconductor-corp/2N4403/2N4403CS-ND/4806893

Here is a resistor that will work for R1:

https://www.digikey.com/product-detail/en/stackpole-electronics-inc/CF14JT150R/CF14JT150RCT-ND/1830603

And here is a link to a selection of LEDs you can use (all with voltage drop of 2.1v; Any of these should work; just choose a color and form factor that works for your application):

https://www.digikey.com/products/en/optoelectronics/led-indication-discrete/105?k=led&k=&pkeyword=led&pv16=2&FV=1140050%2C4fc0015%2C1f140000%2Cffe00069%2C87c001d&mnonly=0&ColumnSort=0&page=1&quantity=0&ptm=0&fid=0&pageSize=25

Here is a link to a selection of pushbuttons that should work -- just choose a form factor you like (look at the datasheet for the ones with 4 pins -- these are just two pairs of pins (each pair is connected) for mounting ease -- two pins can be harder to mount on a circuit board):

https://www.digikey.com/products/en/switches/pushbutton-switches/199?k=pushbutton&k=&pkeyword=pushbutton&pv130=7&FV=1140050%2C2dc0017%2C3ac000e%2C1f140000%2Cffe000c7&mnonly=0&ColumnSort=0&page=1&quantity=0&ptm=0&fid=0&pageSize=25


I personally recommend you use something like this for the button:

https://www.digikey.com/product-detail/en/e-switch/KS-01Q-01/EG4791-ND/2116270

For this button here is a picture and a schematic (as you can see, the pins on either side of the flat side of the button are connected:

enter image description here

enter image description here

And something like this for the led:

https://www.digikey.com/product-detail/en/cree-inc/C503B-RAN-CZ0C0AA1/C503B-RAN-CZ0C0AA1-ND/6561758


Just wire these components up according to the picture and solder them together -- I'll leave how to mount the switch and the LED up to you but make sure once you are done you cover all the exposed wire with glue and/or electrical tape and/or liquid electrical tape so they don't accidentally short out. Also make sure no exposed wires within the circuit are touching where they shouldn't touch (especially make sure you separate the pins of the transistor because if they accidentally touch the circuit will not work and you may damage your gps receiver -- long story short be careful in your wiring and make sure nothing is touching that shouldn't.

$\endgroup$
  • $\begingroup$ Thx Murey! The puck runs on 5V, so this would mean a higher R1? I will take precautions. I put details of the puck and transponder in an earlier comment. (I'm still learning to use the forum) $\endgroup$ – Srini Aug 9 '17 at 19:54
  • $\begingroup$ By the way I made two changes -- one is that I realized the button must be inline with the base of the transistor for the circuit to work properly (so you can't move it around from where it is in the schematic now) and I changed the resistor value to 150 ohms just to put less stress on the LED (I updated the link to the resistor). $\endgroup$ – Murey Tasroc Aug 9 '17 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.