iopbulk.blogg.se

Old royaltek gps data logger
Old royaltek gps data logger












old royaltek gps data logger
  1. #OLD ROYALTEK GPS DATA LOGGER INSTALL#
  2. #OLD ROYALTEK GPS DATA LOGGER SERIAL#
  3. #OLD ROYALTEK GPS DATA LOGGER BLUETOOTH#
  4. #OLD ROYALTEK GPS DATA LOGGER MAC#

By editing a system file we can get the Pi to reconnect on start-up.

#OLD ROYALTEK GPS DATA LOGGER BLUETOOTH#

When you reboot you will lose the Bluetooth link and will have to repeat the process from Step 4. If it’s all working and you are still reading this then congratulations! Step 8 – Reconnecting After Reboot Open a LXTerminal window by clicking the desktop icon. Once you’ve got cgps working you can try the GUI client xgps. To return to the command prompt you can press CTRL-C. If everything has gone to plan you should see something a bit think this : To present this data in a more readable way we can use one of the clients that comes with the gpsd package.

old royaltek gps data logger

Step 6 – Terminal ClientĪt this stage your GPS module should be streaming data to the Pi over Bluetooth. The b switch tells it to only read messages and not attempt to send anything back to the GPS receiver. This is a process that runs in the background and translates the NMEA messages for use by the clients. Press CTRL-C to return to the command prompt. If the connection is working you should see some GPS data ( NMEA format) being streamed from the GPS module. To test the connection we can run : cat /dev/rfcomm0 You may need to press the Enter key to return to the command prompt. A few seconds later it will display some text : Connected /dev/rfcomm0 to 00:0B:0D:6F:B5:D4 on channel 1

#OLD ROYALTEK GPS DATA LOGGER MAC#

Remeber to use your MAC address! When it runs it echoes a process ID to the screen. The & at the end tells the command to run in the background and return to the command prompt. Next we need to run the following command to connect the Pi to the remote Bluetooth device : rfcomm connect 0 00:0B:0D:6F:B5:D4 & In my case it is “00:0B:0D:6F:B5:D4” which I took a note of. This will give you the MAC address of your device. We need to know the MAC address of the module so run : hcitool scanĪfter a few seconds you should get a response : Scanning. With the Pi powered up switch on the Holux module and give it 60 seconds to look for satellites. “bluez-utils” provides some Bluetooth tools and “gpsd-clients” is a collection of tools for processing and displaying data.Īs we’ve installed so many new files it is a good idea to reboot : sudo reboot Step 3 – Get MAC Address

#OLD ROYALTEK GPS DATA LOGGER INSTALL#

In order to form the link between the Pi and the device we will need to install a few extra packages : sudo apt-get -y install bluez-utils gpsd-clientsĪnswer “Y” when prompted. This will take a while (5-10 minutes) so it is a good opportunity to grab a coffee. Power up the Pi with it connected to a network as we will need access to the internet.Īs this is a fresh SD card start by running : sudo raspi-configĪnd expand the SD card partition to fill the spare card space. Start with a fresh Raspbian image on your SD card and plug it into the Pi along with the Bluetooth dongle.

#OLD ROYALTEK GPS DATA LOGGER SERIAL#

This was one of those experiments where Google gave me all the answers once I had pieced together fragments from many different blogs and forums.Īlthough I’m using a specific GPS device I don’t see why it wouldn’t work with any Bluetooth GPS module given they will all be sending serial data in standard NMEA format.

old royaltek gps data logger

It uses what at the time was a standard Nokia phone battery. Surprisingly I didn’t need to charge it as five years later it still powered up fine. The module had been sat in a drawer for at least five years and I decided to see if I could get it working with the Raspberry Pi. I mainly used it as a TomTom based sat-nav device connected to a Holux GPSlim236 Bluetooth module. For the youngsters out there it was like a Smart Phone but without the phone bit, the capacitive touch-screen, memory, apps, GPS or battery life. Back in the old days I had an Acer N50 Premium PDA.














Old royaltek gps data logger