1
\$\begingroup\$

I'm trying to get nav signals from my flight simulator to my hand held GPS. The GPS (an Aera 796) sits in a cradle with bare wires coming out that would normally be tied into devices and power behind the panel of a plane. Here's the install pinout diagram for hooking to a Garmin GTX 345 as an example: Hard wire installation in plane diagram

I have a USB to RS232 cable coming from the PC. The PC and sim software are configured to transmit nav data on COM1. The Blue and Yellow wires coming from the cradle are hooked to a DB9 connector and plugged in to the USB/232 coming from the PC.

Power to the cradle comes from a DC power supply plugged in to the wall, not from the PC. So the cradle Red and Black wires are connected to the power supply, not the 232 pins. Setup looks like this: RX and TX go to PC, but PWR/GND go to wall

The problem I'm having is that this worked great once, but every other time it either doesn't get a signal from the PC or gets it intermittently. For instance, yesterday I could get a one-time position update by manually touching the purple wire coming from the cradle to pin 6,7, or 8 on the DB9 terminator (the green one in the picture), but it didn't continually update. I would have to pull the wire out and reinsert, then the plane position would update on the Aera.

It did all work flawlessly one time wired as shown, which makes me think I got lucky and something isn't wired correctly. I'm a software guy, so all I know about electronics is that if I wire it too wrong something will smoke. Any thoughts/advice are greatly appreciated.

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

RS-232 does not care if power comes from somewhere else.

However, data transmission needs a common ground reference to work.

The two wires might suffice if the devices had a common ground like through power supplies, but some power supplies have floating outputs.

You need to connect grounds together.

\$\endgroup\$
8
  • \$\begingroup\$ Sounds awesome! Any idea how I would go about doing that? I need 5yo type instructions, like "connect the purple wire to pin 8 on the DB9". Thanks very much for your help!! \$\endgroup\$ Jan 29, 2023 at 15:07
  • \$\begingroup\$ Also, this is the power supply:amazon.com/dp/… \$\endgroup\$ Jan 29, 2023 at 15:10
  • 1
    \$\begingroup\$ @EricChristoph You can connect a wire (ideally black but any colour will work) from pin 5 (GND = ground) on the DB9 breakout board (actually DE-9) to share the connection with the black wire in the power connector at the top right of your picture. You'll need to make sure both wires are held firmly in the power connector. \$\endgroup\$
    – Graham Nye
    Jan 29, 2023 at 15:48
  • 1
    \$\begingroup\$ @EricChristoph Then your power supply will not power your device any more as it is missing a power supply. Don't disconnect it. \$\endgroup\$
    – Justme
    Jan 29, 2023 at 17:07
  • 1
    \$\begingroup\$ What open pins? Don't connect the unused wires to the RS232 adapter or you might fry something. Also don't cut the wires then if you need them. Tie them up neatly, maybe insulate the ends so they don't make contact. If you wiring bothers you that much, buy a plastic project box to have connectors on a box and wiring inside the box tied up. \$\endgroup\$
    – Justme
    Jan 29, 2023 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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