The XBee 3 BLU device is capable of running a MicroPython script to perform data processing tasks, allowing it to operate autonomously in a hostless architecture or in combination with a microcontroller in hybrid architectures.

MicroPython is an open-source programming language based on Python 3.0. It retains much of Python’s syntax and functionality but is optimized to run on small devices with limited hardware resources, such as the XBee 3 BLU device.

micropython-diagram

In this chapter, you will learn how to interact with the MicroPython REPL on the XBee device for quick testing and debugging, as well as how to develop and execute MicroPython applications directly on the device. The first step is to configure the device to work in MicroPython REPL operating mode.