Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Using Accelerometer with '04 controller (http://www.chiefdelphi.com/forums/showthread.php?t=25659)

sanddrag 19-02-2004 23:52

Using Accelerometer with '04 controller
 
I know nothing about programming but can you use an accelerometer to measure tilt with the 2004 control system? I know it can be done in PBASIC but I don't know about C. Don't you need to use trig functions? Thanks.

Kevin Watson 20-02-2004 00:07

Re: Using Accelerometer with '04 controller
 
Quote:

Originally Posted by sanddrag
I know nothing about programming but can you use an accelerometer to measure tilt with the 2004 control system? I know it can be done in PBASIC but I don't know about C. Don't you need to use trig functions? Thanks.

Yes you can. Just make sure your accelerometer's bandwidth extends to DC.

-Kevin

sanddrag 20-02-2004 00:43

Re: Using Accelerometer with '04 controller
 
Quote:

Originally Posted by Kevin Watson
Yes you can. Just make sure your accelerometer's bandwidth extends to DC.

-Kevin

DC? As in direct current? I am a bit confused.

Kevin Watson 20-02-2004 01:03

Re: Using Accelerometer with '04 controller
 
Quote:

Originally Posted by sanddrag
DC? As in direct current? I am a bit confused.

DC as in zero hertz. You're sensing the constant (unchanging) acceleration of the earth's gravity.

-Kevin

kiracofe8 20-02-2004 12:18

Re: Using Accelerometer with '04 controller
 
Quote:

Originally Posted by sanddrag
DC? As in direct current? I am a bit confused.

There are different kinds of accelerometers. One of the most common kind is the piezoelectric (e.g. quartz) accelerometer. These are very useful, but they can only pick up high frequencies, not low frequencies. So if your robot was tilting back and forth at, say, 3 kHz, they would be wonderful. But if your robot is tilting very slowly (say 0.1 Hz), or has stopped in a tilted position (0 Hz) you cannot use this kind of accelerometer. You need to get a different kind.

"DC" in this case refers to the frequency content of the signal coming out of the accelerometer.


All times are GMT -5. The time now is 03:52.

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