Assembly:
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.Prepare the header strip:
Cut the strip[ to length if necessary. It will be easier to solder if you insert it into a breadboard - long pins down.Add the breakout board:
Place the breakout board over the pins.(You can prop up the free edge of the board with some extra pins to better align it for soldering.)
And Solder!
Be sure to solder all pins for reliable electrical contact.(For tips on soldering, be sure to check out our Guide to Excellent Soldering).
Wiring:
You'll need to power the breakout, you can power it from 3V-5VDC, connect ground to GND and VCC to our power supply (3-5V)The L3GD20 breakout board supports both I2C and SPI communication. I2C requires the fewest connections, so we will start with that:
Wiring for I2C:
I2C requires only 2 pins (in addition to VCC and ground).'Classic' Arduino Wiring:
On pre-R3 Arduinos, the I2C pins are:- SDA = Analog 4
- SCL = Analog 5
For the Mega
- SDA = Digital 20
- SCL = Digital 21
R3 and Later Arduino Wiring:
Although the 'classic' wiring will still work, All R3 and later Arduinos (including Mega, Due and Leonardo) have SDA and SCL pins on the extended header next to AREF for compatibility.Text editor powered by tinymce.