1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com Pmod NAV Reference Manual Revised January 17, 2017 This manual applies to the Pmod NAV rev. C Overview The Digilent Pmod NAV (Revision C) uses the LSM9DS1 3-axis accelerometer, 3-axis gyroscope, 3-axis magnetometer, plus the LPS25HB digital barometer to provide users with 10-DOF functionality. 1 Functional Description The Pmod NAV provides a variety of orientation related data allowing users to easily determine the exact position the module is in and where it is headed. With 16-bit full scale registers for acceleration, rotation, and orientation, and 24 bits of resolution for pressure data, users can easily figure out if their moving robot is falling over, how high in the air their hot air balloon is located, or which direction they are facing. Features: 2/4/8/16 g linear acceleration full scale 245/500/2000 dps angular rate full scale 4/8/12/16 gauss magnetic full scale 260-1260 hPa piezoresistive pressure sensor Embedded temperature sensors for compensation 12-pin Pmod connector with SPI interface Follows Digilent Interface Specification Type 2A The Pmod NAV. 2 Interfacing with the Pmod The Pmod NAV communicates with the host board via the SPI protocol. By pulling the appropriate chip select line low (either for the Accelerometer/Gyroscope, the Magnetometer, or the Barometer) users may collect data from any of the four available sensors on the Pmod NAV. The accelerometer provides full-scale 16-bit signed data for all three Cartesian axes. All of the data is measured as linear acceleration since each axis is measured individually and are all isolated from each other. Gyroscopes DOC#: 510-326 Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners. Page 1 of 3 Pmod NAV Reference Manual measure the angular rotation rate of the module, indicating the degrees per second that the module is being rotated around each axis. The magnetometer detects the magnetic field present around the module, including both the earth's magnetic field as well as the local magnetic environment around it. Each of the three magnetic axis registers provide signed 16-bit full-scale data with up to 16 gauss sensitivity. Before using the magnetometer, users should run a calibration routine (available in the code example on the Pmod NAV Resource Center) to correct for any hard iron biases that may be present around them. The final component on the Pmod NAV is a barometer with an absolute pressure range of 260 to 1260 hPa which is approximately equivalent to 0.25 to 1.25 atm. Note that as a piezoresistive pressure sensor on the Pmod NAV, you can only measure air pressure with the barometer rather than being able to also measure water pressure. 3 Pin Description Tables Pin 1 2 3 4 5 6 7 8 9 10 11 12 Signal CS_A/G SDI SDO SPC GND VCC INT DRDY_M CS_M CS_ALT GND VCC Description Chip select for Accel/Gyro Master Out Slave In (MOSI) Master In Slave Out (MISO) Serial Clock Power Supply Ground Power Supply (3.3V/5V) Interrupt pin for all components Data ready for the Magnetometer Chip Select for the Magnetometer Chip Select for the Altimeter Power Supply Ground Power Supply (3.3V/5V) Table 1. Header J1 pin descriptions. Pin 1 2 Signal INT_M INT_ALT Description Interrupt for the Magnetometer Interrupt for the Altimeter Table 2. Header J2 pin descriptions. Pin 1 2 Signal INT1_A/G DEN_A/G Description Interrupt 1 for Altimeter/Gyroscope Data Enable for Altimeter/Gyroscope Table 3. Header JP1 pin descriptions. The Pmod NAV reports to the host board when users bring the appropriate chip select line low to then read the data from the registers on the LSM9DS1. Any external power applied to the Pmod NAV must be within 1.9V and 3.6V; however, it is recommended that Pmod is operated at 3.3V. Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners. Page 2 of 3 Pmod NAV Reference Manual 4 Physical Dimensions The pins on the pin header are spaced 100 mil apart. The PCB is 0.8 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header. Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners. Page 3 of 3