The board comes with all surface-mount components pre-soldered. The included header strip can be soldered on for convenient use on a breadboard or with 0.1" connectors. However, for applications subject to extreme accelerations, shock or vibration, locking connectors or direct soldering is advised.
Position the Header
Cut the header to size if necessary. Then plug the header - long pins down - into a breadboard to stabilize it for soldering.
The ADXL345 Breakout has an I2C address of 0x53. It can share the I2C bus with other I2C devices as long as each device has a unique address. Only 4 connections are required for I2C communication:
- GND -> GND
- VIN -> +5v
- SDA -> SDA (Analog 4 on "Classic Arduinos")
- SCL -> SCL (Analog 5 on "Classic Arduinos")
The Adafruit breakout has level shifting and regulation circuitry so you can power it from 3-5V and use 3V or 5V logic levels for I2C.
- Connect SCL on the Metro to SCL (yellow wire) on the ADXL343
- Connect SDA on the Metro to SDA (blue wire) in the ADXL343
- Connect GND on the Metro to GND (black wire) on the ADXL343
- For 3.3V LOGIC boards: connect 3.3V on the Arduino/Metro to VIN (red wire) on the ADXL343
- For 5.0V LOGIC boards: Connect 5V on the Arduino/Metro to VIN (red wire) on the ADXL343