Go to Post We found our bandsaw on Craigslist for $40. We keep looking for laser cutters and waterjets in that price range, but so far no luck. - chapman1 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2011, 13:33
Thxe Thxe is offline
Registered User
FRC #2535
 
Join Date: Jan 2009
Location: Tigears
Posts: 17
Thxe is an unknown quantity at this point
Accelerometer problems

We switched to labview this year and tried to wire up the KOP accelerometer. We have tried running the example code for both SPI or I2C, however neither one works, even after triple checking the wiring. The SPI program returns -27.3 regardless of axis and movement, while the I2C program returns "ERROR <Code> -44095 occurred at The I2C sensor identification string did not match. The expected sensor is not at the address and bus specified. The sensor was expected to return "Address: 58" but instead returned "Sensor did not respond."
FRC: Invalid I2C sensor ID." We tried a different accelerometer, so it seems unlikely that both are broken. Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2011, 23:44
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Accelerometer problems

There is an "accelerometer" example in there. Try running that before integrating it into your main robot code. If that doesn't work, you probably burned out your accelerometer or wired it wrong.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2011, 03:18
brian3795 brian3795 is offline
Registered User
FRC #3795
 
Join Date: Jan 2011
Location: Garland, TX
Posts: 29
brian3795 can only hope to improve
Re: Accelerometer problems

Quote:
Originally Posted by Thxe View Post
We switched to labview this year and tried to wire up the KOP accelerometer. We have tried running the example code for both SPI or I2C, however neither one works, even after triple checking the wiring. The SPI program returns -27.3 regardless of axis and movement, while the I2C program returns "ERROR <Code> -44095 occurred at The I2C sensor identification string did not match. The expected sensor is not at the address and bus specified. The sensor was expected to return "Address: 58" but instead returned "Sensor did not respond."
FRC: Invalid I2C sensor ID." We tried a different accelerometer, so it seems unlikely that both are broken. Any ideas?
Ours was DOA as well, same exact error. We've pretty much given up on it.
Reply With Quote
Reply


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 04:41.

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