Shop OBEX P1 Docs P2 Docs Learn Events
Sharp GP2D05 PIR Help! Stamp code keeps loopin (fixed sort of) — Parallax Forums

Sharp GP2D05 PIR Help! Stamp code keeps loopin (fixed sort of)

ArchiverArchiver Posts: 46,084
edited 2000-05-01 17:43 in General Discussion
Dear Al, Dennis and all,

I changed the battery I was using to power the stamp, and now it no
longer loops
but now I keep getting eratic 0 and 1 s on the debug screen. So I have
to assume this is a hardware problem. The sensor doesn't respond to
movement like it did.

Thanks for all your advice.

Kath

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-05-01 17:43
    Do you have decoupling capacitors across the sensor? Solid power connections
    to it? I wouldn't be too quick to blame hardware failure. In my experience,
    90% of the time I have loosened a connection, or pulled a wire out or done
    something like that -- the simpler the problem, the harder it is to find --
    usually.

    Can you hook the sensor up to a scope and verify that it works the way you
    expect? If you really think the Stamp input is to blame, try another input
    pin -- I find that very unlikely though.

    Regards,

    Al Williams
    AWC
    * 8 channels of PWM: http://www.al-williams.com/pak5.htm


    >
    Original Message
    > From: Kath [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=cEfXxHegigcCmzejaYP05j6zEnV38VRjWRAW3c-scdX-z5m632p4zvRyhuLMediU5ScYXHguZLJ_HXRm_9Z6eg]kath@i...[/url
    > Sent: Monday, May 01, 2000 11:36 AM
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Sharp GP2D05 PIR Help! Stamp code keeps
    > loopin (fixed sort of)
    >
    >
    > Dear Al, Dennis and all,
    >
    > I changed the battery I was using to power the stamp, and now it no
    > longer loops
    > but now I keep getting eratic 0 and 1 s on the debug screen. So I have
    > to assume this is a hardware problem. The sensor doesn't respond to
    > movement like it did.
    >
    > Thanks for all your advice.
    >
    > Kath
    >
    >
    >
Sign In or Register to comment.