The Asset Tracker Template is a modular framework for developing IoT applications on nRF91-based devices. It is built on the nRF Connect SDK and Zephyr RTOS, and provides a modular, event-driven architecture suitable for battery-powered IoT use cases. The framework supports features such as cloud connectivity, location tracking, and sensor data collection.
The system is organized into modules, each responsible for a specific functionality, such as managing network connectivity, handling cloud communication, or collecting environmental data. Modules communicate through zbus channels, ensuring loose coupling and maintainability.
Supported hardware:
If you are new to nRF91 series and cellular IoT, consider taking the Nordic Developer Academy Cellular Fundamentals Course.
Thingy:91 X reporting its location to nRF Cloud running the Asset Tracker Template
To set up your development environment, build the application, flash it to your device, and connect it to nRF Cloud, follow the Getting Started guide.
Core modules include:
- Main: Implements the business logic and controls the overall application behavior.
- Storage: Stores data from enabled modules.
- Network: Manages LTE connectivity and tracks network status.
- Cloud: Handles communication with nRF Cloud using CoAP.
- Location: Provides location services using GNSS, Wi-Fi, and cellular positioning.
- Button: Reports button press events for user input.
- FOTA: Manages firmware over-the-air updates.
Thingy:91 X specific modules:
- Environmental: Collects environmental sensor data (temperature, humidity, pressure).
- LED: Controls an RGB LED for visual indication.
- Power: Monitors battery status and provides power management.
- UART Power Control: UART suspend/resume on VBUS changes.
- State Machine Framework (SMF): Predictable behavior with run-to-completion model
- Message-Based Communication: Loose coupling via zbus channels
- Modular Architecture: Separation of concerns with dedicated threads for blocking operations
- Power Optimization: LTE PSM enabled by default with configurable power-saving features