Go to Post By being on your team, you are just that - on a team of people. Every person represents a team... You do, too. - Amanda Morrison [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 03-02-2010, 00:44
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: New Accelerometer and LabView

Well, as a follow-up:

I finally got around to wiring the accelerometer up. For some reason, I'm not getting any accelerations back from it.

I haven't bothered yet to see if I'm actually connecting to it in the first place. However, I did test the wiring before turing the robot on.

Did you know: Only one of the two sets of PWM-style I2C headers are connected? (The lego-style female RJ-14 is connected as well)
__________________
-- Marshal Horn
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2010, 01:10
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: New Accelerometer and LabView

Quote:
Originally Posted by kamocat View Post
Did you know: Only one of the two sets of PWM-style I2C headers are connected? (The lego-style female RJ-14 is connected as well)
That's cause the 4 pins farthest from the RJ connector are slow digital outputs, not I2C. You'll notice that the silk screen on the Sidecar says "OUT" next to them. We never bothered to add support for them to WPILib, but the FPGA layer supports them.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2010, 00:41
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: New Accelerometer and LabView

Quote:
Originally Posted by Error code -44095
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."
I2C.lvlib:Read.vi>>I2C.lvlib:Open.vi>>ADXL345 I2C Open.vi>>i2c accel.vi
<time>06:23:27 02/05/2010
<unique#>1
Any ideas why this might be? I double-checked the wiring. I even checked the code to make sure it had the right address.
__________________
-- Marshal Horn

Last edited by kamocat : 05-02-2010 at 00:44.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2010, 00:48
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: New Accelerometer and LabView

Quote:
Originally Posted by kamocat View Post
Any ideas why this might be? I double-checked the wiring. I even checked the code to make sure it had the right address.
Triple check the wiring? It's usually cause by a wiring issue. Do you happen to have a logic analyzer that you can use to look at the bus?
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2010, 00:53
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: New Accelerometer and LabView

No, I just have an O-scope. (I don't think it'd show me much in this case, or I would use it)
The battery was low, so I put the bench-test on an external 13v supply. No change in response.
Should I try running a Driver Station, to see if that makes a difference?

I guess this brings up the other question:
How easy is this board to fry from heat or static electricity?
__________________
-- Marshal Horn

Last edited by kamocat : 05-02-2010 at 01:52.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2010, 15:15
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: New Accelerometer and LabView

Quote:
Originally Posted by kamocat View Post
No, I just have an O-scope. (I don't think it'd show me much in this case, or I would use it)
Well... if you can watch the data and clock lines you can check that the address is being sent correctly and that the address is actually not acked.

Quote:
Originally Posted by kamocat View Post
The battery was low, so I put the bench-test on an external 13v supply. No change in response.
Should I try running a Driver Station, to see if that makes a difference?
The driver station should not need to be connected as long as your code is getting called. Never hurts to have it, though. One less variable to worry about.

Quote:
Originally Posted by kamocat View Post
I guess this brings up the other question:
How easy is this board to fry from heat or static electricity?
No idea... I've never seen one die.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
KoP Gyro and Accelerometer Placement DavidB Electrical 6 05-02-2010 09:18
New TipJar Training Video - Autonomous Mode and LabVIEW Training Giveaway LVMastery NI LabVIEW 3 28-01-2009 07:06
New LabVIEW TipJar Tutorial Video: Scalability, Modularity and Style. LVMastery NI LabVIEW 0 18-01-2009 14:56
LabVIEW Training and new control system demonstration 10/17-10/19 in Frazier Park, CA Joe Ross NI LabVIEW 0 25-09-2008 13:25
gyro and accelerometer problems paulcd2000 Programming 6 16-02-2008 15:17


All times are GMT -5. The time now is 11:54.

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