First Circuits: AND and OR
You've been asked to design the lock for a high-security door. The lock opens only when the right people turn the right keys — and it's your job to decide what "the right people" means. Two switches, one light, and a couple of decisions: that's a logic gate.
Overview
In this lab you'll build two circuits in Antares — an AND gate and an OR gate — as electronic door locks, then describe exactly how each behaves with a truth table.
Before you start
Open Antares. You'll create two new circuits in it, MyAND and MyOR.
You've got it when…
-
MyANDlights the LED only when both switches are on. -
MyORlights the LED when either switch (or both) is on. - You've completed a truth table for each circuit.
Collaboration & AI
Work: On your own. Ask a neighbor if Antares fights you, but design your own circuits.
AI — AIAS Level 1, No AI: The point is to reason out the logic yourself, so don't use AI on this one. What the levels mean.
Door Challenge A: AND
The door has two electrical switches, each turned by a key. The electric lock opens when voltage reaches it, shown by a lit LED. Design a circuit that delivers power to the LED only when both switches are closed (on) — so it takes two employees turning their keys at the same time to open the door.
Begin a new circuit in Antares.
- Select My First Project on the left, then choose File ▸ New Circuit….
- Name your circuit
MyAND.
Use only these components from the Library:
- 1 × Power from the Net folder
- 2 × Real Switch from the Input folder
- 1 × LED from the Output folder
Connect the components with wires to create the door-lock behavior. Use the Text tool to label one switch A and the other B.
Door Challenge B: OR
Now make the lock less restrictive: any single employee should be able to open the door with either key. Design a circuit with two switches that delivers power to the LED when either or both switches are closed (on).
Begin a new circuit in Antares. Name it MyOR, and use the same components from
the Library as in Door Challenge A.
Truth Tables
Complete a truth table for each circuit to describe the output (the LED) for every possible combination of inputs (the two switch positions). The four switch combinations are filled in for you.
MyAND
| Switch A | Switch B | LED / Door |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
MyOR
| Switch A | Switch B | LED / Door |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Turn It In
- Your two completed truth tables (in your notebook).
- A screenshot of each circuit,
MyANDandMyOR.
How It's Graded
This lab is worth up to 4 points. One score covers everything you turn in.
| Score | What it looks like |
|---|---|
| 4 — Excellent | Both circuits behave exactly as specified — MyAND needs both switches, MyOR takes either — switches are labeled A and B, the wiring is tidy enough to follow, and both truth tables are correct. |
| 3 — Above Average | Both circuits work and both truth tables are complete, with a minor slip — a missing label, an untidy run of wire, or one wrong truth-table row. |
| 2 — Average | One circuit works and one doesn't, or the circuits work but a truth table is missing or has multiple wrong rows. |
| 1 — Below Average | Screenshots or truth tables are largely missing, or neither circuit produces the door-lock behavior. |
| 0 — Failing | Nothing turned in, or no evidence you built either circuit. |