4. Octopus PM2.5 module(EF04090)#

4.1. Introduction#

PM2.5 Electronic brick is one of the modules in OCTOPUS series to test the PM2.5 concentration . Based on ZH03 laser dust sensors, it can test the dust particle in the air with high consistency and stability. The PWM output and serial port design also make it easily to operate.

../../_images/a1gLsct.jpg

4.3. Characteristic#

It is compatible to both 3V/5V devices. It is compatible to micro:bit or Arduino products. It is equipped with standard 3 wires GVS interface. It is of high consistency and accuracy with a real time response, the 0.3 μm diameter particle can be recognized. With PWM output and serial port supported.

4.4. Parameter#

Item Parameter
Name PM2.5 Electronic brick
SKU EF04090
Version V1.2
Operating Voltage DC3~5V
Working Current <120mA
Sleep Current <10mA
Operating Temperature -10~50℃
Detective Gas PM2.5
Dimension 50.00mm X 50.00mm
Net Weight 46.30g

4.5. Outlook and Dimension for Installment#

../../_images/dbSMKyl.png

4.6. Diagram for Pins Connector#

../../_images/MPjcy9E.png

4.7. Introduction to Main Function Modules#

ZH03B Sensor#

../../_images/B6tTW6k.png

ZH03B sensor is used to test the PM2.5 concentration in the air.

3PIN Standard GVS Electronic Brick Interfaces#

../../_images/XN3NRcN.png

With standard 3PIN electronic brick interfaces, “S” is the output pin for 3.3V PWM signal.

4PIN Serial Output Interfaces#

../../_images/VjMSbCQ.png

The output interfaces are used for 3.3V serial signal.

4.8. Quick Start#

Hardware Connection#

Connect PM2.5 electronic brick module to P1 port on micro:bit with a micro:bit expansion board. ../../_images/icDTCQO.png

Software Programming#

Step 1 Start with Makecode#

Open the on-line programming page for makecode.

Step 2 Add Package#

Search the key word with “iot”, and add the software package called “iot-environment-kit”. ../../_images/JVVC7Iw.png

Step 3 Programming#

../../_images/Y893J8M.png

Step 4 Download#

The complete program is below: https://makecode.microbit.org/_4TvKWEihahzh

You can also download it directly from below:

Result#

The value of PM2.5 is scrolling displaying on the 5x5 screen with μg/m3 as a unit.

4.9. FAQ#