Shop OBEX P1 Docs P2 Docs Learn Events
many inputs on a bs2 using the bs1 example? — Parallax Forums

many inputs on a bs2 using the bs1 example?

ArchiverArchiver Posts: 46,084
edited 2001-09-17 00:51 in General Discussion
Is it possible to use many switches on one input like the manual says
for a bs1 on a bs2? I have 10 inputs and 10 outputs. The outputs are
red
leds. The inputs are 9 monentary N.O. switches. The other one is a
on/off
slide switch. I'm trying to build this in a hurry. Basicly it will be
a
count down reminder timer for chores around the house.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-09-16 16:50
    In a message dated 9/16/01 10:36:18 AM Central Daylight Time,
    capdiamont@m... writes:


    > Is it possible to use many switches on one input like the manual says
    > for a bs1 on a bs2? I have 10 inputs and 10 outputs. The outputs are
    > red
    > leds. The inputs are 9 monentary N.O. switches. The other one is a
    > on/off
    > slide switch. I'm trying to build this in a hurry. Basicly it will be
    > a
    >

    You can easily expand the number of Stamp I/O lines with simple shift
    registers. Take a look at the 74HC595 (outputs) and the 74HC165 (inputs).


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-16 20:23
    --- In basicstamps@y..., jonwms@a... wrote:
    > In a message dated 9/16/01 10:36:18 AM Central Daylight Time,
    > capdiamont@m... writes:
    >
    >
    > > Is it possible to use many switches on one input like the manual
    says
    > > for a bs1 on a bs2? I have 10 inputs and 10 outputs. The outputs
    are
    > > red
    > > leds. The inputs are 9 monentary N.O. switches. The other one is
    a
    > > on/off
    > > slide switch. I'm trying to build this in a hurry. Basicly it
    will be
    > > a
    > >
    >
    > You can easily expand the number of Stamp I/O lines with simple
    shift
    > registers. Take a look at the 74HC595 (outputs) and the 74HC165
    (inputs).

    right. The problem is my local RS doesn't have them in stock, and I
    was hoping to use the pot command like the example in the manual
    using the bs1. My other way is to use a rotary switch and diodes.
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-17 00:51
    >Is it possible to use many switches on one input like the manual says
    >for a bs1 on a bs2? I have 10 inputs and 10 outputs. The outputs are
    >red leds. The inputs are 9 monentary N.O. switches. The other one is a
    >on/off slide switch. I'm trying to build this in a hurry. Basicly it will be
    >acount down reminder timer for chores around the house.

    I have a little article on implementing that on the BS2 posted at:

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

    -- regards,
    Tracy Allen
    electronically monitored ecosystems
    mailto:tracy@e...
    http://www.emesystems.com
Sign In or Register to comment.