Projects with a slide switch
43 Mokxi projects use a slide switch (10 beginner, 18 intermediate and 15 advanced). They run on Arduino Uno and Pro Micro boards, and 15 need no board at all. Here are 24, from “Hello, breadboard” to “Pressure tank monitor”. 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.
How to pick your first one
- Start with “Color to frequency”, a beginner project that needs a color sensor, a slide switch and a frequency counter.
- Arduino Uno runs 20 of them, Pro Micro 3 and 15 need no board at all. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the LED (27 projects), the push button (15) and the potentiometer (7). With those on hand, most of this list is open to you.
- Before you build one on a real bench, open the slide switch part page for its pins and what each one does.
24 projects of 43

Hello, breadboard
A switch, a resistor and an LED: the first circuit, with the whole loop in view.
- Board
- No board
- Parts
- Slide switch, resistor, LED
- Level
- Beginner

Pico W slide switch on GP14
MicroPython on a Pico W: a slide switch puts GP14 on 3.3 V or on ground, with a 10k and a 100 nF to steady it, and the program prints each side.
- Board
- Raspberry Pi Pico W
- Parts
- Slide switch, resistor, capacitor
- Level
- Beginner

ULN2803A switching four 12 V lamps
Four slide switches on a ULN2803A's inputs, four 12 V lamps on its outputs: each channel sinks its lamp to about 0.87 V.
- Board
- No board
- Parts
- ULN2803A Darlington array, slide switch, filament lamp
- Level
- Beginner

Color to frequency
A TCS3200 color sensor with two slide switches picking its red, green, blue or clear filter and a frequency counter on OUT: the more of that color.
- Board
- No board
- Parts
- Color sensor, slide switch, frequency counter
- Level
- Beginner

NPN transistor switch
A 2N2222 switching an LED from a slide switch through a 1 k base resistor, with real Gummel-Poon currents in the base and collector.
- Board
- No board
- Parts
- Resistor, LED, transistor, slide switch
- Level
- Beginner

Three-way switch
Two SPDT slide switches joined by two traveler wires turn one LED on and off from either end.
- Board
- No board
- Parts
- Slide switch, resistor, LED
- Level
- Beginner

555 blinker
A 555 astable blinks an LED, and a slide switch swaps the timing resistor from 1.4 Hz to 7.4 Hz.
- Board
- No board
- Parts
- Resistor, NE555 timer, slide switch, capacitor, LED
- Level
- Beginner

MOSFET switch
A 2N7000 switching an LED from a slide switch, with no gate resistor anywhere: the switch a board pin reaches for.
- Board
- No board
- Parts
- Resistor, LED, MOSFET, slide switch
- Level
- Beginner

TLC555 blinker on 3.3 V
The 555 blinker, wire for wire, on a 3.3 V supply with a TLC555: the CMOS 555 runs from 2 V where an NE555 will not start, at the same 1.4 or 7.4 Hz.
- Board
- No board
- Parts
- Resistor, TLC555 CMOS timer, slide switch, capacitor, LED
- Level
- Beginner

RC plane elevon and V-tail mixer
An Arduino flight mixer: two joysticks stand in for the sticks, and two servos move as a flying wing’s elevons or a V-tail, picked by a switch.
- Board
- Arduino Uno R3
- Parts
- Servo motor, slide switch, joystick
- Level
- Intermediate

Pico W alarm siren and lamp on a slide switch
MicroPython on a Pico W: a slide switch on GP17 turns on a siren, a passive buzzer on GP15 sweeping 130 to 800 Hz with an LED on GP16 pulsing in step.
- Board
- Raspberry Pi Pico W
- Parts
- Piezo speaker, transistor, resistor, slide switch, capacitor, +1 more
- Level
- Intermediate

Leverless SOCD cleaning
Four direction buttons that can be held two at a time, cleaned by the neutral or last-input rule a slide switch picks.
- Board
- SparkFun Pro Micro
- Parts
- Game console buttons, slide switch, LED, resistor
- Level
- Intermediate

