The push button
Section 3: Control: the switch and the buttonLesson 3.2 · ⏱ 6 min
The push button closes the circuit only while you press it, and when you let go it opens. Like a doorbell button and a keyboard.
📌 Note
A switch stays as it is until you change it, but a button goes back by itself when you let go.
📌 Another example: a button and a green LED
As long as you press the button the LED lights up, and when you lift your finger it goes off.

✍️ Practise
Put the button on the path, run, and keep pressing it.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
A button and a buzzer: the buzzer rings as long as you press.
👀 Show the solution🙈 Hide the solution

Result: it rings while you press.
Medium
A button and a motor: it spins as long as you press.
👀 Show the solution🙈 Hide the solution

Result: it spins while you press and stops when you let go.
Hard
Two buttons, each on a path, then one LED. Press either of them.
👀 Show the solution🙈 Hide the solution

Result: either button turns the LED on.

