# Help needed... Toggle switch for LED lighting circuit

E

#### ehsjr

Jan 1, 1970
0
nibbles said:
Hi all,

I'm trying to create an LED lighting system for my staircase - which will
have a row of 15 LEDs under each tread bullnose, that are switched on/off by
pressure mats located at both top and bottom of the staircase.
I intend to wire up the LEDs as 65 parallel arrays of 3 LEDs operating on
12v @15ma/3.5v using a 100 ohm resistor for each (195 in total so lots of
soldering to be done!).
The above was calculated using the this online calculator
http://led.linear1.org/led.wiz so if my description isn't clear, pop them
details into the calc' for a diagram.

What I need help with is a simple(ish) diagram to operate the toggle
function as mentioned above, eg; Switch on when someone steps on the bottom
pad and off when they step on the top pad - or vice-versa.

Any suggestions would be greatly appreciated.

Lee

Dump the toggle idea and use PIR to sense when someone
is on the staircase. Toggle is too easily defeated by
human unpredictability.

Ed

B

#### Bob Monsen

Jan 1, 1970
0
Hi all,

I'm trying to create an LED lighting system for my staircase - which will
have a row of 15 LEDs under each tread bullnose, that are switched on/off by
pressure mats located at both top and bottom of the staircase.
I intend to wire up the LEDs as 65 parallel arrays of 3 LEDs operating on
12v @15ma/3.5v using a 100 ohm resistor for each (195 in total so lots of
soldering to be done!).
The above was calculated using the this online calculator
http://led.linear1.org/led.wiz so if my description isn't clear, pop them
details into the calc' for a diagram.

What I need help with is a simple(ish) diagram to operate the toggle
function as mentioned above, eg; Switch on when someone steps on the bottom
pad and off when they step on the top pad - or vice-versa.

Any suggestions would be greatly appreciated.

Do you have the pressure mats already? If not, a cheaper alternative might
be a sharp IR sensor, like a GP2D12. Mount it facing across the step,
and you'll be able to get a voltage pulse when somebody steps on the stair.

The timer idea some people have been suggesting is nice, except that if
people decide to sit on the steps for any length of time, the lights will
go out. Also, the LEDs on the top steps will be visible for people on the
lower steps unless you shield them somehow.

I have a dark hallway leading to a bathroom and a coat closet. The hallway
has a light, but there is no switch for it; it uses a twist switch on the
lamp itself. So, in order to find the bathroom at night, you had to feel
around to the lamp. Sadly, the lamp had a glass shield that popped out if
you pushed on it. So, the only real solution was to leave the light on all
the time, which I disliked for various reasons. So, I used one of those IR
sensors to sense when somebody was coming up the hallway, so I could turn
on the light for 5 minutes, on a timer. There are several issues I have
with the current circuit, though. There is no way to simply turn on the
light and leave it on (no external switch). There is no way to adjust the
length of time (without reprogramming the microcontroller that is used to
time the delay). Also, the light flashes on unexpectedly for newcomers,
which can be startling, since it is hard to see, and if you happen to be
looking in the wrong direction, can be blinding. FYI. These are all easy
to solve problems, but I haven't gotten around to fixing them yet (it has
been a couple of years now... I post this as food for thought.

--
Regards,
Bob Monsen

I know not with what weapons World War III will be fought, but World
War IV will be fought with sticks and stones.
Albert Einstein

R

#### Rich Grise

Jan 1, 1970
0
Probably not a bad idea to use an off timer too incase the
presure plate gets missed on exit, otherwise the next user
will turn the lights off when they hit the plate. Or,
if you have a metal hand rail you could use a touch sensor
in the rail to trigger the lights, or use an infrared motion
sensor as is to trigger the lights. The motion sensor can
be hidden in the tread face board or in an overhead fixture.

Or one of those PIR yard lights - I think the turn-off delay is adjustable.

Or, just turn it on whenever somebody steps on either of the mats, and
leave it on for, say, 3-5x the time it normally takes to go up or down
the stairs.

Or, just leave the suckers on whenever it's dark inside. (like
those photoelectric night lights.)

Good Luck!
Rich

C

#### cbm5

Jan 1, 1970
0
nibbles said:
Hi all,

I'm trying to create an LED lighting system for my staircase - which will
have a row of 15 LEDs under each tread bullnose, that are switched on/off by
pressure mats located at both top and bottom of the staircase.
I intend to wire up the LEDs as 65 parallel arrays of 3 LEDs operating on
12v @15ma/3.5v using a 100 ohm resistor for each (195 in total so lots of
soldering to be done!).
The above was calculated using the this online calculator
http://led.linear1.org/led.wiz so if my description isn't clear, pop them
details into the calc' for a diagram.

What I need help with is a simple(ish) diagram to operate the toggle
function as mentioned above, eg; Switch on when someone steps on the bottom
pad and off when they step on the top pad - or vice-versa.

Any suggestions would be greatly appreciated.

Lee

Your idea does not account for multiple people on the stairs.

N

#### nibbles

Jan 1, 1970
0
Hi all,

I'm trying to create an LED lighting system for my staircase - which will
have a row of 15 LEDs under each tread bullnose, that are switched on/off by
pressure mats located at both top and bottom of the staircase.
I intend to wire up the LEDs as 65 parallel arrays of 3 LEDs operating on
12v @15ma/3.5v using a 100 ohm resistor for each (195 in total so lots of
soldering to be done!).
The above was calculated using the this online calculator
http://led.linear1.org/led.wiz so if my description isn't clear, pop them
details into the calc' for a diagram.

What I need help with is a simple(ish) diagram to operate the toggle
function as mentioned above, eg; Switch on when someone steps on the bottom
pad and off when they step on the top pad - or vice-versa.

Any suggestions would be greatly appreciated.

Lee

J

#### Jasen Betts

Jan 1, 1970
0
Steve Gonedes explained on 1/06/2013 :

That post is 7 years old now so he has fallen down the dark stairs.
:-(
Anyway he wanted a toggle circuit to switch either way with the press
of the top or bottom switches not a simple toogle switch. :-Z

SPDT is a fairly simple switch, a bedlamp switch won't do it,
but many others will.

C
Replies
11
Views
2K
Jasen Betts
J
Replies
5
Views
161
Replies
4
Views
359
Replies
7
Views
163
Replies
9
Views
446