This document discusses NB-IoT and an ESPectro32 workshop. It introduces NB-IoT as a low power wide area network technology for IoT. It describes the ESPectro32 board and how to set up a development environment. It also discusses connecting the ESPectro32 to an NB-IoT backpack module to send telemetry data via NB-IoT networks. Code examples are provided for sending AT commands and communicating with an NB-IoT network using HTTP and MQTT protocols.
12. Starting a new project
•Create a new project anywhere suitable for your needs.
•Open the folder from VS Code
•Then open terminal in VS Code
•Initialize PlatformIO project
pio init -b espectro32
13. Install ESPectro32 library
•This library is necessary for accessing features on
ESPectro32 board
•Run pio lib install ESPectro32
•Or you can install it globally by running
pio lib --global install ESPectro32
17. LPWA
Low Power Wide Area Network
Low data throughput = high sensitivity = long
range
Relatively low cost
Multiple access, one-to-many architecture
Using licensed or license-free spectrum
29. Sending AT commands
•Relay the AT command input from MCU to NB-IoT shield
User Input -> MCU's serial -> NB-IoT shield serial
NB-IoT shield serial -> MCU's serial -> User's terminal
•Example code of this use case
github.com/alwint3r/ESPectro32-NBIoT-Serial
31. Libraries
•Sodaq_nbIOT (dycodex's fork)
• bit.ly/dycodexnbiotlib
• fork of github.com/SodaqMoja/Sodaq_nbIOT
•ESP SARA NB-IoT (specific for ESP32-based board like
ESPectro32)
• github.com/dycodex/esp-sara-nbiot
32. More Code
•Sending telemetry to FlexIoT via NB-IoT using HTTP
github.com/alwint3r/FlexIoT-HTTP-NBIoT
•Sending telemetry to FlexIoT via NB-IoT using MQTT
github.com/alwint3r/FlexIoT-NBIoT