Labplus Knowledge Base
Product Documentation
mPython Board 3.0 Documentation
mPython Core 2.0 Documentation
1. Hardware Introduction
2. Software Programming
3. Example Tutorials
Camera Tutorial
Audio
Agent
REPL
RGB LED
Pins
Display
Music
Buttons
Touch Sensor
Microphone
Light Sensor
Accelerometer
Gyroscope
Network
Serial Port
Wi-Fi
UDP Communication
Internet of Things
Random Numbers
Timer
Wireless Broadcast
I2C
Thread
File System Storage
Bluetooth
Image AI
Advanced Tutorials
Basic Tutorials
Classic Examples
4. Playing with Xiaozhi on mPython Core 2.0
5. API Documentation
6. Technical Support
7. Copyright Notice
AI Camera 4.0 Documentation
mPython IoT Documentation
mPython Module Documentation
Knowledge Base
Labplus Knowledge Base
About
Product Selection Guide
Labplus Knowledge Base
mPython Core 2.0 Documentation
3. Example Tutorials
View page source
3. Example Tutorials
Camera Tutorial
Face Detection
Face Recognition
QR Code Recognition
Motion Detection
Cat and Dog Detection
Audio
Agent
REPL
Serial Port Connection
Using the REPL
RGB LED
Onboard RGB LED
External LED Strip
Pins
Digital IO
Analog IO
Display
Text Display
Screen Coordinates
Setting Colors
Basic Shape Drawing
Displaying Images
Music
Built-in Melodies
Custom Tunes
Frequency
Buttons
Get Button State
Button Interrupt
Touch Sensor
Microphone
Light Sensor
Accelerometer
Level Ball
Calculate the Tilt Angle of the mPython Board
Gyroscope
Network
Network Basics
Introduction to TCP/IP
Socket - TCP
Socket - UDP
HTTP
Parsing JSON
Serial Port
Serial Port Basics
Serial Port Operations
Extensions
Wi-Fi
Overview
Wi-Fi Operating Modes
Station Mode
SoftAP Hotspot Mode
API Reference
FAQ
UDP Communication
Overview
Prerequisites
UDP Client Example
UDP Server Example
Notes
Application Scenarios
Related Modules
Internet of Things
IoT Basics
IoT Tutorial
Random Numbers
Random Number Display
Random Seed
Timer
Wireless Broadcast
radio
I2C
Master
Thread
Creating a Thread
Locking a Thread
File System Storage
Opening Files
OS
The Main Program main.py
Bluetooth