Using u-Center to connect to the GPS on the OzzMaker SARA-R5 LTE-M GPS + 10DOF
Ozzmaker | Raspberry Pi
by Mark Williams
5M ago
u-Center from u-Blox is a graphical interface which can be used to monitor and configure all aspects of the GPS module on a OzzMaker SARA-R5 LTE-M GPS + 10DOF U-Center   u-Center only runs on Windows. It can connect over the network to a Raspberry Pi.  This will require us to redirect the serial interface on the Raspberry Pi to a network port using ser2net. Pi Setup You will first need to have multiplexing enabled for the serial interface and have GPS data streaming to the /dev/ttyGSM2 virtual serial interface, which is covered in these two guides How to enable multiplexin ..read more
Visit website
Using CellLocate with OzzMaker SARA-R5 LTE-M GPS + 10DOF
Ozzmaker | Raspberry Pi
by Mark Williams
1y ago
What do you do if you have a poor or no GNSS signal, such has being indoors, inside a parking garage or in urban canyons? You could try CellLocate. In a nutshell CellLocate provides an estimated location based on visible network cell information reported by the cellular module. When CellLocate is activated, a data connection to the CellLocate server is established and the network cell information is passed to the server which provides an estimation of the device position based on the cell information. CellLocate is fully integrated into the SARA-R5 which is on the OzzMaker SARA-R5 LTE-M GPS 1 ..read more
Visit website
Accessing GPS via I2C on a BerryGPS-IMU
Ozzmaker | Raspberry Pi
by richardp
3y ago
The BerryGPS-IMU uses a  CAM-M8C U-Blox GPS module, this GPS module includes a DDC interface which is fully I2C compatible. This guide will show how to read NMEA sentences from the GPS module via I2C, using a Raspberry Pi. This leaves the serial interface on the Raspberry Pi free for other uses. You can also use a QWIIC connector to connect the BerryGPS-IMU to the Raspberry Pi We will create a virtual node where we will send the NMEA sentences, we will then configure GPSD to read this virtual node.   Caveat: There is a well know I2C clock stretching bug on the Raspberry Pi which will ..read more
Visit website
Using the BerryIMUv3 on a Raspberry Pi Pico with MicroPython
Ozzmaker | Raspberry Pi
by Mark Williams
3y ago
In this guide we will show how to get the a BerryIMUv3 working with a Raspberry Pi Pico, using MicroPython. This code example supports I2C and SPI. Hook up Guide The two images below show how to hook up the BerryIMUv3 via I2C or SPI. (If using SPI, you will need to place a solder "blob" on JP7 on the BerryIMUv3 to complete the SPI connection, as shown here)   Raspberry Pi Pico and BerryIMv3 via SPIRaspberry Pi Pico and BerryIMv3 via I2CThonny and the MicroPython code The MicroPython code can be downloaded from our GitHub repository. The code for this example can be found under the PicoMic ..read more
Visit website
Double tap detection with BerryIMUv3
Ozzmaker | Raspberry Pi
by Mark Williams
4y ago
The accelerometer(LSM6DSL) on the BerryIMUv3 has built in double tap detection, which makes it very easy detect double taps without the need for any fancy code. When the LSM6DSL detects a double tap, it can fire an interrupt pin on the BerryIMUv3.  We will use a Raspberry Pi to monitor the interrupt pin and turn a LED off and on when a double-tap is detected.   Double-Tap event recognition has special registers which control tap recognition functionality, these are the tap threshold and the Shock, Quiet and Duration time windows Double-tap event recognition   The Raspberry Pi w ..read more
Visit website
Using u-Center to connect to the GPS on Raspberry Pi
Ozzmaker | Raspberry Pi
by Mark Williams
5y ago
u-Center from u-Blox is a graphical interface which can be used to monitor and configure all aspects of the GPS module on a BerryGPS-IMU or BerryGPS-GSM. U-Center  u-Center only runs on Windows. It can connect over the network to a Raspberry Pi.  This will require us to redirect the serial interface on the Raspberry Pi to a network port using ser2net. Pi Setup Do an upt-get update and then install ser2net; pi@raspberrypi ~ $ sudo apt-get update pi@raspberrypi ~ $ sudo apt-get install ser2net Edit the ser2net config file and add the serial port redirect to a network port. We will use network p ..read more
Visit website
Control the GPIO of a Raspberry Pi using SMS from a mobile phone
Ozzmaker | Raspberry Pi
by Mark Williams
5y ago
In this guide we will show you how to control the GPIO pins of a Raspberry pi by send a SMS to the Raspberry Pi from a mobile phone.   For this guide, the GSM modem we are using to receive the SMS is the  BerryGPS-GSM. On the software side, we will be using Gammu, which is specifically designed to control  phones and GSM modules. It also has a daemon which will monitor the GSM modem for incoming SMSs. We will configure Gammu to trigger a python script when a new SMS is received. We will use the contents of the SMS to control what happens in Python LEDs are used here as an example, but you can ..read more
Visit website
Using a button and the GPIO on a Raspberry Pi to send a SMS
Ozzmaker | Raspberry Pi
by Mark Williams
5y ago
In this guide we will show you how to send a SMS using a button connected to the GPIO pins of a Rasberry Pi Zero.   For this guide, the GSM modem we are using to send the SMS is the  BerryGPS-GSM. On the software side, we will be using Gammu, which is specifically designed to control  phones and GSM modules. Python will be used to monitor some buttons connected to GPIO pins and Gammu python bindings will be used to send a SMS. Buttons are used here as an example, but you can use anything to trigger the SMS, E.g. Temperature sensor, water level sensor, light sensor, etc.. We have includes some ..read more
Visit website
Get a GPS fix in seconds using assisted GPS on a Raspberry Pi with a BerryGPS-GSM
Ozzmaker | Raspberry Pi
by Mark Williams
5y ago
Typically, a GPS module can take a few minutes to get  Time To First Fix(TTFF), or even longer if you are in  built up areas(+20mins).  This is because the Almanac needs to be downloaded from  satellites before a GPS fix can be acquired and only a small portion of the Almanac is sent in each GPS update. Assisted GPS speeds this up significantly by  downloading  ephemeris, almanac, accurate time and satellite status over the network, resulting in faster TTTF, in a few seconds. This is very similar how to GPS works on a smartphone. The BerryGPS-GSM supports assisted GPS. The below video shows a ..read more
Visit website
How to save GPS data to a file using Python
Ozzmaker | Raspberry Pi
by Mark Williams
5y ago
Below is an example python script which will save GPS data (time, Lon, Lat, speed and sats in view) to a file. The gpsd client libraries  will be used to get the data from GPSD. We will be using the TPV class to get time, latitude, longitude and speed. We can get the number of satellites in view by getting the length of the satellites object. This page shows how to get gpsd up an running on a Raspberry Pi Every time the script is run, it will create a new file beginning with the current date and time. In this example, I am writing in a csv format, where each GPS attribute is separated by a com ..read more
Visit website

Follow Ozzmaker | Raspberry Pi on FeedSpot

Continue with Google
Continue with Apple
OR