L3GD20 to Arduino Due

by ulf a on Sun Feb 16, 2014 7:53 am

I am trying to use a gyro L3GD20 connected to an Arduino Due

The result is "Oops ... unable to initialize the L3GD20. Check your wiring!"

The wiring is
L3GD20 Arduino Due
gnd gnd
VCC 3.3 V
SDA SDA (20)
SCL SCL (21)

There is no light indication on the L3GD20.

Regards
Ulf
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am

Re: L3GD20 to Arduino Due

by adafruit_support_mike on Sun Feb 16, 2014 4:37 pm

Post a photo of your hardware and we'll see if we can find anything.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 8621
Joined: Thu Feb 11, 2010 1:51 pm

Re: L3GD20 to Arduino Due

by ulf a on Sun Feb 16, 2014 5:22 pm

The yellow one's is passing below the L3GD20 to a XBee
Short orange is ground
Short yellow is 3.3v
SDA to SDA (20 on Due) and SCL to SCL (21 on Due)

In the other end of the Due there is SDA1 and SCL1
Should these be used instead.

Regards
Ulf
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am

Re: L3GD20 to Arduino Due

by ulf a on Sun Feb 16, 2014 5:28 pm

img.jpg
img.jpg (930.59 KiB) Viewed 111 times

Here comes the picture
Ulf
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am

Re: L3GD20 to Arduino Due

by adafruit_support_mike on Mon Feb 17, 2014 10:39 pm

Check the voltage at the VCC pin to make sure you're getting 5v. If you aren't getting a power LED, it's a sign that there's some kind of glitch in the power connections.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 8621
Joined: Thu Feb 11, 2010 1:51 pm

Re: L3GD20 to Arduino Due

by ulf a on Tue Feb 18, 2014 5:40 am

It's connected to 3.3V since the description is saying "Getting started is easy - simply connect SDA to your Arduino I2C data pin (On the UNO this is A4), SCL to I2C clock (Uno: A5), GND to ground, and Vin to 3 or 5VDC."
I connected 5V at my Arduino Due now, but it's the same result, no led indication and the same "Oops..." message.
My 5V is 4.9V messured at the L3GD20.

Are there any led indications?

Regards
Ulf
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am

Re: L3GD20 to Arduino Due

by adafruit_support_mike on Tue Feb 18, 2014 11:07 pm

I'm sorry, I misread your original post. That breakout doesn't have a power LED.

I see what looks like traces of flux around the main chip in your photo. Is that how the board looked when you got it from us?
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 8621
Joined: Thu Feb 11, 2010 1:51 pm

Re: L3GD20 to Arduino Due

by ulf a on Wed Feb 19, 2014 4:30 am

Yes it looked like that.
The only thing I have done is to solder the connection pins (VCC ... SCL).
Regards
Ulf
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am

Re: L3GD20 to Arduino Due

by adafruit_support_mike on Wed Feb 19, 2014 10:37 pm

Hmm.. your joints at the pins look good and the connections are correct.

Let's get you a new board.. send a note to support@adafruit.com with a link to this thread and the folks there will help you.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 8621
Joined: Thu Feb 11, 2010 1:51 pm

Re: L3GD20 to Arduino Due

by ulf a on Thu Feb 20, 2014 4:22 pm

Thanks Mike.
ulf a
 
Posts: 6
Joined: Fri Feb 07, 2014 6:30 am