Example Code for Arduino UNO - Mind+ Graphical Programming
Last revision 2026/01/15
This example uses Mind+ (Based on Scratch3.0) graphical programming to detect formaldehyde, PM2.5, temperature and humidity in the environment using Arduino UNO.
Hardware Preparation
- Arduino UNO x 1
- Air Quality Monitor x 1
- M-M/F-M/F-F Jumper wires
Software Preparation
- Mind+ Download and install Mind+
Wiring Diagram
| PM2.5 Sensor Adapter | UNO |
|---|---|
| VCC | 5V |
| GND | GND |
| TX | 10 |
| RX | 11 |
Other Preparation Work
1.Download and install Mind+: https://www.mindplus.cc.
2.Switch to "Offline" mode.
3.Click "Extensions" and click "Board" to select Arduino UNO, and select "Software Serial" in "Function".
4.Edit a simple program as shown in the following figure.
Result
After uploading the codes, open serial monitor to see output data.
Additional Information
Was this article helpful?
