
Question:
How do I set up a room with a partition, so that the switches change their function
depending on whether the partition is open or closed?
Answer:
Let’s take a scenario where a room has a switch on the north wall, a switch on the south
wall, and a partition that can separate the room into a north half and a south half.
Each switch has an ON button and an OFF button. When the partition is open, the
switches control both sets of lights in the room (North
and
South lights, i.e. Relay 1
and
Relay 2). When the partition is closed, the South Switch turns on and off the South
Lights (Relay 2)
only
, and the North Switch turns on and off the North Lights (Relay 1)
only
.
Here are the steps to accomplish this:
- 17 -
101