pyupm_adis16448 module

class pyupm_adis16448.ADIS16448(bus, rst)[source]

Bases: object

API for the Analog Devices ADIS16448 Accelerometer.

ID: adis16448

Name: Industrial Grade Ten Degrees of Freedom Inertial Sensor

Category: accelerometer

Manufacturer: generic

Link:http://www.analog.com/en/products/sensors/isensor-mems-inertial- measurement-units/adis16448.html

Connection: spi This is an industrial-grade accelerometer by Analog Devices.

C++ includes: adis16448.hpp

accelScale(sensorData)[source]

float accelScale(int16_t sensorData)

Scales accelerometer data

configSPI()[source]

void configSPI()

Sets SPI frequency, mode, and bits/word

gyroScale(sensorData)[source]

float gyroScale(int16_t sensorData)

Scales gyro data

magnetometerScale(sensorData)[source]

float magnetometerScale(int16_t sensorData)

Scales magnetometer data

pressureScale(sensorData)[source]

float pressureScale(int16_t sensorData)

Scales pressure data

regRead(regAddr)[source]

int16_t regRead(uint8_t regAddr)

Reads a specified register and returns data

regWrite(regAddr, regData)[source]

void regWrite(uint8_t regAddr, uint16_t regData)

Writes to a specified register

resetDUT()[source]

void resetDUT()

Performs hardware reset by sending the specified pin low for 2 seconds

tempScale(sensorData)[source]

float tempScale(int16_t sensorData)

Scales temperature data