![]() Would you like the serial port hardware to be enabled? –> Yesįollowed by a reboot.Would you like a login shell to be accessible over serial? –> No.You have to disable the serial login shell first while keeping the hardware port enabled: sudo raspi-config , navigate to “5 Interface Options” -> “P6 Serial” and: The first step is to check whether the GPS module is running and whether the Pi receives the generic NMEA 0183 sentences. ![]() If you have a good GPS signal your GPS module will blink blue once a second: When you’re finished you can just power on the Pi again. GPS module PPS, blue: Pi pin 12, GPIO18.GPS module VCC, white: Pi pin 1, +3.3 V.I used a ribbon cable, refer to the photos below: You need to look at the product details of the module to find the PPS pin. In fact I did not use the small GPS antenna that was delivered with the GPS module at all, but a slightly more robust one that can be used outside as well.įollowing is the assignment of the five cables from the GPS module to the Raspberry Pi. This SMA connector is commonly used by GPS antennas for cars. ) I soldered the five cables directly to the Pi, while I used a small Pigtail from the Hirose connector (the one on the GPS module) to SMA female (not RP-SMA!) to mount it on the housing of the Pi. Google for it and get one from China for a couple of Euros. It’s all about the GPS module “GY-GPS6MV2”, though I am quite sure that there are some other GPS modules with a PPS pin out there. Legacy IP (IPv4) is not used at all, only IPv6. I installed a few relevant packages and gave it a static IPv6 address. ![]() )Īt the time of writing (Nov 2018) I am using a Raspberry Pi 1 B (yes, the old one), kernel 4.14.71+ and Raspbian GNU/Linux 9 (stretch). Note that this project uses a GPS receiver with a PPS (pulse per second) pin, that is: It does not only get the imprecise time sent over a serial console (standard NMEA 0183 output, more details here), but also the highly precise sync tick which accurately declares the start of every s econd. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |