Shop OBEX P1 Docs P2 Docs Learn Events
Help! Anyone. — Parallax Forums

Help! Anyone.

ArchiverArchiver Posts: 46,084
edited 2001-03-28 18:19 in General Discussion
OK, Here is my problem.

I am doing an alarm system where 8 sensors are attached to the BS2. I need to test the voltage on all 8 sensors and as long as there is 0 volts on each pin, the BS2 continues to test the pins. If a sensor pin ejects, then 5 volts is read on that pin and the alarm sounds.

Do I need an A/D converter connected and which one do I use if I need one, OR IS THE STAMP JUST GOING TO SEE 5V ON A LINE AS A "1"?
THANKS



thanks. wtterrell@netzero.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-03-28 15:15
    Hi,

    You have answered your own question!

    The stamp will see 5 volts as a 1.
    No A/D needed.

    Bandit


    At 09:09 AM 3/28/01 -0500, you wrote:
    > OK, Here is my problem. I am doing an alarm system where 8 sensors
    >are attached to the BS2. I need to test the voltage on all 8 sensors and
    >as long as there is 0 volts on each pin, the BS2 continues to test the
    >pins. If a sensor pin ejects, then 5 volts is read on that pin and the
    >alarm sounds. Do I need an A/D converter connected and which one do I
    >use if I need one, OR IS THE STAMP JUST GOING TO SEE 5V ON A LINE AS A
    >"1"? THANKS thanks. wtterrell@n...
    > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-28 15:27
    You didn't really say how you are going to have the stamp check the pin states, but the stamp will read anything over 1.5 volts as a "1". I can't imagine that you would need A/D for this if your alarm sensors or contacts are either open or closed and their loop voltage is 5V.

    Try the Stamps in Class section on the Parallaxinc.com site.

    ·OK, Here is my problem.

    I am doing an alarm system where 8 sensors are attached to the BS2. I need to test the voltage on all 8 sensors and as long as there is 0 volts on each pin, the BS2 continues to test the pins. If a sensor pin ejects, then 5 volts is read on that pin and the alarm sounds.

    Do I need an A/D converter connected and which one do I use if I need one, OR IS THE STAMP JUST GOING TO SEE 5V ON A LINE AS A "1"?
    THANKS
    ·
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-28 15:29
    PS:
    Don't forget to use·resistors on the stamp inputs.
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-28 15:30
    how big resistors?

    Original Message
    From: Chris Loiacono
    To: basicstamps@yahoogroups.com
    Sent: Wednesday, March 28, 2001 9:29 AM
    Subject: RE: [noparse][[/noparse]basicstamps] HELP! ANYONE.

    PS:
    Don't forget to use·resistors on the stamp inputs.

    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-28 18:19
    Any pullup resistor used·from 1k up to 100k will work at 5V. Stay toward the high end to save power.
    You really do want 5V, and it really will help if you read the first few lessons on the Parallax web site.

    Original Message
    From: wtterrell [noparse][[/noparse]mailto:wtterrell@netzero.com]
    Sent: Wednesday, March 28, 2001 9:31 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] HELP! ANYONE.

    how big resistors?

    Original Message
    From: Chris Loiacono
    To: basicstamps@yahoogroups.com
    Sent: Wednesday, March 28, 2001 9:29 AM
    Subject: RE: [noparse][[/noparse]basicstamps] HELP! ANYONE.

    PS:
    Don't forget to use·resistors on the stamp inputs.

    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Sign In or Register to comment.