Skip to content

LwM2M Academy#

module 1 title

Welcome!#

Welcome to the LwM2M Academy, an immersive online course tailored to equip you with understanding of the Lightweight Machine to Machine (LwM2M) protocol. This program is designed to provide you with both the theoretical understanding and hands-on skills necessary to utilize this powerful IoT standard.

The course consists of 5 modules which will journey you through the diverse aspects of LwM2M, from the underlying principles and architecture to its implementation and optimization for creating robust IoT applications.

By the end of the course, you will understand the advantages of the LwM2M standard and possess the skills to implement it effectively. With a strong emphasis on real-world applications, the course is designed to provide you with practical experience, empowering you to build IoT applications confidently using LwM2M.

Embark on this learning journey and explore the fascinating world of LwM2M.

LwM2M Academy available on Udemy

The LwM2M Academy is now also available as an official course on Udemy. Follow the course on Udemy.

Invitation to Discord Community#

Step right into the heart of learning with the AVSystem Discord Community. During the course, Discord is the place for expert guidance on LwM2M, networking with fellow course students, and showcasing the cool stuff you're building.

We've dedicated an exclusive channel for our learners, named lwm2m-academy.

We invite you to join the AVSystem Discord Community to enrich your learning experience and interact with the LwM2M community.

Join Discord

Provide your feedback#

We're constantly working on improving the LwM2M Academy. Please share with us your feedback throughout the course so we can create an even better learning experience.

Feedback form

Intro to the hardware used in this course#

Throughout this course, we will be using the Raspberry Pi Pico W, Raspberry Pi's first wireless microcontroller board. It has been designed as a tiny and low-cost yet flexible development platform for the RP2040 MCU.

Raspberry Pi Pico

The 21 mm × 51 mm board comes with a 2.4GHz wireless LAN interface (802.11n). It provides 26 GPIO pins, three of which can function as analog inputs. Four RP2040 I/O pins are used for internal functions: driving an LED, on-board switch mode power supply power control, and sensing the system voltages.

Reprogramming the Pico W flash can be done using USB (simply drag and drop a file onto the Pico W, which appears as a mass storage device), or using the serial wire debug (SWD) port. The SWD port can also be used to debug code running on the RP2040 interactively.

Purchase hardware via Raspberry's website

Sensor used in the course#

In this course, we will be using the LM35 analog temperature sensor.

Purchase the sensor via Kiwi electronics (EU), Amazon (US) or Mouser (EU/US)

module1_lm35

Intro to Anjay LwM2M Client#

Anjay is a free and open-source LwM2M Client written in C for rapidly building LwM2M solutions. It comes with an SDK comprising pre-built examples and reference implementations for popular hardware platforms such as STM32, Raspberry Pi, Nordic or ESP32. Anjay eases the development of LwM2M applications by taking care of the implementation of the LwM2M protocol.

The project was created and is actively maintained by AVSystem. Some expert features such as support for hardware security modules or SMS binding are available commercially.

Anjay features

  • Automatically implements the LwM2M data format & Smart Objects
  • Security by default (DTLS, OSCORE)
  • Support for FOTA (firmware updates over the air)
  • Device management mechanisms to update configurations over time vStandard implementations available for many hardware platforms

Find more information about Anjay and its features, or visit the official documentation website directly.

Intro to Coiote IoT DM#

Coiote IoT Device Management platform is built around the LwM2M standard. It acts as a LwM2M Server and is designed as a scalable platform to manage large numbers of devices. The platform comes with tools to monitor groups of devices, manage device configurations, and perform firmware updates. In addition, it supports cloud integrations with platforms such as AWS IoT Core or Azure IoT Hub.

Coiote IoT DM has a developer version, allowing you to connect up to 10 devices free of charge. To create a developer account, visit eu.iot.avsystem.cloud

Coiote IoT DM features

  • Data collection and storage

    Connect LwM2M devices securely and store their data.

  • Device management

    Remotely manage device configurations and firmware.

  • Developer tools

    Tools include time series data visualization, hardware in loop testing, server-side logs collection and automated alerts.

  • Processing data

    Collect data from your sensors and send them directly in the unified data format to the cloud thanks to various options of data integrations, including AWS IoT Core, Azure IoT Hub, Kafka, and Webhooks.

Find more information about getting started with Coiote IoT Device Management platform.


Last update: August 31, 2023