- EOL
Attention! Product replaced by a new version:L3GD20H 3-axis digital I2C SPI gyroscope. |
Specification
- Power supply voltage: 2.5 to 5.5 V
- Current consumption : 7 mA
- Output data: I²C(TWI)/SPI: 16-bit / axis
- Measuring ranges (configurable): ±250 °/s, ±500 °/s or ±2000 °/s
- Dimensions: 13 × 23 × 3 mm
- Weight: 0.7 g (without connectors)
- Includes 9x1 goldpin strips (straight and angular)
Description
The sensor is used to measure angular speed in three axes. The module has a gyroscopeL3GD20( datasheet) fromSTcompanytogether with voltage regulator and necessary passive elements.
The L3GD20 system has a resonator of higher frequency than the previous model L3G4200D. This reduces interference and vibration generated by audio frequency devices. |
Main features:
- Choice of three measurement ranges (±250°/sec, ±500°/sec or ±2000°/sec)
- Selectable I2C or SPI communication interface
- Built-in FIFO queue for data caching
- Programmable interruptions
- Voltage regulator 3.0V with current capacity 150mA
- A circuit that equalizes the voltage on I²C/SPI lines to the input voltage (VIN). This allows for seamless operation with 5V standard circuits.
We also offer a MinIMU-9 module containing a 3-axis accelerometer, magnetometer and gyroscope.
Product compatible with Arduino The manufacturer has prepared a librarythat makes it easier forArduino users to use the module. |
The excerpts
The sensor has nine leads for mounting goldpin-type connectors - 2.54mm raster (included). On customer's request we can solder the strip.
PIN | Description |
VIN | Supply voltage 2.5 V - 5.5 V |
GND | System mass potential |
VDD | 3.0 V regulator output |
SCL | Clock line I2C |
SDA | I2C data line |
SPC | Clock line SPI |
SDI | SPI data line |
SDO | SPI data line or address selection for I2C |
CS | Enabling SPI by default pulled up to VCC (set to I2C), to enable the SPI interface you must pull up to ground |
DRDY/INT2 | Data read ready / interrupt from FIFO queue |
INT1 | Configurable interruption |
Communication
The communication interface is selected by setting the logical state on the CS output, which is internally pulled up to the VDD. This means that by default, the system communicates via the I2C bus. To select the SPI option, the CS pin must be shorted to ground.
I2C
The chip has a 7-bit address, whose last bit (LSB) is configurable by outputting SDO. By default, the SDO is pulled to VCC via a 10k ohm resistor, which sets the address to1101011b. If there is a conflict with another device, the address can be changed by connecting SDO to ground. This will change the last bit of LSB to 0.The specific transmission and register description can be found in the system documentation.
The manufacturer states that the system operates flawlessly at 400 kHz (I2C fast mode). Above this value, transmission interference may occur.
SPI
To select communication via SPI, the CS pin should be connected to ground. Detailed transmission and register description can be found in thesystemdocumentation.