Four-way switch logic
Three slide switches model the two ends and a reversing intermediate of a three-way plus four-way run, and an Uno lights an LED on their parity.
- Board
- Arduino Uno R3
- Parts
- Slide switch, resistor, LED
- Level
- Intermediate

Home energy monitor with EmonLib
A ZMPT101B and an ACS712 feed EmonLib on an Uno: volts, amps, real power and power factor on an I2C LCD, with the watt hours used adding up.
- Board
- Arduino Uno R3
- Parts
- AC voltage sensor, ACS712 current sensor, signal generator, slide switch, resistor, +1 more
- Level
- Intermediate

DC throttle with momentum
A knob, a direction switch and a brake button drive a DC motor through a TB6612, easing up to speed and down again like a heavy train.
- Board
- Arduino Uno R3
- Parts
- Slide switch, push button, potentiometer, TB6612FNG motor driver, DC motor
- Level
- Intermediate

IRF520 and D4184 MOSFET modules
One switch drives an IRF520 module and a D4184 module, each on a 12 V load: the IRF520 is half on from 5 V and off from 3.3 V.
- Board
- No board
- Parts
- Resistor, slide switch, IRF520 MOSFET module, D4184 MOSFET module
- Level
- Intermediate

Camera slider with eased moves
A NEMA 17 on an A4988 homes to an end switch, then makes a video move that speeds up and slows down evenly, or a timelapse that moves.
- Board
- Arduino Nano
- Parts
- LED, resistor, potentiometer, push button, slide switch, +3 more
- Level
- Advanced

Heated bed PID
A 100k thermistor, a MOSFET heater and a PID loop holding a modeled bed at its target.
- Board
- Arduino Uno R3
- Parts
- Resistor, 10k NTC thermistor, MOSFET, filament lamp, slide switch, +1 more
- Level
- Advanced

Eurorack CV quantizer
A control voltage snapped to the nearest note of a scale and sent out at one volt per octave through a filtered PWM DAC.
- Board
- Arduino Nano
- Parts
- Potentiometer, resistor, capacitor, LED, slide switch, +2 more
- Level
- Advanced

Spaceship control panel
Arm three systems, pass the go/no-go poll, lift the safety and launch.
- Board
- Arduino Mega 2560 R3
- Parts
- Slide switch, LED arcade button, TM1637 four-digit display, piezo speaker, WS2812 NeoPixel LEDs, +7 more
- Level
- Advanced

Autopilot and landing gear panel
An autopilot knob for heading, altitude and vertical speed on a four-digit display, an AP button.
- Board
- SparkFun Pro Micro
- Parts
- TM1637 four-digit display, KY-040 rotary encoder, slide switch, arcade button, LED, +1 more
- Level
- Advanced

Sim racing button box
Two encoders, an ignition key with a start button, three toggles, four buttons and three LEDs on a Pro Micro, sent to the game as one USB controller.
- Board
- SparkFun Pro Micro
- Parts
- Slide switch, arcade button, KY-040 rotary encoder, LED, resistor
- Level
- Advanced

HVAC thermostat
A two-stage heat and cool thermostat on an Uno: W1, W2, Y1, Y2 and G on LEDs, compressor minimum on and off times.
- Board
- Arduino Uno R3
- Parts
- DS18B20 temperature sensor, slide switch, potentiometer, resistor, LED
- Level
- Advanced

Pressure tank monitor
A pressure transducer and a pump relay run a 40/60 or 30/50 psi cut-in and cut-out, count pump cycles and run time, and flag short cycling.
- Board
- Arduino Uno R3
- Parts
- 0.5 to 4.5 V pressure sender, relay module, filament lamp, slide switch, push button, +2 more
- Level
- Advanced
Wiring, libraries and more ideas
Library pages
More project ideas
- Arduino Uno project ideas
- Electronics projects with no code
- Pro Micro and Leonardo project ideas
- Arduino Nano project ideas
- LED projects for Arduino, ESP32 and Pico
- Projects with a push button
- Projects with a potentiometer
- Projects with a relay module
- Projects with a lamp
- Projects with an I2C LCD
- Projects with a capacitor