Project ideas by part

Projects with a reed switch

4 Mokxi projects use a reed switch (2 beginner, 1 intermediate and 1 advanced). They run on Arduino Mega, Arduino Uno and ESP32 boards. Here are all of them, from “Pico W reed switch interrupt on GP14” to “Escape-room puzzle box”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.

First project

How to pick your first one

  • Start with “Pico W reed switch interrupt on GP14”, a beginner project that needs a reed switch and a resistor.
  • Arduino Mega runs 1 of them, Arduino Uno 1 and ESP32 1. Start on the board you have, or on an Arduino Mega if you are buying one.
  • The parts used most here are the LED (2 projects), the push button (2) and the arcade button (1). With those on hand, most of this list is open to you.
  • Before you build one on a real bench, open the reed switch part page for its pins and what each one does.
Projects

4 projects ready to run

  • Pico W reed switch interrupt on GP14, drawn in the Mokxi editor

    Pico W reed switch interrupt on GP14

    MicroPython on a Pico W: a reed switch from 3.3 V to GP14 with a 10k pull-down. Bring the magnet close and a pin interrupt counts it.

    Board
    Raspberry Pi Pico W
    Parts
    Reed switch, resistor
    Level
    Beginner
    Open in the simulator
  • Door alarm, drawn in the Mokxi editor

    Door alarm

    A reed switch and a magnet on pin 2: open the door and a buzzer and a lamp latch on until the arcade button resets them. Half-size board.

    Board
    Arduino Uno R3
    Parts
    Reed switch, arcade button, buzzer, resistor, LED
    Level
    Beginner
    Open in the simulator
  • Garage door opener, drawn in the Mokxi editor

    Garage door opener

    A relay that presses the opener’s wall button for half a second and two reed switches that say closed, opening, open, closing or stopped.

    Board
    ESP32-C3-DevKitM-1
    Parts
    Reed switch, push button, relay module
    Level
    Intermediate
    Open in the simulator
  • Escape-room puzzle box, drawn in the Mokxi editor

    Escape-room puzzle box

    Five puzzles in ten minutes: a keypad code, a magnet key, the right RFID card, a tilt sequence and three flashes of light.

    Board
    Arduino Mega 2560 R3
    Parts
    4x4 keypad, reed switch, piezo speaker, MPU6050 accelerometer and gyro, servo motor, +6 more
    Level
    Advanced
    Open in the simulator