Shop OBEX P1 Docs P2 Docs Learn Events
adc with sharp gp2d120 output — Parallax Forums

adc with sharp gp2d120 output

ArchiverArchiver Posts: 46,084
edited 2004-01-22 05:56 in General Discussion
I wasn't very clear at all regarding my intentions with the
range-finder. It has an analog output between 2.2V and 5.5V (I think.)

I'd be perfectly happy using it as a boolean if I could trigger a
response at a given voltage between those values.

Can something be rigged together using rctime? I was looking at

http://www.emesystems.com/BS2rct.htm

and thought this was promising for a solution not requiring another
chip purchase. Specifically, the section "Measuring small voltages
with RCtime" looks good but I'm still wading through the unfamiliar
terminology (I'm a genetics/biostats person in real-life, always shied
away from electronics, maybe to spite myself?) and am unable to tell
if it is not possible a dead-end for my needs.

p.s. I found a link to that site plowing my way through Yahoo's
mediocre archive to this very informative group. Y'all are a fun read.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-01-22 05:13
    The Sharp familly of IR rangers returns a signal of .5 to 3v. The I/O
    pins on the STAMP need the voltage to be around 1 volt before it reads a
    high (I think). Because of this, RC will only work within a limited
    rage. When I tried it, I could only get a reading within 3 to 4 inches,
    which is not totally useless. You'd do better using a GP2D02, which has
    a digital output and is only a little more expensive, or a GP2D15 which
    has a on/off output if there is an object in it's range.

    chris in napa

    Carolus Magnus wrote:

    >I wasn't very clear at all regarding my intentions with the
    >range-finder. It has an analog output between 2.2V and 5.5V (I think.)
    >
    >I'd be perfectly happy using it as a boolean if I could trigger a
    >response at a given voltage between those values.
    >
    >Can something be rigged together using rctime? I was looking at
    >
    >http://www.emesystems.com/BS2rct.htm
    >
    >and thought this was promising for a solution not requiring another
    >chip purchase. Specifically, the section "Measuring small voltages
    >with RCtime" looks good but I'm still wading through the unfamiliar
    >terminology (I'm a genetics/biostats person in real-life, always shied
    >away from electronics, maybe to spite myself?) and am unable to tell
    >if it is not possible a dead-end for my needs.
    >
    >p.s. I found a link to that site plowing my way through Yahoo's
    >mediocre archive to this very informative group. Y'all are a fun read.
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    >Yahoo! Groups Links
    >
    >To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    >To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    >Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-01-22 05:56
    Hi,

    I'm commited to the gp2d12 (in that I've already bought them) and I
    think in the long run I can get more out of them. I looked at some
    adc's, TI has the tlv1549C which allows you to set the range using
    ref+/ref- inputs. It appears to be what I'm looking for.

    I have no idea if it works, though. :/

    Yours,

    CM

    --- In basicstamps@yahoogroups.com, Chris Burns <mwalimu@s...> wrote:
    > The Sharp familly of IR rangers returns a signal of .5 to 3v. The I/O
    > pins on the STAMP need the voltage to be around 1 volt before it
    reads a
    > high (I think). Because of this, RC will only work within a limited
    > rage. When I tried it, I could only get a reading within 3 to 4
    inches,
    > which is not totally useless. You'd do better using a GP2D02, which
    has
    > a digital output and is only a little more expensive, or a GP2D15 which
    > has a on/off output if there is an object in it's range.
    >
    > chris in napa
    >
    > Carolus Magnus wrote:
    >
    > >I wasn't very clear at all regarding my intentions with the
    > >range-finder. It has an analog output between 2.2V and 5.5V (I think.)
    > >
    > >I'd be perfectly happy using it as a boolean if I could trigger a
    > >response at a given voltage between those values.
    > >
    > >Can something be rigged together using rctime? I was looking at
    > >
    > >http://www.emesystems.com/BS2rct.htm
    > >
    > >and thought this was promising for a solution not requiring another
    > >chip purchase. Specifically, the section "Measuring small voltages
    > >with RCtime" looks good but I'm still wading through the unfamiliar
    > >terminology (I'm a genetics/biostats person in real-life, always shied
    > >away from electronics, maybe to spite myself?) and am unable to tell
    > >if it is not possible a dead-end for my needs.
    > >
    > >p.s. I found a link to that site plowing my way through Yahoo's
    > >mediocre archive to this very informative group. Y'all are a fun read.
    > >
    > >
    > >To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >from the same email address that you subscribed. Text in the
    Subject and Body of the message will be ignored.
    > >
    > >
    > >Yahoo! Groups Links
    > >
    > >To visit your group on the web, go to:
    > > http://groups.yahoo.com/group/basicstamps/
    > >
    > >To unsubscribe from this group, send an email to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >
    > >Your use of Yahoo! Groups is subject to:
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
Sign In or Register to comment.