Skip to content
dischoen edited this page Feb 12, 2014 · 2 revisions

12.2.2014

Today the first delivery from Adafruit with the L3GD20 arrived.

I soldered the header strip to the breakout board and connected it with four wires with a I2C interface on the control board. There was a little problem, because Arduino has not yet uploaded the Eagle board files to their web site, and the I2C connectors are not labelled, so I had to to measure voltages and do some try-and-error.

If you have the robot in front of you, so that the I2C connectors are top left, then the I2C signals are:

Pin Signal
1(Top) SCL
2 SDA
3 VCC
4(Bottom) GND

I downloaded the Adafruit library and installed it. I removed the #include "Wire.h" directive, because that's already included in the RobotLibrary. And in the example sketch I changed Adafruit_L3GD20 gyro(); to Adafruit_L3GD20 gyro;

Clone this wiki locally