Shop OBEX P1 Docs P2 Docs Learn Events
A real newbie here — Parallax Forums

A real newbie here

ArchiverArchiver Posts: 46,084
edited 2002-04-24 14:08 in General Discussion
hey guys i hope i don't get flamed to bad but here goes>my first post
and i really need some direction..dont even have any equiptment, and
there is the question.. I want to eventually controll 5 lights in a
timed sequence and have no idea what to buy (basic 1or 2)or do i
need external timer..any help is appreciated..

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-04-24 04:56
    hi there,

    the BS1 has 8 outputs and the BS2 has 16 outputs. either should
    work since your only going to be using 5--- i dont know your method
    of controlling the lights but it can be very simple

    lets say you have a light on each output pin 1-5, you could simply
    turn them on by doing this--

    high 1
    pause 1000
    low 1

    that just turned light 1 on for 1 second, the 1000 is milliseconds
    so if you wanted 5 seconds it would be pause 5000 of if you wanted
    half a second it would be pause 500 you cant go higher that 65
    seconds thats the limit.

    the stamp will easily turn on a LED or something similar, it has 5
    volt 20 ma outputs. if you want to turn on something bigger you
    will need to use a transistor or use a relay of some kind for a
    heavy load.

    if you give details of your lighting scheme maybe we can help more.
    dont know what else to say really.


    steve






    --- In basicstamps@y..., "wallypk1" <wallypk@i...> wrote:
    > hey guys i hope i don't get flamed to bad but here goes>my first
    post
    > and i really need some direction..dont even have any equiptment,
    and
    > there is the question.. I want to eventually controll 5 lights in
    a
    > timed sequence and have no idea what to buy (basic 1or 2)or do i
    > need external timer..any help is appreciated..
  • ArchiverArchiver Posts: 46,084
    edited 2002-04-24 05:00
    --- In basicstamps@y..., "sznavor23" <sznavor23@y...> wrote:
    > hi there,
    >
    > the BS1 has 8 outputs and the BS2 has 16 outputs. either should
    > work since your only going to be using 5--- i dont know your
    method
    > of controlling the lights but it can be very simple
    >
    > lets say you have a light on each output pin 1-5, you could simply
    > turn them on by doing this--
    >
    > high 1
    > pause 1000
    > low 1
    >
    > that just turned light 1 on for 1 second, the 1000 is milliseconds
    > so if you wanted 5 seconds it would be pause 5000 of if you wanted
    > half a second it would be pause 500 you cant go higher that 65
    > seconds thats the limit.
    > thanks for your reply that is what i wanted to know. I am going to
    order the basic 1 kit...I am sure i will have more questions
    later...pk
    > the stamp will easily turn on a LED or something similar, it has 5
    > volt 20 ma outputs. if you want to turn on something bigger you
    > will need to use a transistor or use a relay of some kind for a
    > heavy load.
    >
    > if you give details of your lighting scheme maybe we can help more.
    > dont know what else to say really.
    >
    >
    > steve
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@y..., "wallypk1" <wallypk@i...> wrote:
    > > hey guys i hope i don't get flamed to bad but here goes>my first
    > post
    > > and i really need some direction..dont even have any equiptment,
    > and
    > > there is the question.. I want to eventually controll 5 lights in
    > a
    > > timed sequence and have no idea what to buy (basic 1or 2)or do i
    > > need external timer..any help is appreciated..
  • ArchiverArchiver Posts: 46,084
    edited 2002-04-24 14:08
    Depending on how intricate and/or accurate you want to
    make the timing process, you may not even need a
    stamp.
    Also what is the lamp voltage and current as this will
    determine what you need for interface drivers between
    the controller and the end devices. Please contact me
    off line with all the necessary information and I will
    be more than happy to help. This should not take long
    either.

    Regards,

    Gerry Shand
    ronlizus@y...
    gshand@h...

    On April 24, sez you:

    there is the question.. I want to eventually controll
    5 lights in a
    timed sequence and have no idea what to buy (basic
    1or 2)or do i
    need external timer..any help is appreciated..



    __________________________________________________
    Do You Yahoo!?
    Yahoo! Games - play chess, backgammon, pool and more
    http://games.yahoo.com/
Sign In or Register to comment.