M5Stack Unit CO2 Pinout

The M5Stack Unit CO2 uses the Sensirion SCD40 to measure carbon dioxide, temperature and relative humidity. Its red Port A socket takes a 5 V supply and carries a 3.3 V I²C bus.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show circuit details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

4 visible
PinMCU pinTypesNotes
GNDCommon ground for Port A, the SCD40 and the buck regulator.
Power5 V supply input for the module.
I2CBidirectional open-drain I²C data for the SCD40 at address 0x62.
I2CHost-driven open-drain I²C clock for the SCD40.

Specifications

Model
Unit CO2 · SKU U103
Port A (J1)
HY2.0-4P · 2.0 mm pitch · one row
Supply
5 V input on J1.3 · SY8089AAAC 3.3 V buck regulator
I²C
3.3 V open-drain · 15 kΩ pull-ups · 100 kHz maximum per SCD40 datasheet
Sensor
Sensirion SCD40 · 7-bit I²C address 0x62
CO₂ measurement range
400–2000 ppm · ±(50 ppm + 5% of reading)
Enclosure
48 × 24 × 16 mm · vented polycarbonate

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
U103Product documentationM5StackProduct photos, Port A cable colors and mechanical drawing.Datasheet
U103SchematicM5StackJ1 numbering, input fuse, regulator, sensor and pull-up resistors.Datasheet
U103Enclosure CADM5StackMechanical model for the enclosure and red socket opening.Datasheet
SCD40CO₂, temperature and humidity sensorSensirionPin assignment, standard-mode I²C and address 0x62.Datasheet
SY8089AAACStep-down regulatorSilergyU1 generates the internal 3.3 V rail.Datasheet

Board notes

Connector orientation
With the vent grille above the socket, the contacts from left to right are J1.4 GND (black), J1.3 5 V (red), J1.2 SDA (yellow) and J1.1 SCL (white). The label on the rear shows the opposite order, as seen from that side.
Host connection
Supply 5 V to J1.3 and use 3.3 V open-drain I²C. SDA and SCL connect directly to the SCD40 and each has a 15 kΩ pull-up to the internal 3.3 V rail.