Shop OBEX P1 Docs P2 Docs Learn Events
Connecting 16 SSR to Basic Stamp — Parallax Forums

Connecting 16 SSR to Basic Stamp

ArchiverArchiver Posts: 46,084
edited 2003-10-17 01:16 in General Discussion
Hi there,

I want to connect 16 Solid State Relays to BS2p 40 but I am don't
want to exceed the Stamp current rating ( 75 mA ) So, does any one
have an Idea .... and Also does anyone know a ready board that have
16 SSR that are ready to connect to Basic Stamp ..

Please Reply ASAP

Thanks,

Demolition007

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-10-16 17:14
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-16 17:57
    Use 2N2222A NPN type transistors, these have always worked for me when i
    have relay projects. schematics for connection can be found here

    http://www.turbodeuce.com/images/bs2_to_relay.jpg

    good luck, Gary D



    At 11:44 AM 10/16/2003 +0000, you wrote:
    > Hi there,
    >
    >I want to connect 16 Solid State Relays to BS2p 40 but I am don't
    >want to exceed the Stamp current rating ( 75 mA ) So, does any one
    >have an Idea .... and Also does anyone know a ready board that have
    >16 SSR that are ready to connect to Basic Stamp ..
    >
    >Please Reply ASAP
    >
    >Thanks,
    >
    >Demolition007
    >
    >
    >
    >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.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-16 19:39
    Demo,
    I think you will find that one easy way to drive many outputs would be
    to use a couple of shift registers like the 74HC595. There is even an
    example in the Stamp manual in the SHIFTOUT section. You will want to
    check the current limit on the 74HC595 but there are a plethora of
    driver chips available. Hope this helps.




    --- In basicstamps@yahoogroups.com, "Deep Blue" <demolition007@y...>
    wrote:
    > Hi there,
    >
    > I want to connect 16 Solid State Relays to BS2p 40 but I am don't
    > want to exceed the Stamp current rating ( 75 mA ) So, does any one
    > have an Idea .... and Also does anyone know a ready board that have
    > 16 SSR that are ready to connect to Basic Stamp ..
    >
    > Please Reply ASAP
    >
    > Thanks,
    >
    > Demolition007
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-17 01:04
    Hi,
    Are you looking to use solid state I/O modules? If so are any of them Inputs?
    Opto-22 makes a G4 Solid State I/O board. It uses a 50 conductor ribbon cable
    and headers.
    If you need Inputs then put at least 2 input modules in with each group of 8
    I/o Pins. This will insure that the other 6 modules will not over work the
    Stamp2P output capacity. Each Output module draws about 13 ma max. You should
    use
    an external +5 volt regulator. That way you have 100 MA per 8 pin group. The
    I/O modules and the Mounting Rack will set you back some $$, so don't skimp on
    the power. The Rack has its own pull up resistors so you can connect the
    modules directly to the stamp pins.

    www.opto22.com

    Ordering - Product Search Results

    I have made a PC board with the 50 pin header and use BS2p-24 with this rack.
    It works very good.

    Hope this helps,
    Alan Bradford
    Plasma Technologies
    Canaan NH

    In a message dated 10/16/2003 11:14:18 AM Eastern Daylight Time,
    demolition007@y... writes:
    Hi there,

    I want to connect 16 Solid State Relays to BS2p 40 but I am don't
    want to exceed the Stamp current rating ( 75 mA ) So, does any one
    have an Idea .... and Also does anyone know a ready board that have
    16 SSR that are ready to connect to Basic Stamp ..

    Please Reply ASAP

    Thanks,

    Demolition007


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-17 01:16
    the easy way that I have found to connect many Inputs / Outputs to
    the BS2 is with the PCF8574(A) 8 bit I/O expander from Texas
    Instrument. This little device is controlled by using the I2C bus so
    it only uses 2 IO pins on the BS2. It is possible to daisy chain 16
    chips together for a total of 128 I/O lines using only 2 I/O on the
    BS2. NOTE: that will be using (8) PCF8574 and (8) PCF8574A. each bit
    is individually programmable and latched at the output.

    This is what I am currently using to control 8 CFL outdoor lights
    around my house. The BS2 interfaces with 8 25 amp SSR. (I know
    overkill but they were free) The PCF8574 has high current outputs,
    total of 100ma, plenty to directly drive LEDS, SSR, etc. of course if
    you need more current drive you can always tie in (8) 2N2222 NPN's

    This chip, PCF8574, is available from www.digikey.com for only $2
    http://www.digikey.com/scripts/us/dksus.dll?Detail?
    Ref=117374&Row=50850


    The datasheet can be found at
    http://www.digikey.com/scripts/us/dksus.dll?Detail?
    Ref=117374&Row=50850

    Daryl


    --- In basicstamps@yahoogroups.com, "leharker" <harker@a...> wrote:
    > Demo,
    > I think you will find that one easy way to drive many outputs would
    be
    > to use a couple of shift registers like the 74HC595. There is even
    an
    > example in the Stamp manual in the SHIFTOUT section. You will want
    to
    > check the current limit on the 74HC595 but there are a plethora of
    > driver chips available. Hope this helps.
    >
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "Deep Blue" <demolition007@y...>
    > wrote:
    > > Hi there,
    > >
    > > I want to connect 16 Solid State Relays to BS2p 40 but I am don't
    > > want to exceed the Stamp current rating ( 75 mA ) So, does any
    one
    > > have an Idea .... and Also does anyone know a ready board that
    have
    > > 16 SSR that are ready to connect to Basic Stamp ..
    > >
    > > Please Reply ASAP
    > >
    > > Thanks,
    > >
    > > Demolition007
Sign In or Register to comment.