Go to Post In FIRST, success = inspiration. - Daniel Brim [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-01-2012, 17:32
mbone206 mbone206 is offline
Registered User
FRC #0223
 
Join Date: Jan 2009
Location: New Jersey
Posts: 59
mbone206 is an unknown quantity at this point
Accelorometer - robot balance -- Lab View examples

Hi...

i wasn't sure if this should be LabView or Sensor forum, i decided to try sensor first..

I am helping my team and they ask me to look into using the Accelerometer to give feed back if robot is balanced on board.

First queston: I do not have any experience with this (not much experience in Robotics as a whole), has anyone used the accelerometer in past for a similar task to what my team wants to accomplish? Will accelerometer be accurate enpough and/or do you expect too much noise in measurements?

I did searches on other links and noticed some people recommend filtering, but wasn't in Lab View. Also, in my research, one link indicated need to send code to turn on accelerometer, but that person used IC2 set up. Does SPI need same type of software intialization, did not see it in LabView
examples?

I reviewed all of the LabVIew examples and found 4. IC2 and SPI are the first two. From what I read, it appears there are two ways to communicate with board, does anyone have experience with the two options, any preference by experience? my team has wired up for SPI because they indicated it was easier to wire, they never wired/used the IC2 connections.

So it looks like I will be starting with SPI (J4 wire connection)
I found ADCL345 data sheet and tried to make some sense of it, a lot of info. Page 15 indicates SPI has 3 or 4 wire conenction, reference figure 34 & 35. figure 34, 35 is on same page, but shows different signal names in figure than what is in Lab View example.

SPI Example,can someone explain this more, uses for MOSI channels?

Other two example are alarm and angle. I am assuming the angle example is the one I should get familar with (ie... when angle at X +/- 2 degrees, robot will be balanced???)

Tha Labview Angle example shows y-axis (Y-5-G) and X-Axis (X-5-G), I do not know how to correlate that to the SPI wiring my team did or with SPI Lab View example.

I am using Lab View, since I am not a programmmer and this team needs help programming (LabView easier and quicker to learn and work with students)

I would greatly appreciate support in right direction since I already spent a lot of time on this and still feel like I made minimal progress (working on this part time at nights after regular job to help team). I will be working on Robot tomorrow night again and hope to have some input before I get there.

thank you
Mark
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 19:52.

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