A microelectromechanical system (MEMS) accelerometer is a device that can measure acceleration on one or more axes. It can also be used to detect the orientation of your device relative to the earth’s gravity. MEMS accelerometers can be found in industrial and mobile applications, aeronautical instruments and tactical guidance systems. You can test MEMS accelerometer with Digilent Digital Discovery when you prototype your systems.
Digilent Digital Discovery is a combined logic analyzer and pattern generator instrument that was created to be the ultimate embedded development companion. The digital inputs and outputs can be connected to a circuit using simple wire probes or breadboard wires. The Digital Discovery high-speed adapter and impedance-matched probes can also be used to connect and utilize the inputs and outputs for more advanced projects.
WaveForms is our powerful multi-instrument software application for Digital Discovery. It is compatible with Windows, Mac, Linux and Raspberry Pi 4. Users can use Javascript in WaveForms Script Editor to control the Digital Discovery. The WaveForms Software Development Kit (SDK) provides access to a public application programming interface (API) that gives users the ability to create custom PC applications.
Set Up the Test
- Connect GND and Vdd of the sensor to the Digital Discovery’s GND and VIO pins
- Load WaveForms SDK
- Use Python script to enable the 3.3V power supply from Digital Discovery to the KAmodMEMS2 module and configure the I2C interface.
- Use the Python script to read the data and update graphs as long as the plot window is open.
- Run the script and test the KAmodMEMS2 module.
Learn the test step by step and download the source code in Digilent Wiki Page.
Get the Digilent Digital Discovery on Elfa Distrelec.