Internal GPS Mod Tech Support/Q&A

Status
Not open for further replies.

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
I had a batch of 5 of them emit smoke right out of the bag immediately on first power-up.

Every.

Single.

One.

The supplier sent me a batch of replacements, and every one of them was good. And they all had the exact same lot number markings as the smokers.

Your best bet is to order in bulk (5+ units) from multiple vendors to get a variety of lots/batches so that some of them will work. Did I mention that I hate the MAX3232??
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
I finally received the ATGM336H today.
BDS GPS Dual-mode Module Flight Control Satellite ATGM336H Replacement NEO-M8N S

I installed it by driving the TTL side of the RS232 UART directly from the GPS module since both are 3.3 v compliant but I'm not seeing any GPS activity recoginzed by the HomePatrol.

I think I may have figured out why this didn't work. The 436 UART chip (a TRS3221E variant) has an INVALID output that signals when the chip is receiving a valid RS-232 input signal. The output is high when a valid RS-232 input is being received, and is low when no valid RS-232 input is detected. If the scanner uses the INVALID output of the UART to ignore spurious serial data, then directly connecting a GPS TTL output to the UART output trace will not work unless you also jumper the INVALID output to VCC from the GPS to let the scanner know that the serial data on the UART output trace is good. If you don't, INVALID will be low because the UART isn't seeing any valid RS-232 input, and TTL output data will always be ignored.

If the HomePatrol uses the same or similar UART chip to convert RS-232 to TTL, then that's why direct TTL connection didn't work.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
That's interesting. The HomePatrol uses a Sipex 3223EEY. I'll have to take a look at the datasheet again. I grabbed a known good 232 adapter and it still doesn't work so something strange is going on. (using the 232 input of course). I'm still trying to find my external GPS setup to test the radio for known good GPS operation.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
Ok, but why would a UBLOX work and this not? Is it the difference in the data formatting?
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
No. They all use NMEA sentences, so if you have the baud rate right, and all the status lines set correctly, it should work.

When you're bypassing the scanner UART, it's not detecting a valid RS-232 input, and the status output from the scanner UART will be low, which will cause the scanner to ignore GPS input even if it's valid and all other settings match. You have to connect the GPS TTL output to the UART TTL output trace, and simultaneously jumper the UART status output to Vcc to force the scanner to recognize the TTL direct connection. Otherwise the TTL direct connection will not work.

I'm guessing you fried something in the scanner UART chip when you connected the GPS TTL output in parallel with the scanner UART TTL output, and now the scanner UART output isn't working right. That would explain why a RS-232 input is no longer making it through the scanner UART.

But it's also possible the MAX3232 module is being cranky.

Trace the serial data signal with an o-scope and see how far it's actually getting. Start at the GPS output, and then check the MAX3232 module input and output, then check the scanner UART input and output. It's the only way to know for sure where the fault is.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
Ah, I see. I thought you meant it was looking for malformed data packets which would be strange for a UART. I'll probably just hot air the UART off and go right to 3.3 or get another chip and replace it.

I can't imagine why applying 3.3 to a 3.3 line would toast it but it's sounding like that's the issue. Thanks for the insight.

This only happens when trying to do a conversion for someone else. All my stuff was plug and play. No good deed and all that...
 

Markscan

Member
Premium Subscriber
Joined
Jan 9, 2004
Messages
692
Location
New Jersey
I recently had this mod done on my 436, and the gps works great! Fast and professional! Good communication and everything works great. Although I also had C1 installed, I have not seen very much improvement in reception. But when I use the roof mounted antenna in the car, it works great!
Thanks again Jonwienke!


Sent from my iPhone using Tapatalk
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
You're welcome.

The benefit of C1 install varies by unit; some scanners generate more battery compartment noise than others without it. C1 also makes the most difference when using a short SMA antenna like the factory duck. The range of the noise is very short, and moving the body of the antenna away from the scanner even an inch or so (which happens when you install the BNC adapter and use an antenna with a BNC connector) will reduce the interfering effect of the noise significantly. Using a longer antenna has the same effect; more of the antenna body is farther from the noise source than when using a short antenna. So if you normally run the Diamond RH77CA antenna, which is longer than the factory duck, and uses a BNC connector, not having C1 may have very little effect on reception. If you use an external antenna connected via a length of coax, having or not having C1 will have no impact on reception. But if you use the factory antenna, or something similar, not having C1 can have a significant negative effect on reception.

Anyway, I'm glad the mod is working well for you, and please do not hesitate to contact me if you have any issues or questions.
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
I can't imagine why applying 3.3 to a 3.3 line would toast it but it's sounding like that's the issue.

The problem arises when one output is sending 3.3V, and the other is sending 0V. If these outputs are connected together, you have a 3.3V power supply that is being shorted out. Unless both outputs have short circuit protection, something is going to fry.

Put an oscilloscope on the scanner UART output pin, and see if it is showing data (rapidly fluctuating between 0V and 3.3V), or if it is stuck at 0V or 3.3V. Use 20-50ms/division for your x unit, with a trigger threshold of 1-2V and triggering when input drops below the threshold. A normal multimeter won't react fast enough to give you a good reading if serial data is active.

If your scope supports multiple inputs, connect the second input to the scanner UART STATUS pin to see if it is indicating valid data going to the scanner when the scanner UART is getting good RS-232 input.

You want me to take a look at it?
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
The problem arises when one output is sending 3.3V, and the other is sending 0V. If these outputs are connected together, you have a 3.3V power supply that is being shorted out. Unless both outputs have short circuit protection, something is going to fry.

Put an oscilloscope on the scanner UART output pin, and see if it is showing data (rapidly fluctuating between 0V and 3.3V), or if it is stuck at 0V or 3.3V. Use 20-50ms/division for your x unit, with a trigger threshold of 1-2V and triggering when input drops below the threshold. A normal multimeter won't react fast enough to give you a good reading if serial data is active.

If your scope supports multiple inputs, connect the second input to the scanner UART STATUS pin to see if it is indicating valid data going to the scanner when the scanner UART is getting good RS-232 input.

You want me to take a look at it?
Makes sense. I'll dig into it again and might hit you up about it if I keep having issues. Thanks
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
Makes sense. I'll dig into it again and might hit you up about it if I keep having issues. Thanks

Did my suggestion to supply the ATGM336H GPS with 5V work? The MAX3232 will also handle 5V power input.
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
Any progress?

I did some testing, and my ATGM336H will run reliably with a MAX3232 starting at about 2.75V. Anything lower than that, and it starts having trouble getting a satellite lock, or simply outputs nothing. So 3.3V should be fine as a power supply voltage for both the GPS and the MAX3232.
 
Last edited:

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
6,908
Location
N.E. Kansas
I tried 5 volts and then also tried a level converter feeding 3.3 on the GPS side and 5 on the other side then fed that to the 232 adapter. Nothing works. I'm at a total loss here. It's as if the radio can't understand the info it's transmitting.

The data from the GPS appeared legit when probed with the logic analyzer.
The radio can understand a regular external GPS input using a puck GPS to the side plug.
The GPS gets a lock just fine and is blinking so it's not that.
I've tried several baud rates just to be sure but kept it on 9600.
The logic analyzer auto identified 9600 and decoded usable data at 9600 so that has to be correct.

I'm completely baffled at it at this point.
 

jonwienke

More Info Coming Soon!
Joined
Jul 18, 2014
Messages
13,409
Location
VA
Check what is going on on the output side of the RS-232 chip on the scanner board, both the data and the STATUS outputs. What do you see there?
 
Status
Not open for further replies.
Top