Component guide · Advanced · 3 min read
ST IIS3DWB 3-Axis Ultra-Wide Bandwidth Digital Vibration Sensor for Condition…

Monitoring
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ST IIS3DWB is a 3-axis MEMS vibration sensor with a flat response up to about 6.3 kHz, sampling at 26.7 kHz. It is made for predictive maintenance: mount it on a motor, pump or bearing housing, collect samples and run an FFT to see faults. It uses SPI only, runs at 2.1 to 3.6 V and has a 3 KB FIFO to buffer bursts.
Key specs at a glance
- Range
- ±2, ±4, ±8 or ±16 g
- Bandwidth
- About 5 Hz to 6.3 kHz
- Sample rate
- 26.7 kHz
- Interface
- SPI only
- Supply
- 2.1 to 3.6 V
- WHO_AM_I
- 0x7B
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the ST IIS3DWB wideband vibration sensor is
The ST IIS3DWB is a wide-bandwidth 3-axis accelerometer (up to 6 kHz) for vibration monitoring and predictive maintenance on motors, pumps and machines.
Machine faults show up as peaks at specific frequencies: imbalance at running speed, bearing defects at higher harmonics. A wide, flat bandwidth catches these early.
Mount it rigidly with a stud or epoxy close to the bearing; a loose mount filters out the high frequencies you want.
ST IIS3DWB wideband vibration sensor pinout
The pins on the ST IIS3DWB wideband vibration sensor and what each one does.
| Pin | Function |
|---|---|
| VDD / VDDIO | 2.1 to 3.6 V |
| GND | Ground |
| SCL / SPC | SPI clock |
| SDA / SDI | SPI MOSI |
| SDO | SPI MISO |
| CS | Chip select |
| INT1 / INT2 | FIFO and data-ready interrupts |
- VDD / VDDIO
- 2.1 to 3.6 V
- GND
- Ground
- SCL / SPC
- SPI clock
- SDA / SDI
- SPI MOSI
- SDO
- SPI MISO
- CS
- Chip select
- INT1 / INT2
- FIFO and data-ready interrupts
Wiring the ST IIS3DWB wideband vibration sensor
3.3 V only; use an ESP32 or other 3.3 V board. Keep SPI wires short at high clock rates.
| ST IIS3DWB wideband vibration sensor pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V or 3.3V (see the module) | 3V3 |
| GND | GND | GND |
| SCK | D13 | GPIO 18 |
| MISO / SDO | D12 | GPIO 19 |
| MOSI / SDI | D11 | GPIO 23 |
| CS | D10 | GPIO 5 |
- VCC
- Arduino Uno:
- 5V or 3.3V (see the module)
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SCK
- Arduino Uno:
- D13
- ESP32:
- GPIO 18
- MISO / SDO
- Arduino Uno:
- D12
- ESP32:
- GPIO 19
- MOSI / SDI
- Arduino Uno:
- D11
- ESP32:
- GPIO 23
- CS
- Arduino Uno:
- D10
- ESP32:
- GPIO 5
Example code
For data, use ST's IIS3DWB driver or STM32duino library and read bursts from the FIFO.
#include <SPI.h>
const int CS = 5;
uint8_t readReg(uint8_t reg) {
digitalWrite(CS, LOW);
SPI.transfer(reg | 0x80);
uint8_t v = SPI.transfer(0);
digitalWrite(CS, HIGH);
return v;
}
void setup() {
Serial.begin(115200);
pinMode(CS, OUTPUT); digitalWrite(CS, HIGH);
SPI.begin();
SPI.beginTransaction(SPISettings(8000000, MSBFIRST, SPI_MODE3));
Serial.print("WHO_AM_I = 0x"); Serial.println(readReg(0x0F), HEX); // expect 0x7B
}
void loop() {}Setup and tuning
connect over SPI at 3.3 V; it runs at a high 26.7 kHz data rate.
use the FIFO buffer to collect samples in bursts.
run an FFT on the samples to see vibration frequencies.
attach rigidly to the machine with a screw or stud; adhesive or magnets lower high-frequency response.
record healthy machine data to compare with later readings.
What you need
Shop this list4 of 4 found in our store · ₹7,064
STMicroelectronics IIS3DWB 3-Axis Ultrawide Bandwidth Digital Vibration Sensor (SPI, ±2g to ±16g, 6kHz MEMS Accelerometer): the part this guide coversSTMicroelectronics IIS3DWB 3-Axis Ultrawide Bandwidth Digital Vibration Sensor (SPI, ±2g to ±16g, 6kHz MEMS Accelerometer)₹3,619
STMicroelectronics IIS3DWBTR Digital 3-Axis Vibration Sensor – ±2/4/8/16g, 6.3kHz BW, LGA-14: another version this guide coversSTMicroelectronics IIS3DWBTR Digital 3-Axis Vibration Sensor – ±2/4/8/16g, 6.3kHz BW, LGA-14₹2,879
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- Industrial vibration accelerometers: sealed sensors with cables.
- ADXL1002: analog wideband option.
- SW-420 vibration switch: simple on or off.
Common mistakes to avoid
- Mounting it loosely.
- Reading single samples instead of FIFO bursts.
- No baseline data for comparison.
- Using I2C wiring.
Frequently asked questions
What can the IIS3DWB detect on a motor?
Imbalance, misalignment and bearing wear, from the frequency pattern.
Why use SPI instead of I2C?
The IIS3DWB only supports SPI, needed for its high data rate.
How should I mount the sensor?
Rigidly with a stud or screw for the best high-frequency response.
Do I need to run an FFT?
Yes, to see the frequency peaks that show faults.
Can a microcontroller keep up?
Yes with FIFO and DMA; an ESP32 or STM32 works well.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
