Subsection 12.1.2 The LSM303AGR and Its Breakout Board
The new device is the LSM303AGR, a sensor chip made by STMicroelectronics that measures acceleration along three perpendicular axes. The chip also contains a magnetometer, but we’ll only use the accelerometer in this class. We interact with it via I2C. (The chip can also use SPI, a different serial bus we don’t use in this course; the breakout is wired for I2C.)
The chip itself is a couple of millimeters across, far too small to handle directly. It comes to us on a breakout board, a small board that carries the chip and the extra parts it needs, in this case the bus’s pull-up resistors and a voltage regulator. The breakout connects by a STEMMA QT cable, a 4-wire plug that only goes in one way, so the connector end cannot be miswired. We’ll do the wiring together in class.
