Pinouts

The MPRLS is a I2C sensor. That means it uses the two I2C data/clock wires available on most microcontrollers, and can share those pins with other sensors as long as they don't have an address collision. For future reference, the I2C address is 0x18 and you can't change it!

Power Pins:

  • Vin - this is the power pin. Since the chip uses 3 VDC, we have included a voltage regulator on board that will take 3-5VDC and safely convert it down. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V micro like Arduino, use 5V
  • 3v3 - this is the 3.3V output from the voltage regulator, you can grab up to 100mA from this if you like
  • GND - common ground for power and logic

I2C Logic pins:

  • SCL - I2C clock pin, connect to your microcontrollers I2C clock line.
  • SDA - I2C data pin, connect to your microcontrollers I2C data line.

Other pins:

  • RST - Hardware reset input pin. Pulled up by default, drive to ground to hardware reset the board. 3-5V logic safe
  • EOC - End Of Conversion output pin. Will toggle to let you know a sensing conversion is ready to be read. Optional but will speed up you interface code just a bit. You can leave it disconnected and we'll query the chip over I2C for when it's ready.
This guide was first published on Sep 26, 2018. It was last updated on Sep 26, 2018. This page (Pinouts) was last updated on Mar 30, 2020.