You are on page 1of 2

DT-Sense 3 Axis Gyroscope

DT-Sense 3 Axis Gyroscope


is an angular velocity sensor module (gyroscope) based on L3G4200D from STMicroelectronics (www.st.com). This module is able to read angular velocity on 3 axis with adjustable measurement range. This module also has the ability to select bandwidth or data output speed, FIFO buffer, and has interrupt system and pin. This module is suitable for applications such as game or virtual reality controller, part of GPS and robot navigation system, MMI (Man Machine Interface) control device or other applications requiring angular velocity data. Specification 1. Requires 3.3 VDC power supply. 2. Three-axis angular rate sensor. 3. Selectable full scales, 250/500/2000 dps (degree per second). 4. Output data with 16 bits format. 5. Equipped with an 8 bits temperature sensor. 6. Programmable interrupt pin. 7. Two selectable interface for sensor reading and module configuration: I2C and SPI. Layout

CS (J2) is used to to select the used interface.

CS (J2) Jumper
J2 CS J2 CS

Interface SPI (jumper released) I2C (jumper attached)

SDO (J1) is used to to select the used I2C address.

SDO (J1) Jumper


1 1 J1 SDO J1 SDO

I2C address Write address = D2h Read address = D3h Write address = D0h Read address = D1h

SDA (J3) and SCL (J4) are used to activate pull-up resistors for SDA and SCL pin on the I2C interface.

SDA (J3) and SCL (J4) Jumpers


J4 SCL J4 SCL J3 SDA J3 SDA

Function Pull-up inactive (jumpers released) Pull-up active (jumpers attached)

Important ! If more than one module are connected to I2C-bus, then only one set of SDA (J3) - SCL (J4) jumpers needs to be connected. CD/DVD Contents 1. Testing Program. 2. DT-Sense 3 Axis Gyroscope Manual. 3. Datasheet. 4. Innovative Electronics Offline Website. Testing Procedure A simple testing procedure can be performed by following the steps below: 1. Prepare the DT-AVR ATmega168 BMS module, load the program Contoh (included in CD/DVD). 2. Attach the voltage selector jumper so that DT-AVR ATmega168 BMS works at 3.3 volts. 3. Connect the DT-AVR ATmega168 BMS and DT-SENSE 3 AXIS GYROSCOPE module using the following table:

Pin 1 2 3 4 5 6 7 8

Name INT1 INT2 SDO CS SDA/ SDI SCL/ SPC Ground V33

Output Output Input/ Output Input Input/ Output Input Input

Function Programmable Interrupt Data Ready / FIFO Interrupt SPI Serial Data Output / I2C Address Selector (0 : D0h/D1h ; 1 : D2h/D3h) Chip Select & SPI Enable (0) or I2C Enable (1) I2C Serial Data (SDA) / SPI Serial Data Input (SDI) I2C Serial Clock (SCL) / SPI Serial Clock (SPC) Ground reference point 3.3 VDC voltage input

DT-AVR ATmega168 BMS (PORT B) VIN (Pin 2) GND (Pin 1) PB0 (Pin 3) PB1 (Pin 4)

DT-Sense 3 Axis Gyroscope V33 (Pin 8) Ground (Pin 7) SCL (Pin 6) SDA (Pin 5)

4. Attach all I2C pull up and CS jumpers on the DTSENSE 3 AXIS GYROSCOPE module. 5. Attach the SDO jumper on 2-3 so that I2C address is D0h. 6. Connect the 9 volts power supply to the DT-AVR ATmega168 BMS module. Turn the power supply on. 7. Afterward, the gyroscope data gyroX, gyroY, and gyroZ will be sent via DT-AVR Atmega168 BMS

module's UART line with 38400 bps baudrate mode, 8 bits data,1 stop bit, and without parity. 8. Spin the DT-SENSE 3 AXIS GYROSCOPE module to test the changes on each of the gyroscope's axis. 9. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with Z axis shaft (shaking motion), then the gyroZ value will change the most. 10. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with X axis shaft (nodding motion), then the gyroX value will change the most.

11. If the DT-SENSE 3 AXIS GYROSCOPE module is spun with Y axis shaft (teeter totter motion), then the gyroY value will change the most.
Thank you for your confidence in using our products, if there are difficulties, questions, or suggestions regarding this product please contact our technical support:

support@innovativeelectronics.com

Copyright 2012 Innovative Electronics

You might also like