Shop OBEX P1 Docs P2 Docs Learn Events
Controlling a store or sun shade — Parallax Forums

Controlling a store or sun shade

ArchiverArchiver Posts: 46,084
edited 2001-09-29 04:10 in General Discussion
Hi!

Has anybody ever tried controlling automatically a store (or sun shade)
using a BS1?

I am considering having 6 inputs:

- sun is on or off (thru a Light dependent resistor)
- an adjustable reference resistor for the LDR
- Wind speed is under or over a limit (typically using rotary wind sensor
that open/closes a contact on each sensor turn) or any other wind sensor
you may know of. If over, the stor should go "up" rather quickly....
- an adjustable resistor to set the maximum wind speed
- Manual up
- Manual down

The stor motors usually require 2 different relay contacts to close:
- Motor up
- Motor down
- No movement (both relays open)


Could anybody provide some help on the code or the logic flow diagram?

Thanks in advance,

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-09-29 04:10
    Hi Jose,

    I have a few questions. First, does 'store' have a speical meaning?
    (showing my ignorance and/or confusion)

    you mentioned the shade going up 'rather quickly' but your control
    is only one rely for up and another for down. This would indicate
    one speed for up and another (or the same) for down.

    if you wanted 2 (or more speeds) in either direction, you may
    need additional contacts. I would not recomend electro-mechanical relays
    for any pulse operation.

    As far as a wind speed sensor, check Tracy Allen's site for an
    anemometer. He has a good description and workable design.

    I'm not sure the best light detector or what levels of light you want
    to sense, but I ran across a solar collector that uses a simple LED
    to detect light. it was basically a pair of LEDs that ran into a
    comparator, which ever had a higher output, the comparator switched
    the motor to swing the collector so the outputs matched, thus the
    direction pointed to the sun. This may not the the most applicable
    circuit, but I was intrigued with the idea.

    Dave




    --- In basicstamps@y..., Jose Luis Juarez <jl.ingenieria@i...> wrote:
    > Hi!
    >
    > Has anybody ever tried controlling automatically a store (or sun shade)
    > using a BS1?
    >
    > I am considering having 6 inputs:
    >
    > - sun is on or off (thru a Light dependent resistor)
    > - an adjustable reference resistor for the LDR
    > - Wind speed is under or over a limit (typically using rotary wind sensor
    > that open/closes a contact on each sensor turn) or any other wind sensor
    > you may know of. If over, the stor should go "up" rather quickly....
    > - an adjustable resistor to set the maximum wind speed
    > - Manual up
    > - Manual down
    >
    > The stor motors usually require 2 different relay contacts to close:
    > - Motor up
    > - Motor down
    > - No movement (both relays open)
    >
    >
    > Could anybody provide some help on the code or the logic flow diagram?
    >
    > Thanks in advance,
Sign In or Register to comment.