Shop OBEX P1 Docs P2 Docs Learn Events
input/iouput — Parallax Forums

input/iouput

ArchiverArchiver Posts: 46,084
edited 2001-01-24 01:32 in General Discussion
do you know how long does a value need to be on an I/O pin for the
stamp to recognize it?

if i'm attaching external circuits is 1mS long enough for it to read that it's
a high signal?

thanks :-)
LaQuida

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-01-23 20:09
    hello,

    i am currently using a bsisx for timing and my trigger signal is only high for a
    few microseconds. the stamp picks it up just fine.

    i think a millisecond is more than adequate.

    good luck,

    -pete

    On Tue, 23 Jan 2001, sunset97 wrote:

    > do you know how long does a value need to be on an I/O pin for the
    > stamp to recognize it?
    >
    > if i'm attaching external circuits is 1mS long enough for it to read that it's

    > a high signal?
    >
    > thanks :-)
    > LaQuida
    >
    --
    Peter Green
    111 IATL peter-w-green@u...
    The Department of Mechanical Engineering office: 319.335.3694
    The University of Iowa lab: 319.335.3585
    Iowa City, Iowa 52242 fax: 319.335.5669
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-23 20:42
    Im not sure but I think it depends on how much code you are reading if
    your only checking one pin in a loop the bs2 is running about 50nS if
    you look on tracy allen's site you will find the timing for most
    commands. Making it short Maybe !

    Peter William Green wrote:
    >
    > hello,
    >
    > i am currently using a bsisx for timing and my trigger signal is only high for
    a few microseconds. the stamp picks it up just fine.
    >
    > i think a millisecond is more than adequate.
    >
    > good luck,
    >
    > -pete
    >
    > On Tue, 23 Jan 2001, sunset97 wrote:
    >
    > > do you know how long does a value need to be on an I/O pin for the
    > > stamp to recognize it?
    > >
    > > if i'm attaching external circuits is 1mS long enough for it to read that
    it's
    > > a high signal?
    > >
    > > thanks :-)
    > > LaQuida
    > >
    > --
    > Peter Green
    > 111 IATL peter-w-green@u...
    > The Department of Mechanical Engineering office: 319.335.3694
    > The University of Iowa lab: 319.335.3585
    > Iowa City, Iowa 52242 fax: 319.335.5669
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-23 21:25
    >do you know how long does a value need to be on an I/O pin for the
    >stamp to recognize it?
    >
    >if i'm attaching external circuits is 1mS long enough for it to read that it's
    >a high signal?
    >
    >thanks :-)
    >LaQuida

    Hi LaQuida,

    It depends on how fast or how often your program can get around to
    checking the inputs. Are you using the PULSIN command? Or a program
    loop? How often does the signal occur?

    If the signal is too brief for the stamp to catch it, then you can
    sometimes rig up a capacitor/diode to capture the event and hold it
    until the stamp gets around to checking, or a latch to do the same
    thing.

    -- Tracy Allen
    electronically monitored ecosystems
    http://www.emesystems.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-23 22:38
    Stampers,

    What is the difference between a bs2 and a bsisx. Does the bsisx execute
    instructions at a constant rate? Can you program it w/ pbasic?

    Thanks,

    David
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-24 01:32
    hello david,

    sorry i mistyped there. i'm using the bs2sx. you can look at the specs on the
    parallax website. basically it is faster bs2. all of the programming and
    layout is the same as the bs2. it's a little more expensive and a lot more
    power hungry.

    take a look at

    http://www.parallaxinc.com/

    look under downloads and search for sx

    look under products and search for sx

    i think this is also discussed in sever faqs.

    good luck,

    -pete

    On Tue, 23 Jan 2001, Production Technology, L.L.C. wrote:

    > Stampers,
    >
    > What is the difference between a bs2 and a bsisx. Does the bsisx execute
    > instructions at a constant rate? Can you program it w/ pbasic?
    >
    > Thanks,
    >
    > David
    >
    >

    --
    Peter Green
    111 IATL peter-w-green@u...
    The Department of Mechanical Engineering office: 319.335.3694
    The University of Iowa lab: 319.335.3585
    Iowa City, Iowa 52242 fax: 319.335.5669
Sign In or Register to comment.