Discover/Découvrir
Projects
🎛️

Button-Controlled Fan

What you'll build
Press a button to spin the fan — your first input project!

Before you start

  • You'll learn: Reading a digital input with INPUT_PULLUP and reacting to it with if/else.

  • You'll finish: A fan that spins only while you hold the button board down.

  • Real world: Every push-to-talk radio, doorbell and machine start button works exactly like this.

  • Then try: Make one press start the fan and the next press stop it — a latch, like a real wall switch.

  • Who does this: Industrial machine operator or control technician — TVET electrical or instrumentation course.