1. Lighting and Device Control
System Simulation
Using Logisim Evolution
OIT 135/115
2. Overview of the System
• Simulate a lighting system with grouped and
individual controls.
• Monitor device power status and trigger
alerts.
• Generate periodic notifications using a clock
component.
• Tools: Logisim Evolution for circuit simulation.
3. Lighting System Requirements
1. 3 bulbs outside the fence controlled by 1
switch.
2. 5 garden bulbs controlled by 1 switch.
3. 5 wall bulbs outside the house controlled by 1
switch.
4. 6 indoor bulbs, each controlled by an
individual switch.
4. Components for Lighting System
• Switches: To control the bulbs.
• Bulbs: Represent lighting elements.
• Wires: To connect switches and bulbs in
parallel or individually.
5. Logic for Lighting System
1. 3 Bulbs Outside Fence:
- A single switch connected to 3 bulbs in parallel.
2. 5 Garden Bulbs:
- A single switch connected to 5 bulbs in parallel.
3. 5 Wall Bulbs:
- A single switch connected to 5 bulbs in parallel.
4. 6 Indoor Bulbs:
- Each bulb controlled by its own switch.
6. Truth Tables for Lighting
Switch | Bulbs On
-------|----------
0 | 0
1 | 1
(Applicable to each grouped or individual
switch-bulb control).
8. Device Management System
1. Detect if Laptop or TV is powered on.
2. Monitor device access and trigger alerts.
3. Simulate periodic notifications using a clock
component.
9. Components for Device Management
• Switches: Represent the ON/OFF state of
devices.
• Logic Gates: AND Gate for alert monitoring.
• Clock: For periodic notifications.
• LED/Buzzer: Indicate notifications or alerts.
11. Steps to Simulate in Logisim Evolution
1. Add switches and bulbs for the lighting
system.
2. Wire bulbs in parallel for groups or
individually for indoor lights.
3. Add switches for Laptop and TV.
4. Connect logic gates (AND) to monitor alerts.
5. Add a Clock component for periodic
notifications.
12. Revised Device Management System
• Each device (Laptop and TV) triggers its own
alert independently:
- Laptop alert is triggered when Laptop is
ON.
- TV alert is triggered when TV is ON.
- Alerts are not dependent on the state of
the other device.
13. Truth Table for Independent Alerts
| Device | Switch State | Alert |
|------------|------------------|--------|
| Laptop | 0 | 0 |
| Laptop | 1 | 1 |
| TV | 0 | 0 |
| TV | 1 | 1 |
14. Implementation Steps in Logisim Evolution
1. Add two switches to represent Laptop and TV
power states.
2. Connect each switch directly to its
corresponding LED or buzzer.
3. Test each circuit independently:
- Toggle the Laptop switch and observe its
alert.
- Toggle the TV switch and observe its alert.
Editor's Notes
#7:Lighting System Components
Switches (S1, S2, ...):
Used to control lighting systems or individual bulbs.
One switch for each lighting group:
Fence lighting (3 bulbs, 1 switch).
Garden lighting (5 bulbs, 1 switch).
Wall lighting (5 bulbs, 1 switch).
Individual switches for 6 indoor bulbs.
Bulbs (B1, B2, ...):
Represent the lighting elements in each system.
Connected in parallel for grouped systems:
Fence: 3 bulbs in parallel.
Garden: 5 bulbs in parallel.
Wall: 5 bulbs in parallel.
Individual connections for 6 indoor bulbs.
Wires:
Connect switches to bulbs.
Organized in parallel for grouped systems.
Direct connections for individual indoor bulbs.
Device Management System Components
Switches (S7, S8):
Represent the power state of Laptop (S7) and TV (S8).
LEDs or Buzzers:
Indicate alerts when devices are powered ON.
One LED/buzzer for each device:
Laptop Alert LED
TV Alert LED
Wires:
Directly connect switches to the respective LED/buzzer.
Independent wiring ensures separate operation of Laptop and TV alerts.
Overall Labels
Blue Label:
"OIT 135/115 Using Logisim Evolution Software" for title and context.
Red Labels:
Clearly identify switches (e.g., S1, S2, etc.), bulbs (B1, B2, etc.), wires, and LEDs for easier understanding of the circuit layout.