Go to advanced search

by YitEarp
Sun May 26, 2019 9:52 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1831

Re: Help adding pynmea to parse data in code

It just reads the stream, it can handle it itself iirc, but you can also feed pynmea2 the stream as well. Can't look at the moment though. What doe one of you lines look like, it does need to be NMEA data. I think you are correct it is not pushing out the $RMC statement. The data looks like this (i...
by YitEarp
Sun May 26, 2019 12:07 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1831

Re: Help adding pynmea to parse data in code

Have you seen the example at https://github.com/Knio/pynmea2 Looks like it splits everything out and the you just reference the bit you need e.g. msg.altitude or msg.lat etc Yes i tried that again with this new code and nothing is parsing #!/usr/bin/python import serial import time import pynmea2 #...
by YitEarp
Sat May 25, 2019 11:08 pm
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1831

Help adding pynmea to parse data in code

Hi i have succeded in getting this stupid gprs/gps hat working via AT commands. It seems the only way it will work anyway i digress here is my code. #!/usr/bin/python import serial import pynmea2 import time # Enable Serial Communication port = serial.Serial("/dev/ttyS0", baudrate=9600, timeout=1) #...
by YitEarp
Wed May 22, 2019 6:31 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Nobody?

Guess this place is dead.

Thanks anyway to those that helped.
by YitEarp
Wed May 22, 2019 3:00 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Still stumped on this any help would greatly be appreciated My only action is to try a usb gps module but I want to avoid that. Even running sttty command to set the baud rate yields no results in gpsmon or cat /dev/ttySO etc It’s as though the power for GPS is off which I assume is default as they ...
by YitEarp
Tue May 21, 2019 3:08 am
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

sudo dmesg | grep tty [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr= vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=c6a9741f-02 rootfstype=e...
by YitEarp
Mon May 20, 2019 1:55 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

edit: As i thought if i first set the buad rate to -b 9600 in mini and start AT+CGSPSTST=1 exit minicom and start Gpsmon it gets results So something is going on where a cold boot doesn't work. Would the RTC battery on the gprs device help with this at all? From what I understand it’s just for keepi...
by YitEarp
Mon May 20, 2019 12:04 pm
Forum: Networking and servers
Topic: SSH over wifi with No Internet
Replies: 4
Views: 473

Re: SSH over wifi with No Internet

You could also specify a host name and just user@hostname -p 24

goto raspi-config and in the network options there will be hostname to edit.

Saves typing out a long ip each time.
by YitEarp
Sun May 19, 2019 4:00 pm
Forum: HATs and other add-ons
Topic: Anyone familiar with the Waveshare GSM/Bluetooth Hat?
Replies: 30
Views: 18917

Re: Anyone familiar with the Waveshare GSM/Bluetooth Hat?

Well i made some progress but not really all that much. I have since managed to get the PPP connection running from boot as well as the pwrkey script to turn on the hat at boot all work fine. But as stated this device cannot use the serial port for more than one command. I was wondering if its possi...
by YitEarp
Sun May 19, 2019 12:01 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Thank You Well i since made some progress and have learned that the serial port can only communicate one data stream at a time so my theory of using ppp dial up retrieving gps data remotely is going to take some more thought. Thus far i have been able to setup an auto start script for the gprs hat t...
by YitEarp
Sat May 18, 2019 11:08 am
Forum: Troubleshooting
Topic: Config for GSM/GPRS/GNSS/Bluetooth HAT for Raspberry Pi, Based on SIM868
Replies: 6
Views: 6823

Re: Config for GSM/GPRS/GNSS/Bluetooth HAT for Raspberry Pi, Based on SIM868

Hoping you can advise me. I have tried many options and cannot get the GSM device to work. Platform : * Raspberry PI 3B * GSM/GPRS/GNSS/Bluetooth HAT for Raspberry Pi, Based on SIM868 https://www.waveshare.com/gsm-gprs-gnss-hat.htm https://www.waveshare.com/wiki/GSM/GPRS/GNSS_HAT OS : The Raspbian ...
by YitEarp
Fri May 17, 2019 1:29 pm
Forum: HATs and other add-ons
Topic: Anyone familiar with the Waveshare GSM/Bluetooth Hat?
Replies: 30
Views: 18917

Re: Anyone familiar with the Waveshare GSM/Bluetooth Hat?

When you activate serial communication (UART) between RPi & GSM pHAT, system is using it for console. As serial port cannot handle multiple simultaneous use, it makes trouble. Remove console=serial0,115200 from /boot/cmdline.txt and reboot ;) I don't have that line in cmdline.txt must i setup PPP i...
by YitEarp
Fri May 17, 2019 7:26 am
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Yeah that makes complete sense as I noticed it defaulting to a crazy high baud rate I have all weekend to work on this properly so hopefully with gpsmon working I can move onto ppp to make this device remote which should work fine as my carrier I believe supports all the requirements After which the...
by YitEarp
Thu May 16, 2019 7:51 pm
Forum: HATs and other add-ons
Topic: Anyone familiar with the Waveshare GSM/Bluetooth Hat?
Replies: 30
Views: 18917

