LabWired The easy way to build hardware
I²C device

MMA8451Q Accelerometer

The MMA8451Q Accelerometer is an I²C device in the LabWired part catalog. Its catalog type is mma8451q. It connects to the MCU over I²C at the default address 0x1C. It has 8 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategoryI²C devices
Catalog typemma8451q
InterfaceI²C
Default I²C address0x1C (28 decimal)
Pins8
DatasheetNXP MMA8451Q 3-axis accelerometer datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

MMA8451Q Accelerometer pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
SCL Open-drain I²C clock (SCL)
SDA Open-drain I²C data (SDA)
I2 Passive —
I1 Passive —
3V3 Passive —
SA0 Passive —

How to simulate the MMA8451Q Accelerometer in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the MMA8451Q Accelerometer (catalog type mma8451q).
  3. Connect VCC and GND to the supply and ground of the board.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Connect I2, I1, 3V3 and SA0 as your circuit needs.
  6. Run the firmware. It finds the part on the I²C bus at 0x1C and reads and writes it as on hardware.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from NXP MMA8451Q 3-axis accelerometer datasheet.