Sixfab is launching their new shield for Raspberry Pi named as Sixfab Raspberry Pi Cellular IoT Application Shield. The Shield uses Quectel BG96 module which gives this shield combined feature of LTE technologies Cat.M1, Cat.NB1 and eGPRS for your Raspberry Pi.

Please visit the product page for detailed feature

The Shield also contains built-in temperature, humidity, light sensors, 3-axis accelerometer and relay

Since this is our first tutorial on this Shield. Here we will be observing all built-in sensors and control relay.
What we need:

    • Raspberry Pi,
    • Sixfab Raspberry Pi Cellular IoT Application Shield.

1. Attach the Shield to your Raspberry Pi and turn ON your Raspberry Pi. Make sure your I2C and Serial interfaces are enabled from raspi-config.

2. Clone our GitHub Repo to your Raspberry Pi.



3. Once the repo is cloned get into the Sixfab_Rpi_CellularIoT_Library




4. Now install the library by



The library is written with python3 so we will be writing and running every script in python3.

*** Alternate method of installing the library is using pip3. Simply run the following command.

once after installation, you will need the scripts from github repo.

5. Once it is installed you may get into sample directory where you will find examples for the shield.


6. For this tutorial, we will run



In this way, you will get data from all available sensors on the Shield. Now we will examine the code.


  • LINE 1: imports the cellulariot class from cellulariot Library
  • LINE 2: imports time library
  • LINE 4: declares node as an object
  • LINE 6: Disables the module
  • LINE 7: Re-enables the module
  • LINE 9: idle for 0.5 seconds
  • LINE 10: readAccel() returns the accelerometer value
  • LINE 12:  readHum() returns the Humidity
  • LINE 14: readTemp() returns temperature
  • LINE 16: readLux() returns lux in percentage
  • LINE 17-23: returns ADC values
  • LINE 25/27: turns ON/OFF the Relay
  • LINE 29/31: Switch ON/OFF the USER led


In the next tutorial, we will show sending data over UDP.

7 thoughts on “Sensor Test Tutorial for Sixfab RPi Cellular IoT Application Shield”

  1. The github repository is not available.
    git clone

    What to do?
    I am not able to use this device without documentation on how to configure it.
    Please send instructions!

  2. When I execute this script I get the following error:

    TypeError: super() argument 1 must be type, not classobj

    Any idea how to fix this?

  3. it seems there is a bug.I followed strictly your documentation but when i am going to run the i get an Import Error:no module name ‘cellulariot’.
    Any thoughts?

  4. installed from git, but when I run the sensor_test, I get the following error.

    [email protected]:~/Sixfab_RPi_CellularIoT_App_Shield/sample $ python3
    Sixfab Raspberry Pi Cellular IoT Application Shield Class initialized!
    BG96 module disabled!
    BG96 module enabled!
    Traceback (most recent call last):
    File “”, line 17, in
    print(“Acceleration: “+str(node.readAccel()))
    File “/usr/local/lib/python3.5/dist-packages/sixfab_cellulariot-1.2.0-py3.5.egg/cellulariot/”, line 696, in readAccel
    File “/usr/local/lib/python3.5/dist-packages/sixfab_cellulariot-1.2.0-py3.5.egg/cellulariot/”, line 33, in __init__
    FileNotFoundError: [Errno 2] No such file or directory
    [email protected]:~/Sixfab_RPi_CellularIoT_App_Shield/sample $

Leave a Reply

Your email address will not be published. Required fields are marked *