Re: Anyone familiar with the Waveshare GSM/Bluetooth Hat?

Hey thanks for the reply i got things working regards the SIM still learning AT commands and hope i can do some scripting to make life easier. But as of right now i cannot get any of these commands to return a response cat /dev/ttyS0 cat /dev/ttyAM0 - I believe this is for pi 3 usage and not pi zero...
by YitEarp
Thu May 16, 2019 5:36 pm
Forum: HATs and other add-ons
Topic: Anyone familiar with the Waveshare GSM/Bluetooth Hat?
Replies: 30
Views: 18917

Re: Anyone familiar with the Waveshare GSM/Bluetooth Hat?

Hopefully this isn't dragging up a zombie thread but i figured you guys @SeppPi may be able to help. I have this setup and i can get AT commands working. I have a sim with the carrier EE but i have misplaced any documentation i had including its number Where might i find this information? Would it b...
by YitEarp
Thu May 16, 2019 2:13 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

So i now have the device I managed to do some basic settings after lots of head scratching and wondering why the command AT would produce nothing but messes of code; Turned out i had to disable login in interface settings of raspi-config results of interface pi@raspitrk:~ $ dmesg | grep tty [ 0.0000...
by YitEarp
Tue May 14, 2019 6:58 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Great you have been such a help in a stepping stone towards this project i have a lot of reading material now thanks so much! This will simply be placed in my car mostly as a fun project but also for security should a theft happen (Nobody is desperate to steal my car but ya never know!) So geo fenci...
by YitEarp
Tue May 14, 2019 1:50 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

Re: GPS/GRPS tracking help

Thank You so much that information is very helpful. I did some more research as regards to using the sim and it seems not all carriers in fact quite a lot will use double NAT so being able to ssh to the device may require some legwork which i don't mind as i have used ssh tunnels in the past so thin...
by YitEarp
Mon May 13, 2019 8:23 pm
Forum: Networking and servers
Topic: Pi 3 as wiireless client and wireless AP?
Replies: 193
Views: 142257

Re: Pi 3 as wiireless client and wireless AP?

Hi guys I followed this guy some time ago now things were working great i had hidden my SSID and was able to connect and use internet from the AP However the latest piHole update seemed to of knocked my settings out and the AP no longer broadcasts. Before i post the error codes has anyone else ran i...
by YitEarp
Mon May 13, 2019 7:58 pm
Forum: Other projects
Topic: GPS/GRPS tracking help
Replies: 14
Views: 1403

GPS/GRPS tracking help

https://www.amazon.co.uk/gp/product/B075M8WN5L/ref=ask_ql_qh_dp_hza - Have purchased this for a play around with a project i would like to do just a simple tracker that i could remote access to pull the data and track in real time. I also have a raspberry pi zero to use with it. A couple of question...

Go to advanced search