We test and improve
Section 7: The project: the city gate bellLesson 7.3 · ⏱ 10 min
Test every case and write it in a table:
- Switch closed + button pressed → it lights up and rings.
- Switch closed + button released → silent.
- Switch open + button pressed → silent.
- Add a green LED that is always on when the switch is closed, so the guard knows the system is working.
- Use a potentiometer to change how bright the LED is.
- Measure the total current with the multimeter when everything is working.
📌 Note
🎉 You finished the Robo Circuits course! In “All” in the lab, more parts are waiting for you: the capacitor, the transistor, the 555 timer and the oscilloscope.
📌 Another example: a test: the switch open
We test the third case in the table: the switch is OFF and the button pressed.

Test yourself
🎯 Challenge yourself
Easy
Add the guard's green LED: it is on as long as the switch is ON, and the bell and its LED are on the button.
👀 Show the solution🙈 Hide the solution

Result: the green LED is always on, and the red LED and the bell go with the button.
Medium
Add a potentiometer to change how bright the gate LED is.
👀 Show the solution🙈 Hide the solution

Result: turn the knob: the light changes.
Hard
Measure the total current with the button pressed: open the path after the switch and put the multimeter on A.
👀 Show the solution🙈 Hide the solution

Result: total current = the LED's current + the buzzer's current.

