Schematik raised$4.6Mto help anyone build hardware with AI$4.6MIL PRE-SEED ANNOUNCEMENT
SCHEMATIKSCHEMATIK
GuidesPartsBlogCompanyDownload
GuidesPartsBlogCompanyDownload
SCHEMATIK

Built with love in Europe | For makers everywhere

Product

  • Home
  • Try Schematik
  • Download

Resources

  • Build guides
  • Blog
  • Press
  • Information for AI

Compare

  • Schematik or Fritzing
  • Schematik or Tinkercad
  • Schematik or Wokwi
  • Schematik or Claude Code

Company

  • Company
  • Jobs
  • Privacy
  1. Parts
  2. /Sensors
  3. /Environmental Sensors

XL-MaxSonar-EZ0 MB1200 Ultrasonic Distance Sensor

OverviewPinoutWiringRelated groups
XL-MaxSonar-EZ0 MB1200 Ultrasonic Distance Sensor — DFRobot — SEN0089

The product is a compact ultrasonic sensor with a wide, sensitive beam for indoor use, offering reliable detection and real-time calibration. It operates on 3.3-5.5V.

Offers

  • DFRobot

Offers

  • DFRobot

Pinout

  • Pin 1MB1200 datasheet pin 1

    Leave open or high for serial output on Pin 5; hold low for Pin 5 pulse output suitable for low-noise chaining.

    Type · controlVoltage · 0-Vcc logic, Vcc is 3.3V to 5V
  • PWMB1200 datasheet pin 2

    Pulse-width range output on MB1200. Datasheet scale factor is 58 µs per cm.

    Type · digital ioVoltage · 0-Vcc logic, Vcc is 3.3V to 5V
  • ANMB1200 datasheet pin 3

    Analog voltage range output, scaling factor Vcc/1024 per cm. Buffered output for most recent range data.

    Type · analogVoltage · Vcc/1024 per cm; about 4.9 mV/cm at 5V and 3.2 mV/cm at 3.3V
  • RXMB1200 datasheet pin 4

    Ranging control input. Internally pulled high; left open or high keeps measuring, held low stops ranging. Bring high for 20 µs or more for a range reading.

Start wiring

Analog · I2S · UART · 0-Vcc logic, Vcc is 3.3V to 5V · Vcc/1024 per cm; about 4.9 mV/cm at 5V and 3.2 mV/cm at 3.3V

Verify supply voltage and logic levels before powering up.

Module pins: V+, GND, AN, RX, TX. Schematik maps them to your board in the app.

Related groups

4 groups
MQ-2 Gas Sensor visual preview
MQ-3 Gas Sensor visual preview
MQ-135 Gas Sensor visual preview
Grove - Air quality sensor visual preview

Air quality

Choose between MQ gas sensors, VOC/eCO2 indoor-air sensors, true CO2 modules and particulate sensors without treating every air-quality breakout as the same detector.

Sensors · Gas & air-quality sensors · 29 parts

Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual preview
DHT20 - AHT20 Pin Module - I2C Temperature and Humidity Sensor visual preview

Temp and humidity

DHT11, DHT22/AM2302, and DHT20/AHT20 sensors solve the same broad job, but only some are acceptable substitutes in the same circuit.

Sensors · Environment sensors · 19 parts

Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
Fermion: ENS160+BME280 Environmental Sensor - TVOC, eCO2, Temp & Humidity (Breakout) visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual preview

Environment sensors

Choose between temperature-only, temperature/humidity, pressure and indoor air-quality modules without treating every environmental sensor as a drop-in substitute.

Sensors · Environment sensors · 8 parts

Photo cell (CdS photoresistor) visual preview
TCS3200 Color Sensor visual preview
Adafruit APDS9999 Proximity, Lux Light & Color Sensor visual preview
Adafruit AS7341 10-Channel Light / Color Sensor Breakout visual preview

Light and colour

Photoresistors and color sensors both respond to light, but they expose very different signals and are not sensible drop-in substitutes.

Sensors · Light & color sensors · 6 parts

Parts tray full · 5 max · remove a part to add another
Type · digital io
Voltage · 0-Vcc logic, internally pulled high
  • TXMB1200 datasheet pin 5

    Asynchronous serial range output when Pin 1 is open/high: ASCII R plus three range digits in cm plus carriage return, 9600 baud 8N1. Sends a pulse when Pin 1 is held low.

    Type · serialVoltage · 0-Vcc serial-level output, not true RS232 voltage
  • V+MB1200 datasheet V+ pad

    DC supply input for the XL-MaxSonar MB1200 sensor.

    Type · powerVoltage · 3.3V to 5V; average current 2.1 mA at 3.3V or 3.4 mA at 5V, higher peak during sonar transmit
  • GNDMB1200 datasheet GND pad

    Return for the DC power supply. Datasheet says GND and V+ must be ripple and noise free for best operation.

    Type · groundVoltage · 0V
  • PinPositionTypeFunctionVoltage
    Pin 1MB1200 datasheet pin 1controlLeave open or high for serial output on Pin 5; hold low for Pin 5 pulse output suitable for low-noise chaining.0-Vcc logic, Vcc is 3.3V to 5V
    PWMB1200 datasheet pin 2digital ioPulse-width range output on MB1200. Datasheet scale factor is 58 µs per cm.0-Vcc logic, Vcc is 3.3V to 5V
    ANMB1200 datasheet pin 3analogAnalog voltage range output, scaling factor Vcc/1024 per cm. Buffered output for most recent range data.Vcc/1024 per cm; about 4.9 mV/cm at 5V and 3.2 mV/cm at 3.3V
    RXMB1200 datasheet pin 4digital ioRanging control input. Internally pulled high; left open or high keeps measuring, held low stops ranging. Bring high for 20 µs or more for a range reading.0-Vcc logic, internally pulled high
    TXMB1200 datasheet pin 5serialAsynchronous serial range output when Pin 1 is open/high: ASCII R plus three range digits in cm plus carriage return, 9600 baud 8N1. Sends a pulse when Pin 1 is held low.0-Vcc serial-level output, not true RS232 voltage
    V+MB1200 datasheet V+ padpowerDC supply input for the XL-MaxSonar MB1200 sensor.3.3V to 5V; average current 2.1 mA at 3.3V or 3.4 mA at 5V, higher peak during sonar transmit
    GNDMB1200 datasheet GND padgroundReturn for the DC power supply. Datasheet says GND and V+ must be ripple and noise free for best operation.0V