Go to Post "The only constant is change" is a hint that probably applies to every season of FIRST. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 24-01-2013, 15:59
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Re: Accelerometer ADXL345 Labview Example Code Not Working.

First, here is the sensor manual from 2011. We found it sortof helpful in first learning how to use the sensor.

Some notes:

For SPI, there's a hazy memory about not having the right DIO selected for a specific input from the SPI interface on the accelerometer, refer to the sensor manual or the datasheet for the ADXL345 to learn about what the various acronyms on the board are actually for (and thus know you have the right DIO selected in the LV example.)
  • I2C has been the most hasslefree for us
  • the code in the WPILib for the I2C ADXL345 expects a default hardware address, find out what that is. (For example, with I2C, we had plugged the 4 wires into the wrong I2C ports, and just moved it to the other ones. Hey presto, it worked.)
__________________
sudo chmod u+x helloworld.sh
gotta start somewhere.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi