It is repository of python library for Sixfab Raspberry Pi NB-IoT Shield.
git clone https://github.com/sixfab/Sixfab_RPi_NBIoT_Library.git
cd Sixfab_RPi_NBIoT_Library
sudo python3 setup.py install
Use pip3 to install from PyPI.
sudo pip3 install sixfab-nbiot
Enable serial_hw
and I2C
interfaces by following instructions below:
- Run
sudo raspi-config
- Select
5 Interfacing Options
- Enable
P5 I2C
- For
P6 Serial
- Disable
Login shell to be accessible over serial
- Enable
Serial port hardware
- Disable
- Finish
- Reboot
- It's done.
cd sample
python3 sensor_test.py #for testing sensor_test example
** basicUDP
** sensorTest
! All data pins work with 3.3V reference. Any other voltage level should harm your hat or RPI.