BerryGPS-GSM Connecting via 3G/2G using the Hologram CLI

The BerryGPS-GSM uses the same cellular modem as the Hologram Nova.  This makes the BerryGPS-GSM 100% compatible with all the tools at Hologram.io

For the latest information, you can refer to the Hologram documentation.

Activate Hologram SIM

The first thing you will need to do is to active your Hologram SIM.  You can head here for Instructions.

It should only take a couple of minutes to become active.

 

Install Hologram CLI

The Hologram Command Line Interface (CLI) and Python SDK are easily downloadable via curl from your Linux terminal:

pi@raspberrypi ~ $ curl -L hologram.io/python-install | bash

To update to the latest version:

pi@raspberrypi ~ $ curl -L hologram.io/python-update | bash

 

Once installed, you can do a quick check to see what network operator you are using:

pi@raspberrypi ~ $ sudo hologram modem operator

Connect via 3G/2G to the carrier using Hologram CLI

 

Bring up/down an internet connection:

pi@raspberrypi ~ $ sudo hologram modem connect
pi@raspberrypi ~ $ sudo hologram modem disconnect

The above commands will give you a normal internet connection.  You need to be mindful of data usage when connected over 3G/2G.

Useful Hologram CLI commands

For a full list of commands:

pi@raspberrypi ~ $ hologram --help

Get u-blox CellLocate Location:

pi@raspberrypi ~ $ sudo hologram modem location

Check signal strength:

pi@raspberrypi ~ $ sudo hologram modem signal

Check network operator:

pi@raspberrypi ~ $ sudo hologram modem operator

Send a message:

pi@raspberrypi ~ $ sudo hologram send -t

Receive inbound messages (try from the Hologram Dashboard):

pi@raspberrypi ~ $ sudo hologram receive

 

More information

A detailed guide for the Hologram CLI and Python SDK can be found here.

Guides and Tutorials

Blip, blop, bloop...