We have two versions of this sensor, a compact and sewable Flora sensor and also a more extensive breadboard-friendly breakout. They use the same chip sensor, of course, and the same firmware code. However there's some differences about the pinouts!
Power Pins
There's two power pins, 3V and GND. The 3V has to be regulated 'cleanly' from the Flora. There's no on-board polarity or regulation! The GND pin is the ground for both power and signal.Data pins
Flora uses a chainable I2C data path for sensors, all the sensors share the same SCL and SDA pins. These pins have 10K pullups to 3V but they do not have level shifting so they are only for use with 3V logic boards such as Flora!Power Pins
The sensor on the breakout requires 3V power. Since many customers have 5V microcontrollers like Arduino, we tossed a 3.3V regulator on the board. Its ultra-low dropout so you can power it from 3.3V-5V just fine.- Vin - this is the power pin. Since the chip uses 3 VDC, we have included a voltage regulator on board that will take 3-5VDC and safely convert it down. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V micro like Arduino, use 5V
-
3V3 - this is the 3.3V output from the voltage regulator, you can grab up to 100mA from this if you like
- GND - common ground for power and logic
I2C Pins
-
SCL - I2C clock pin, connect to your microcontrollers I2C clock line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
- SDA - I2C data pin, connect to your microcontrollers I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
SPI Pins
If you're interested in using SPI to interface with the LSM9DS0, you can!-
SCL - this is also the SPI clock pin, it's level shifted so you can use 3-5V logic input
- SDA - this is also the SPI MOSI pin, it's level shifted so you can use 3-5V logic input
- CSG - this is the Gyro subchip Chip Select, it's level shifted so you can use 3-5V logic input
- CSXM - this is the Accelerometer & Magnetometer subchip Select, it's level shifted so you can use 3-5V logic input
- SDOG - this is the Gyro subchip MISO pin - it's 3V logic out, but can be read properly by 5V logic chips.
-
SDOXM - this is the Accelerometer & Magnetometer subchip MISO pin - it's 3V logic out, but can be read properly by 5V logic chips.
Interrupt & Misc Pins
Since there's so many sensors in the LSM9DS0, there's quite a number of interrupt outputs.-
DEN - this is a pin that can be used to dynamically enable/disable the Gyro. There's actually no documentation on it but it seems you can try it out by enabling the trigger with
write8(GYROTYPE, 0x21, 0xC0);
which will let you use DEN to turn on/off gyro output (level trigger). This pin is level shifted.
- INT1 & INT2 - These are interrupts from the accelerometer/magnetometer subchip. We don't have specific library support for these so check the datasheet for what you can make these indicate. They are 3V-logic outputs
- DRDY - this is the Gyro subchip data ready output. We don't have specific library support for these so check the datasheet for how you can set the registers to enable this pin. It is a 3V-logic output.
- INTG - This is the interrupt from the Gyro subchip. We don't have specific library support for it so check the datasheet for what you can make it indicate. It is a 3V-logic output.
Page last edited July 31, 2014
Text editor powered by tinymce.