guild icon
Toit
#Raspberry Pi 4B, Toit SDK, ublox cellular & GNSS
Thread channel in help
Timmy77
Timmy77 04/09/2024 03:24 PM
Hello,
I have a Toit SDK successfully installed on my RPi 4B.
I also installed the Linux gpsd service.
I connected an ublox 7N GPS transceiver on it and it is working well.
When I issue cgps or ubxtool, they show full page of GPS readings! :😆:

I then issue /opt/toit-sdk/bin/toit.pkg list, it shows many Toit packages.
In particular, I choose these for my new project:
u_blox_cellular - 0.4.10
ublox_gnss - 1.2.0
gnss_location - 1.1.0
mqtt - 2.8.1

I will see what they can do for me.:🤓:
(edited)
Timmy77OPTimmy77
Hello, I have a Toit SDK successfully installed on my RPi 4B. I also installed the Linux gpsd service. I connected an ublox 7N GPS transceiver on it and it is working well. When I ...(edited)
floitsch
floitsch 04/10/2024 07:15 PM
The ublox_gnss package uses the "gnss_location", "location" and "ubx_message" packages as dependencies.

It's not clear to me how you would communicate with the GPS. If you get a uart port (like /dev/ttyUSB0) then that would be relatively straight-forward to get working with the ublox_gnss package.

Another alternative would be to try to use the GPSD. Afaict it's TCP based, and Toit has good support for TCP connections. I'm not sure how difficult the GPSD protocol is, though. That could be 10 minute job, or a week-long project.
floitschfloitsch
The ublox_gnss package uses the "gnss_location", "location" and "ubx_message" packages as dependencies. It's not clear to me how you would communicate with the GPS. If you get a u...
Timmy77
Timmy77 04/10/2024 08:19 PM
Yes, it is simply a serial UART in the form of /dev/ttyACM0. I do not need to do any configuration. cgps and ubxtool exclude those UARTs which are not gps devices. Very easy.:👍: :😆:(edited)
3 messages in total