Skip to content

BuildStormTechnologies/esp32-idf-kaa-iot-cellular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 KAA Cellular IoT Platform

The Buildstorm platform simplifies the process of integrating KAA IoT core features onto ESP32 Hardware, covering basic IoT functionalities like pub/sub to advanced features such as OTA updates and device provisioning, the platform handles it all. This simplified approach saves developers time and effort, empowering them to concentrate on creating innovative IoT solutions without encountering complex integration challenges.

Expanding the capabilities of ESP32 hardware to include Cellular IoT functionalities unlocks new possibilities for IoT projects. With cellular connectivity, devices can communicate over long distances, even in remote or mobile environments where traditional Wi-Fi connections are impractical. This broader reach enables applications such as asset tracking, remote monitoring, and industrial automation.

The platform's architecture is designed around core IDF APIs, ensuring compatibility, reliability, and access to the full capabilities of ESP32 hardware provided by the ESP-IDF ecosystem.

The platform ensures smooth functionality by enabling the non-blocking operation of all APIs. Each user action, like HTTP requests, MQTT publishing, Commands, and OTA updates, is logged as an event and seamlessly managed in the background. To maintain this seamless operation, the platform efficiently handles tasks through a dedicated system task, allowing users to concurrently run other application tasks.

This establishes a robust foundation for your upcoming IoT project.

Supported features:

  1. Telemetry updates
  2. Metadata management
  3. Command processing
  4. OTA firmware updates

Suppported Modems

  1. Quectel EC200U
  2. Quectel BG95,96
  3. Quectel M66, M95

References

  1. KAA IoT Platform
  2. KAA IoT Device Setup
  3. Exploring KAA IoT Commands
  4. ESP32 OTA Updates with KAA IoT

Requirements

  1. This library uses esp-idf v5.2.0


Example Setup

  1. Follow the KAA IoT Device Setup article to configure your first device on Kaa IoT cloud
  2. Update the following WiFi and KAA parameters in app_config.h of the example
  3. This configuration will be same accross all examples
#define TEST_WIFI_SSID "YOUR WIFI SSID"
#define TEST_WIFI_PASSWORD "YOUR PASSWORD"

#define KAA_URI "mqtt://mqtt.cloud.kaaiot.com"
#define KAA_PORT 1883

#define KAA_APPLICATION_VERSION "Your Device Application Version"
#define KAA_ENDPOINT_TOKEN "Your Device Endpoint Token"


#define MODEM_POWERKEY_GPIO_PIN 5
#define MODEM_RESETKEY_GPIO_PIN 4
#define MODEM_RX_UART_PIN 16
#define MODEM_TX_UART_PIN 17
#define MODEM_UART_NUM 2

#define APN "airtelgprs.com"
#define USERID ""
#define PASSWORD ""

Soc Compatibility

Name BLE OTA
ESP32 Supported Supported
ESP32 S3 Supported Supported