Code Monkey home page Code Monkey logo

esp32-idf-kaa-iot-cellular's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.