Nmea rs232 output

Suggest new features here
Post Reply
ct1fhw
Posts: 9
Joined: Thu May 17, 2018 6:49 pm

Nmea rs232 output

Post by ct1fhw » Mon Sep 21, 2020 8:16 am

Hi,
My pistar is connected 24/24h.
It's possible to add an output serial port sending NMEA information ? My idea is to feed the IC-7100 and the ID-5100 with simulated GPS information ( fixed position, send the time and date correctly) since those equipment lose the clock information when they are disconnected from the power supply.

KE7FNS
Posts: 1035
Joined: Wed Apr 17, 2019 11:11 pm

Re: Nmea rs232 output

Post by KE7FNS » Tue Sep 22, 2020 5:21 am

ct1fhw wrote:
Mon Sep 21, 2020 8:16 am
Hi,
My pistar is connected 24/24h.
It's possible to add an output serial port sending NMEA information ? My idea is to feed the IC-7100 and the ID-5100 with simulated GPS information ( fixed position, send the time and date correctly) since those equipment lose the clock information when they are disconnected from the power supply.
You don't need to have anything built into pi-star to do what you are wanting.

Just find a script (like python) that outputs the data you want over a serial port or you could even use a terminal program like minicom to send the data. Then you could use a USB/TTL adapter and hook it to the radios and send all the info you want.

Heck for a few dollars you could just get a GPS board and have it send the real GPS info directly to the radio. :ugeek:
https://www.aliexpress.com/item/4000550 ... hweb201603_
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

KE7FNS
Posts: 1035
Joined: Wed Apr 17, 2019 11:11 pm

Re: Nmea rs232 output

Post by KE7FNS » Wed Sep 23, 2020 6:25 am

Heres something I wrote that "might" work. It isn't as easy as what I thought, there is a checksum so if the checksum calculation is wrong the message is going to be invalid. I'd be surprised if it worked, but it might.

Also, if your radio isn't keeping the time, change the CR2032 batteries (one is memory, and one is for the RTC)

Either way it was fun poking around with python for an hour or so for my first time.

First you'll need to install a few python modules.

Code: Select all

rpi-rw
sudo pip3 install python-periphery
sudo pip3 install DateTime
Then just download my script. (I had to tar it because the forum software didn't like the extension)

Code: Select all

wget -O - -q https://forum.pistar.uk/download/file.php?id=748 >> gpsspoof.tar.gz
then extract it.

Code: Select all

tar -xzf gpsspoof.tar.gz
Then run it.

Code: Select all

python3 gpsspoof.py 
A simple USB/TTL adapter wired to the serial port lines (TX,RX, GND) hooked to your radio's serial port. (remember its a serial port RX on the first device to TX on the second device, and TX on the first device to RX on the second. GND is also necessary, but power is not needed.)

:ugeek:
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

ct1fhw
Posts: 9
Joined: Thu May 17, 2018 6:49 pm

Re: Nmea rs232 output

Post by ct1fhw » Tue Oct 06, 2020 8:24 pm

Thanks allot to all,

For now I have solve my issue, I'm running a program in windows who generates nmea traffic. And it works well for me!!

Cheers

ct1fhw

KE7FNS
Posts: 1035
Joined: Wed Apr 17, 2019 11:11 pm

Re: Nmea rs232 output

Post by KE7FNS » Tue Oct 06, 2020 8:52 pm

ct1fhw wrote:
Tue Oct 06, 2020 8:24 pm
For now I have solve my issue, I'm running a program in windows who generates nmea traffic. And it works well for me!!
Did you try the script at all. Did it work? Did you replace the batteries in your radio?

What software for windows are you using?
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

ct1fhw
Posts: 9
Joined: Thu May 17, 2018 6:49 pm

Re: Nmea rs232 output

Post by ct1fhw » Sat Oct 10, 2020 4:43 pm

HI,
The software for windows:

NMEA Generator Utility

NMEAGEN.exe Ver2.15

Sep. 2020 (C)4river
http://4river.a.la9.jp/gps/


I did not change the super Cap/battery on the radio.
I did not try the script on the pistar.

KE7FNS
Posts: 1035
Joined: Wed Apr 17, 2019 11:11 pm

Re: Nmea rs232 output

Post by KE7FNS » Sun Oct 11, 2020 1:37 am

ct1fhw wrote:
Sat Oct 10, 2020 4:43 pm
I did not try the script on the pistar.
It didn't work anyways.



But this one does. :ugeek:

Code: Select all

wget -O - -q https://forum.pistar.uk/download/file.php?id=755 >> gpsspoof.tar.gz
Attachments
gpsspoof.tar.gz
(531 Bytes) Downloaded 5 times
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

Post Reply