Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO and Adafruit L3GD20H Gyroscope Interface

Image of Arduino UNO and Adafruit L3GD20H Gyroscope Interface

Circuit Documentation

Summary of the Circuit

This circuit integrates an Adafruit L3GD20H Triple-Axis Gyro Breakout Board with an Arduino UNO microcontroller. The purpose of this circuit is to allow the Arduino UNO to communicate with the gyro breakout board, likely for the purpose of measuring and processing angular rate data. The gyro breakout board is interfaced with the Arduino UNO via I2C communication protocol, utilizing the SCL and SDA lines. Additionally, the gyro is powered by the 5V supply from the Arduino and shares a common ground.

Component List

Adafruit L3GD20H Triple-Axis Gyro Breakout Board

  • Description: A high-precision three-axis gyroscope.
  • Pins: SCL/SPC, SDA/SDI/SDO, SDO/SAO, CS, DRDY/INT2, INT1, GND, +3V3, VIN

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0

Wiring Details

Adafruit L3GD20H Triple-Axis Gyro Breakout Board

  • SCL/SPC connected to Arduino UNO A5 (SCL)
  • SDA/SDI/SDO connected to Arduino UNO A4 (SDA)
  • GND connected to Arduino UNO GND
  • VIN connected to Arduino UNO 5V

Arduino UNO

  • A5 (SCL) connected to Adafruit L3GD20H Triple-Axis Gyro Breakout Board SCL/SPC
  • A4 (SDA) connected to Adafruit L3GD20H Triple-Axis Gyro Breakout Board SDA/SDI/SDO
  • GND connected to Adafruit L3GD20H Triple-Axis Gyro Breakout Board GND
  • 5V connected to Adafruit L3GD20H Triple-Axis Gyro Breakout Board VIN

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not include specific functionality. It is expected that the user will add code to initialize the I2C communication with the gyro breakout board and to read the angular rate data in the setup() and loop() functions, respectively.