LabVIEW Interface for Arduino Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

L3G4200D Gyroscope

L3G4200D Gyroscope

Here are two basic VIs that initialize and retrieve the data from all three axes.  If anyone would like a more extensive library created, just let me know.

Download All
Comments
TreyONan
Member
Member
on

I have a MinIMU-9 v2 with L3GD20 gyro and LSM303DLHC accel.  I will try this VI with my gyro and see if it works.  If not, could you create libraries for those two devices?

Thanks.

xebex
Member
Member
on

I get this error.

"LabVIEW Interface for Arduino.lvlib:I2C Write.viLabVIEW Interface for Arduino.lvlib:I2C Read.vi.  A timeout occurred while trying to read form the Arduino."

Im new to Labview and to arduino. Do I have to fill in any information at ur VI? for instance, not sure what should be filled at 'Bytes per packet'

thanks in advance

Nathan_B.
Active Participant
Active Participant
on

My VIs don't have a 'Bytes per Packet' terminal.  The Arduino Init.vi has this terminal but the default should work just fine and shouldn't affect the gyro VIs.  Can you be more specific about your set up and confirm that you have this exact model number for your gyro?  Also, code would probably help.

I recommend starting a new discussion so that you can attach your LabVIEW code [and describe your setup].

xebex
Member
Member
on

Maybe it could be my wiring. I followed the wiring shown in this thread

http://forum.arduino.cc/index.php/topic,120111.0.html

Not sure if the pins are consistent with your wiring.

Edit*  the second one without the resistors.

Nathan_B.
Active Participant
Active Participant
on

There are several different images in that thread all showing different breakout boards for the sensor.  So, which breakout board are you using (a link to the exact one would be convenient) and which image are you using to set it up?

xebex
Member
Member
on
Nathan_B.
Active Participant
Active Participant
on

Are you sure that your breakout board has pull-up resistors for SDA and SCL?  I can't think of anything else.

dhrubajyoti139
Member
Member
on

I am also suffering from the same problem.

The error message comes Error out code 5003, displaying the same message above.

my connections are SDA-A4,SCL-A5,vcc-5v,gnd-gnd. only.

i am also new to labview and arduino ,please help me out. should i put any new device address, in your case its written 1101001, change any bytes per packet or x axis register.....what changes required .

I am using Adafruit L3GD20 with arduino uno.

wainting for your reply

Thanking u

Ashlida
Member
Member
on

I'm new using labview, could u please tell me how to install example into labview?everytime I try to open it need someextra file.

Advice please.

Thank you

SOSOSO123
Member
Member
on

Hi,

Can anyone help me to figure out how to filter out the noise in the  gyroscope demo in the following link, plz?

http://www.youtube.com/watch?v=o_iuY0M3yDk

Thanks a lot

Contributors