mPython IDE
mPython IoT uses mPython IDE for programming. mPython IDE is a programming software built specifically for the mPython Board ecosystem, supporting both graphical block-based programming and MicroPython text-based programming, suitable for IoT education and creation at different stages.
Software Download
mPython IDE download: https://labplus.cn/software
Please select the corresponding installation package for your operating system and follow the prompts to complete the installation.
Connecting the Device
Connect mPython IoT to the computer using a Type-C data cable.
Turn on the device power toggle switch.
Launch mPython IDE and select the serial port (COM port) corresponding to mPython IoT in the device connection area at the upper right corner of the software.
Once connected, you can start programming and download programs to the device.
Hint
If no serial port appears in the list, check whether the data cable supports data transfer, or install the corresponding USB-to-serial driver.
Programming Modes
Graphical Programming
mPython IDE provides a block-based graphical programming interface. By dragging blocks, you can implement Wi-Fi connection, MQTT communication, sensor reading, and other IoT functions without writing code, making it ideal for introductory teaching.
Text-Based Programming
After switching to code mode, you can directly write MicroPython code. mPython IoT is compatible with standard MicroPython libraries such as network and umqtt.simple, enabling flexible IoT application development.
Note
Graphical programming and text-based programming can be switched between each other. Programs generated graphically are automatically converted to corresponding MicroPython code, making it easy for learners to follow along.