M
Matt
Guest
Hello,
I am trying to figure out how to do something neat with a BASIC Stamp
and a doorbell button. I have a 2-wire lighted doorbell, where the
button shorts out the light, in the usual configuration. I would
like to discard the bell and transformer, and would like to replace
the lamp with a bicolor LED.
I would like the Stamp to be able to change the color of the LED (or
turn it off), and that's not hard by itself. However, I do not have
a good idea for how to cope with and detect button presses. These
will short out the circuit temporarily. A pair of drivers with an
inverter between is sufficient to handle color changes, and turning
it off is not too hard, but I do not know enough to figure out how
to monitor for the button press, especially in the case where the LED
is not illuminated.
I'm just a beginner, so I'm sure there's a solution, but I am also
likely to not fully understand it, so please go into detail if you
have an idea on how to do this.
Thanks!
I am trying to figure out how to do something neat with a BASIC Stamp
and a doorbell button. I have a 2-wire lighted doorbell, where the
button shorts out the light, in the usual configuration. I would
like to discard the bell and transformer, and would like to replace
the lamp with a bicolor LED.
I would like the Stamp to be able to change the color of the LED (or
turn it off), and that's not hard by itself. However, I do not have
a good idea for how to cope with and detect button presses. These
will short out the circuit temporarily. A pair of drivers with an
inverter between is sufficient to handle color changes, and turning
it off is not too hard, but I do not know enough to figure out how
to monitor for the button press, especially in the case where the LED
is not illuminated.
I'm just a beginner, so I'm sure there's a solution, but I am also
likely to not fully understand it, so please go into detail if you
have an idea on how to do this.
Thanks!