Shop OBEX P1 Docs P2 Docs Learn Events
Stamp to 110vac — Parallax Forums

Stamp to 110vac

ArchiverArchiver Posts: 46,084
edited 2002-10-07 18:14 in General Discussion
Completed the Earth measurements kit experiments and some of the
ones from Al Williams book. Time to move on to the next step.

I'm looking at making a swimming pool control system. It needs to
turn liquid metering pumps on and off which are on household
current. From what I've read so far, one way to do this would be for
the stamp to control a transistor. The transistor would supply 12vdc
to a relay for 110vac.

Is this a good approach do you think? I imagine there are probably
5vdc relays for this but, I need to run 4 relays total and I don't
think the stamp could directly power them without going chernobyl on
me.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-10-06 14:59
    There are more convenient ways to interface 110 VAC signals directly to
    the stamp. Please see the following link and let me know if you have
    any interest:

    http://home.fuse.net/leroy/i_o_module.html


    Kind regards,

    Leroy

    ghidera2000 wrote:
    >
    > Completed the Earth measurements kit experiments and some of the
    > ones from Al Williams book. Time to move on to the next step.
    >
    > I'm looking at making a swimming pool control system. It needs to
    > turn liquid metering pumps on and off which are on household
    > current. From what I've read so far, one way to do this would be for
    > the stamp to control a transistor. The transistor would supply 12vdc
    > to a relay for 110vac.
    >
    > Is this a good approach do you think? I imagine there are probably
    > 5vdc relays for this but, I need to run 4 relays total and I don't
    > think the stamp could directly power them without going chernobyl on
    > me.
    >
    > 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 2002-10-06 16:44
    At 09:59 10/06/02, Leroy Hall wrote:

    >There are more convenient ways to interface 110 VAC signals directly to
    >the stamp. Please see the following link and let me know if you have
    >any interest:
    >
    >http://home.fuse.net/leroy/i_o_module.html
    >
    >
    >Kind regards,
    >
    >Leroy


    Or you can save another $100 by going to
    http://www.electronicsurplus.com/current_specials.htm

    This site also has downloadable spec sheets.


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-06 20:17
    I appreciate the info Jim, you such a nice guy.

    thanks again,


    Leroy
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-06 23:32
    Actually, been surfing all day, reading up on a gazillion different
    things (op-amp, shift registers, digital variable resistors as
    DACs...). Found the answer to my question I think. Looks like a
    MOSFET would be the simplest thing to use. Low signal power means I
    can drive them straight from the stamp and they can handle up to
    2500vac. Or at least, thats what I've deduced so far [noparse]:D[/noparse]

    Damn but there is a LOT you can do with a few $2 chips these days.
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 02:22
    An SCR may be the way to go...

    --
    http://www.lennard.net.nz/
    Ben Lennard, NCEE, Dip EE

    Electronics R&D

    Hm: +64 4 972 7567
    Mb: +64 21 536 627
    87 Spencer Street
    Crofton Downs
    Wellington
    New Zealand

    "To the optimist, the glass is half full. To the pessimist, the glass is
    half empty. To the engineer, the glass is twice as big as it needs to be."

    No animals were harmed in the transmission of this email, although the
    Dog next door is living on borrowed time, let me tell you! Those of you
    with an overwhelming fear of the unknown will be gratified to learn that
    there is no hidden message revealed by reading this warning backwards.




    > From: "ghidera2000" <ghidera2000@y...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Sun, 06 Oct 2002 22:32:26 -0000
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: Stamp to 110vac
    >
    > Actually, been surfing all day, reading up on a gazillion different
    > things (op-amp, shift registers, digital variable resistors as
    > DACs...). Found the answer to my question I think. Looks like a
    > MOSFET would be the simplest thing to use. Low signal power means I
    > can drive them straight from the stamp and they can handle up to
    > 2500vac. Or at least, thats what I've deduced so far [noparse]:D[/noparse]
    >
    > Damn but there is a LOT you can do with a few $2 chips these days.
    >
    >
    >
    > 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 2002-10-07 03:46
    SCR? I know I should remember what that is but...

    Single Contact Relay? (I always turn the lights out before I shoot).


    --- In basicstamps@y..., Ben <ben@l...> wrote:
    > An SCR may be the way to go...
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 04:13
    Hello from Gregg C Levine
    Try Silicon Controlled Rectifier. They turn up everywhere. Also try the
    right sized SSR, that should work better.

    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi
    (This company dedicates this E-Mail to General Obi-Wan Kenobi )
    (This company dedicates this E-Mail to Master Yoda )



    >
    Original Message
    > From: ghidera2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=cQZjBb7MbPiGnj4Z2fAyPpzyqhK6u6czDutfGu2MSnv46y1NjpHDzm9POCjAyYK8iIJN6-QW_r9w1VpOZvgm]ghidera2000@y...[/url
    > Sent: Sunday, October 06, 2002 10:47 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: Stamp to 110vac
    >
    > SCR? I know I should remember what that is but...
    >
    > Single Contact Relay? (I always turn the lights out before I shoot).
    >
    >
    > --- In basicstamps@y..., Ben <ben@l...> wrote:
    > > An SCR may be the way to go...
    > >
    >
    >
    >
    > 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 2002-10-07 15:19
    At 23:13 10/06/02, Gregg C Levine wrote:

    >Hello from Gregg C Levine
    >Try Silicon Controlled Rectifier. They turn up everywhere. Also try the
    >right sized SSR, that should work better.


    For controlling AC you need a triac, not an SCR. An SSR (Solid State
    Relay) designed for AC is a triac with integrated support circuitry.

    All in all I think you might be better off using X10 devices. This will
    allow you to exercise control via the power line to the device. No control
    wires, the Stamp remains in the house, you can operate several devices
    independently off the same power line. If you need to draw more power than
    an X10 module will handle, then let the X10 module activate a suitable
    relay. Use an X10 module designed to run inductive loads. You need to
    protect the X10 module from the weather.


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 15:57
    Ah ok, so what about the MOSFETs then? Is that for DC?

    X10 looks interesting too but, I have another project that Im
    working on that can't afford the X10 modules. My buddy has his own
    home brewery set up with salvaged refrigeration equipment (he's a
    refrigeration mechanic). He wants to control room temperature, brew
    temperature etc. I'm making a stand alone module with buttons and an
    LCD for the interface. Damned near done, just have to sort out
    switching power for the compressors and fan.

    Actually, while I'm posting - anyone know where I can find an
    example of interfacing a date/time IC to the BS2? It'd be cool if I
    could incorporate dates to flag changes in the brewing cycle instead
    of having the human intercede.

    --- In basicstamps@y..., Jim Higgins <HigginsJ@s...> wrote:
    > For controlling AC you need a triac, not an SCR. An SSR (Solid
    State
    > Relay) designed for AC is a triac with integrated support
    circuitry.
    >
    > All in all I think you might be better off using X10 devices.
    This will
    > allow you to exercise control via the power line to the device.
    No control
    > wires, the Stamp remains in the house, you can operate several
    devices
    > independently off the same power line. If you need to draw more
    power than
    > an X10 module will handle, then let the X10 module activate a
    suitable
    > relay. Use an X10 module designed to run inductive loads. You
    need to
    > protect the X10 module from the weather.
    >
    >
    > Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 17:49
    In a message dated 10/6/02 11:44:00 PM Eastern Daylight Time,
    ghidera2000@y... writes:


    > SCR? I know I should remember what that is but...
    >
    > Single Contact Relay? (I always turn the lights out before I shoot).
    >
    >
    >

    It stands for Silicon Controlled Rectifier
    Randy Abernathy
    4626 Old Stilesboro Road
    Acworth, GA 30101
    Ph / Fax: 770-974-5295
    E-mail: cnc002@a...

    We install, repair and service industrial CNC woodworking machinery. We
    specialize in SCMI, SCM Group U.S.A. CNC panel saws and CNC routers.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 17:53
    In a message dated 10/7/02 10:23:58 AM Eastern Daylight Time,
    HigginsJ@s... writes:


    > Hello from Gregg C Levine
    > >Try Silicon Controlled Rectifier. They turn up everywhere. Also try the
    > >right sized SSR, that should work better.
    >
    >
    > For controlling AC you need a triac, not an SCR. An SSR (Solid State
    > Relay) designed for AC is a triac with integrated support circuitry.
    >
    > All in all I think you might be better off using X10 devices. This will
    > allow you to exercise control via the power line to the device. No control
    >
    > wires, the Stamp remains in the house, you can operate several devices
    > independently off the same power line. If you need to draw more power than
    >
    > an X10 module will handle, then let the X10 module activate a suitable
    > relay. Use an X10 module designed to run inductive loads. You need to
    > protect the X10 module from the weather.
    >
    >
    > Jim H
    >

    Due to their reliability, many industrial applications still use the old
    Electromechanical Relay. If you place a transistor between it and the output
    of the Stamp you will be able to switch it with no problem. There may be a
    couple more components involved with using them, such as a diode across the
    transistor and across the coil of the relay. The really nice thing about an
    old fashioned relay is that it totally isolates the 110 from the Stamp.
    Also, they are usually cheaper than the SSR, solid state relay.


    Randy Abernathy
    4626 Old Stilesboro Road
    Acworth, GA 30101
    Ph / Fax: 770-974-5295
    E-mail: cnc002@a...

    We install, repair and service industrial CNC woodworking machinery. We
    specialize in SCMI, SCM Group U.S.A. CNC panel saws and CNC routers.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-07 18:14
    At 10:57 10/07/02, ghidera2000 wrote:

    >Ah ok, so what about the MOSFETs then? Is that for DC?

    As far as I know they're for DC. Nothing wrong with using one to switch a
    DC powered relay and let the relay switch the heavier power. Just be sure
    you choose a device you can drive with the 5-volt output of a Stamp
    pin. Some of these devices want to see 10 volts of drive and the Stamp
    can't provide that directly.

    >X10 looks interesting too but, I have another project that Im working on
    >that can't afford the X10 modules. My buddy has his own home brewery set
    >up with salvaged refrigeration equipment (he's a refrigeration mechanic).
    >He wants to control room temperature, brew temperature etc. I'm making a
    >stand alone module with buttons and an LCD for the interface. Damned near
    >done, just have to sort out switching power for the compressors and fan.

    Did the equipment you mention come with a thermostat and control circuitry
    that controls relays/motor starters that switch power to the compressors
    and fans? I'd be inclined to exercise Stamp control via the contacts in the
    thermostat if the associated control circuitry is functional.

    >Actually, while I'm posting - anyone know where I can find an example of
    >interfacing a date/time IC to the BS2? It'd be cool if I could incorporate
    >dates to flag changes in the brewing cycle instead of having the human
    >intercede.

    Solutions-Cubed sells a real time module called the Pocket Watch B. I have
    one, haven't used it in a long time, but it worked well when I did. Spec
    sheets and plenty of Stamp code is available for download from both sites
    below. See
    http://www.solutions-cubed.com . Lots of Stamp code here.

    It's also available thru Parallax.
    http://www.parallaxinc.com

    The only additional thing I wish it had was a built-in Day-of-Week
    function, otherwise it seemed to cover all the needed bases.


    Jim H
Sign In or Register to comment.