M5Stack Unit ToF Pinout

The Unit ToF measures distance with the STMicroelectronics VL53L0X. The red Port A socket carries 5 V power and I2C.

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
GNDJ1-4. Ground and common return.
PowerJ1-3. Nominal 5 V module supply input.
I2CJ1-2. Bidirectional I2C serial data.
I2CJ1-1. I2C clock from the host.

Specifications

Model
Unit ToF · U010 · Exact PCB revision unconfirmed
Sensor
STMicroelectronics VL53L0X · 940 nm emitter · 25° field of view
Port
J1 / PORT.A · HY2.0-4P · 2.0 mm pitch
Power
Nominal 5 V input · Internal 3.3 V via HT7533 on the schematic
I2C
0x29 default 7-bit address · Up to 400 kHz at the sensor
Ranging
3–200 cm · M5Stack specifies long-range mode and low infrared interference for 2 m
Enclosure
32 × 24 × 8 mm · 4.1 g · Two mounting holes

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Unit ToF U010Product documentationM5StackPhotographs, cable colors, specifications and mechanical files.Datasheet
Unit ToF U010SchematicM5StackJ1 numbering, HT7533, pull-ups, translators and internal test nodes.Datasheet
Unit ToF U010Schematic V1.0M5StackSheet dated 2018-07-19. Its Q1 and Q2 part numbers differ from the current drawing.Datasheet
Unit ToF U010Legacy logic guidanceM5StackSpecifies 3.3 V host signals and 5 V power.Datasheet
VL53L0XSensor datasheetSTMicroelectronicsSensor terminals, timing and address format.Datasheet

Board notes

Socket orientation
With the sensor facing you and the red socket below it, the contacts run left to right as GND, 5V, SDA and SCL. The back sticker reads in the opposite order. The pin numbers here follow M5Stack's U010 schematic.
I2C voltage
M5Stack's legacy guide specifies 3.3 V host signals. Both schematics show the port-side pull-ups connected to VCC, which is nominally 5 V. Check the actual bus high level and host input tolerance before connecting.
PCB revision
M5Stack's historical schematic is marked V1.0. It names AO3400A for Q1 and Q2, while the current drawing names BSS138. The enclosed PCB revision and fitted transistors are unconfirmed.
Internal test nodes
The schematic shows JP1 on XSHUT and JP2 on GPIO1. Both are internal test nodes without verified physical locations on the pictured PCB. Port A exposes four contacts.