To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 12783
12782  |  12784
Subject: 
RE: Motion/Tilt Sensor from Analog Devices and the RCX
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics
Date: 
Mon, 16 Oct 2000 14:42:00 GMT
Viewed: 
52 times
  
Not exactly....  The output is an analog voltage, meaning it's not exactly
a digital TTL 0 volts or 5 volts, but ranges from 200mv (call this low) to
Vcc-200mv (call this high).  But this is a PWM output, meaning that with
the chip stationary with normal gravity, the duty cycle is 50% (1 ms low, 1
ms high for example).  Any change due to (and only during) acceleration
will show up as a change in duty cycle (0.5 ms low, 1.5 ms high for
example).  While you can apparently set the base clock duty cycle to be as
long as 10ms, you still have to measure two channels (x and y).  I don't
think the RCX is capable of the timing required to do this, so it's going
to be necessary to use an external micro.

Jeff

Jeffrey Hazen
North Mill Technology
jeffrey.hazen@northmill.net

-----Original Message-----
From: Ram Meenakshisundaram [SMTP:rmeenaks@olf.com]
Sent: Monday, October 16, 2000 9:33 AM
To: lugnet.robotics.rcx@lugnet.com; lugnet.robotics@lugnet.com
Subject: Re: Motion/Tilt Sensor from Analog Devices and the RCX

Sorry for my ignorance, but doesnt the datasheets mention that it
contains both analog and digital outputs and either may be used.


Ram

Jeffrey Hazen wrote:

From looking at the data sheets, it's going to be a bit more of a • project
than just "hooking it up".  At a minimum you'll need to have a small • micro
to decode the dual PWM outputs, and they (AD) have a data sheet • describing
the use of a Parallax Basic Stamp.  There will be a lot of algorithm
development to turn the acceleration data into something useful, like say
inertial navigation, and you'd eventually need a gyro to deal with • rotation
in the x-y plane.  It would be an interesting project.

My two Cents,

Jeff

Jeffrey Hazen
North Mill Technology
jeffrey.hazen@northmill.net

-----Original Message-----
From: Ram Meenakshisundaram [SMTP:rmeenaks@olf.com]
Sent: Sunday, October 15, 2000 3:05 PM
To: lugnet.robotics.rcx@lugnet.com; lugnet.robotics@lugnet.com
Subject: Motion/Tilt Sensor from Analog Devices and the RCX

Hi,

I just order two free samples of Analog Devices ADXL202E at
http://products.analog.com/products/info.asp?product=ADXL202.  Anyone
know if this can be hooked up to the RCX?

Ram

PS:  Try to get a free subscription to "Sensors".  It is a really cool
magazine...






1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR