Home › Forums › Forums › Technical Support for BerryGPS-GSM › Can I use the board only on GPIO pins?
Tagged: Berry GPS-GSM
- This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by Mark Williams.
- AuthorPosts
- September 18, 2019 at 6:24 pm #10405ulisse1005Participant
I am using a raspberry pi zero and the Berry GPS-GSM board. Unfortunately it only works if I connect them via USB, even if I soldered the board on top of raspberry.
Is there a way of using the Berry GPS-GSM board without blocking my only USB port on the raspberry pi zero?
If I am using it without connecting it to the USB port, I have zero entries on the i2c pins. The GPS can not get any NMEA data, and the GSM can not connect to the ttyAMA0 port, because it does not exist.
I am a beginer with all this, but I can follow instructions :).
I already have a BERRY-GPS with IMUv3 up and running on a different raspberry pi zero, and everything is fine there.
September 18, 2019 at 7:15 pm #10407Mark WilliamsKeymasterBellow is a block diagram of how the BerryGPS-GSM can communicated with a Pi.
There is a serial switch which controls how the GSM and GPS modules speak to the Pi.
By default, the GPS speaks via serial to the Pi serial pins and the GSM only speaks via USB.You can change how this works. There are jumpers for Serial Switch (JP1/JP3) on the back of the PCB. These jumpers can be used to change what component is connected to the Pi serial interface.
Soldering jumper JP1 closed will connect the GSM module to the Pi serial interface. The problem with this is that now you cannot communicate with the GPS module.If you really want to free up the USB port, you would need to switch between GPS and GSM using the serial switch as both GSM and GPS cannot speak via serial at the same time. You can use any GPIO pin connected to JP1 (you would need to solder a wire to JP1). E.g. switch from GSM to GPS every 40 seconds to get location and then switch back.
Mark --OzzMaker.com --
- AuthorPosts
- You must be logged in to reply to this topic.