This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting GPS data into pypilot
#1
I would like to get GPS data into my Pypilot. Is this possible?

I am using a pi zero 2. I have a Ublox GPS USB dongle. I plugged it into the zero using an OTG cable. I did not see it with 

ls /dev/tty*. 

The GPS is powered but no signs of any data exchanged. ls 
Reply
#2
Did you use the USB socket on the Pi Zero, marked USB and near the center because the USB socket marked Power does not allow data exchange
Reply
#3
That did it. Nice. I plugged the dongle in the data port and immediately got GPS data.

In terminal: printf 'watch={"imu.pitch":1,"imu.roll":1,"gps.fix":1,"gps.track":
1,"gps.speed":1}\n' | timeout 6 nc 192.168.xx.xx 23322

From there I can access it on my network and was able to bring the data in Home Assistant.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)