Project ideas by level

Intermediate Arduino and ESP32 projects

An intermediate project adds a library, a display or a sensor bus like I2C or SPI, and code split into functions. Mokxi has 389 projects at this level. Here are 24, picked across boards and topics. 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 “BME280 on a Pi Zero 2 W with smbus2”, an intermediate project that needs a BME280 sensor.
  • Arduino Uno runs 258 of them, ESP32 50 and Raspberry Pi Pico 38. Start on the board you have, or on an Arduino Uno if you are buying one.
  • The parts used most here are the LED (100 projects), the push button (81) and the potentiometer (48). With those on hand, most of this list is open to you.
  • Read the sketch before you run it and guess what the serial monitor will print; checking that guess is how the next level starts.
Projects

24 projects of 389

  • MicroPython alarm on a Pico: a siren on a passive buzzer, drawn in the Mokxi editor

    MicroPython alarm on a Pico: a siren on a passive buzzer

    MicroPython on a Raspberry Pi Pico: while the button on GP16 is held, PWM on GP15 sweeps a passive buzzer between 1 and 2 kHz like a siren.

    Board
    Raspberry Pi Pico
    Parts
    Resistor, transistor, piezo speaker, push button
    Level
    Intermediate
    Open in the simulator
  • Flappy Bird on an OLED, drawn in the Mokxi editor

    Flappy Bird on an OLED

    Flappy Bird on an OLED with an Arduino: one button to flap through the pipes, gravity in whole numbers, sound on a piezo and the best score in EEPROM.

    Board
    Arduino Uno R3
    Parts
    Arcade button, piezo speaker, SSD1306 OLED display
    Level
    Intermediate
    Open in the simulator
  • ESP32 DHT22 weather web server, drawn in the Mokxi editor

    ESP32 DHT22 weather web server

    ESP32 DHT22 weather web server: the board serves its own page with the temperature in C and F and the humidity, plus the same reading as JSON.

    Board
    ESP32 DevKit V1
    Parts
    DHT11 or DHT22 sensor
    Level
    Intermediate
    Open in the simulator
  • Pico W four-digit display counts seconds, drawn in the Mokxi editor

    Pico W four-digit display counts seconds

    MicroPython on a Pico W: a 74HC595 on GP18 to GP20 and digit selects on GP10 to GP13 multiplex a four-digit display that counts the seconds.

    Board
    Raspberry Pi Pico W
    Parts
    74HC595 shift register, four-digit seven-segment display, resistor
    Level
    Intermediate
    Open in the simulator
  • 555 on the bench, drawn in the Mokxi editor

    555 on the bench

    A 555 astable with a scope on its output and its timing capacitor and a multimeter reading the average: the frequency.

    Board
    No board
    Parts
    Resistor, NE555 timer, capacitor, oscilloscope, multimeter
    Level
    Intermediate
    Open in the simulator
  • Sound-reactive LED strip, drawn in the Mokxi editor

    Sound-reactive LED strip

    A KY-038 microphone and sixteen WS2812Bs on an ESP32-C3: a VU meter with a falling peak dot, and colors that turn with every loud beat.

    Board
    ESP32-C3-DevKitM-1
    Parts
    Sound sensor, WS2812 NeoPixel LEDs
    Level
    Intermediate
    Open in the simulator
  • Fight stick on a Pro Micro, drawn in the Mokxi editor

    Fight stick on a Pro Micro

    A four-way lever and six buttons on a Pro Micro, debounced with no added delay and reported as a numpad direction plus the buttons held.

    Board
    SparkFun Pro Micro
    Parts
    Game console buttons, arcade button
    Level
    Intermediate
    Open in the simulator
  • Four-digit display on a 74HC595 (pins 8, 10 and 9), drawn in the Mokxi editor

    Four-digit display on a 74HC595 (pins 8, 10 and 9)

    A 74HC595 with data on pin 8, clock on 10 and latch on 9 drives the segments of a four-digit display whose digits are all switched on.

    Board
    Arduino Uno R3
    Parts
    74HC595 shift register, four-digit seven-segment display, resistor
    Level
    Intermediate
    Open in the simulator
  • JK flip-flop counter, drawn in the Mokxi editor

    JK flip-flop counter

    Two JK flip-flops in a 74HC112 toggle on each falling clock edge and count 0 to 3 in binary on two LEDs.

    Board
    No board
    Parts
    Clock, 74HC112 dual JK flip-flop, resistor, LED
    Level
    Intermediate
    Open in the simulator
  • Animated diorama: DFPlayer sound + stepper, drawn in the Mokxi editor

    Animated diorama: DFPlayer sound + stepper

    A button plays a C-3PO line on a DFPlayer Mini while a 28BYJ-48 turns R2-D2’s dome.

    Board
    Arduino Nano
    Parts
    DFPlayer Mini MP3 module, resistor, push button, 8 ohm speaker, 28BYJ-48 stepper and ULN2003
    Level
    Intermediate
    Open in the simulator
  • HC-SR04 distance sensor with gpiozero, drawn in the Mokxi editor

    HC-SR04 distance sensor with gpiozero

    gpiozero DistanceSensor on a Raspberry Pi 5: an HC-SR04 with its echo divided down to 3.3 V.

    Board
    Raspberry Pi 5
    Parts
    HC-SR04 ultrasonic sensor, resistor, LED
    Level
    Intermediate
    Open in the simulator
  • SSD1306 OLED on a Pi with smbus2, drawn in the Mokxi editor

    SSD1306 OLED on a Pi with smbus2

    A Raspberry Pi 4 draws text on an SSD1306 OLED over I2C bus 1 with smbus2: an uptime counter each second, and how long each frame takes at 100 kHz.

    Board
    Raspberry Pi 4 Model B
    Parts
    SSD1306 OLED display
    Level
    Intermediate
    Open in the simulator
  • BME280 on a Pi Zero 2 W with smbus2, drawn in the Mokxi editor

    BME280 on a Pi Zero 2 W with smbus2

    A Raspberry Pi Zero 2 W reads a BME280 over I2C with smbus2 and the datasheet formulas: temperature, pressure and humidity every two seconds.

    Board
    Raspberry Pi Zero 2 W
    Parts
    BME280 weather sensor
    Level
    Intermediate
    Open in the simulator
  • Rainbow strip, drawn in the Mokxi editor

    Rainbow strip

    An ESP32-C3 runs a hue wheel along sixteen WS2812Bs, bit-banged to the datasheet pulse widths.

    Board
    ESP32-C3-DevKitM-1
    Parts
    WS2812 NeoPixel LEDs
    Level
    Intermediate
    Open in the simulator
  • An ESP32 and an Arduino Uno talking over serial, drawn in the Mokxi editor

    An ESP32 and an Arduino Uno talking over serial

    An ESP32 reads a knob and sends the number to an Arduino Uno over a serial wire; the Uno sets an LED’s brightness from it.

    Board
    ESP32 DevKit V1 and Arduino Uno R3
    Parts
    Potentiometer, resistor, LED
    Level
    Intermediate
    Open in the simulator
  • Stream deck on a Pro Micro, drawn in the Mokxi editor

    Stream deck on a Pro Micro

    Six keys with their labels drawn on an SSD1306 OLED, a second page on the sixth key, and a Ctrl+Shift+F-key hotkey for each press through Keyboard.h.

    Board
    SparkFun Pro Micro
    Parts
    SSD1306 OLED display, arcade button
    Level
    Intermediate
    Open in the simulator
  • ESP-NOW on two NodeMCUs, drawn in the Mokxi editor

    ESP-NOW on two NodeMCUs

    Two ESP8266 boards talking ESP-NOW with the ESP8266 core’s espnow.h: one sends a count and a knob reading every two seconds.

    Board
    ESP8266 NodeMCU V1.0
    Parts
    Potentiometer
    Level
    Intermediate
    Open in the simulator
  • LED and key, drawn in the Mokxi editor

    LED and key

    A TM1638 LED&KEY board with the TM1638plus library: each button lights its LED, and the display counts the presses.

    Board
    Arduino Uno R3
    Parts
    LED and key board
    Level
    Intermediate
    Open in the simulator
  • LM393 night light with a ULN2003A, drawn in the Mokxi editor

    LM393 night light with a ULN2003A

    An LM393 compares an LDR with a knob, its open-collector output pulled up by 10 k.

    Board
    No board
    Parts
    Photoresistor, resistor, potentiometer, LM393 dual comparator, ULN2003A Darlington array, +1 more
    Level
    Intermediate
    Open in the simulator
  • Drum pads, drawn in the Mokxi editor

    Drum pads

    Arduino drum pads: three force-sensing resistors play a kick, a snare and a hi-hat on a piezo, harder hits longer.

    Board
    Arduino Nano
    Parts
    Force-sensing resistor, piezo speaker
    Level
    Intermediate
    Open in the simulator
  • Grove OLED, drawn in the Mokxi editor

    Grove OLED

    The 1.12 inch 128x128 SH1107 OLED with Adafruit’s SH110X library on a Mega: a ball bounces around the square, sent as sixteen pages of RAM.

    Board
    Arduino Mega 2560 R3
    Parts
    OLED display
    Level
    Intermediate
    Open in the simulator
  • WiFi: fetch the weather, drawn in the Mokxi editor

    WiFi: fetch the weather

    HTTPClient against a simulated origin, with the numbers on a dial in the Cloud panel, and a request to the real internet that is refused.

    Board
    ESP32-C3-DevKitM-1
    Parts
    Just the board
    Level
    Intermediate
    Open in the simulator
  • I2C LCD clock and thermometer, drawn in the Mokxi editor

    I2C LCD clock and thermometer

    An I2C LCD on A4 and A5 shows the time, kept by a timer interrupt every second, and the temperature from a thermistor on A0.

    Board
    Arduino Uno R3
    Parts
    10k NTC thermistor, resistor, I2C LCD
    Level
    Intermediate
    Open in the simulator
  • TL072 amplifier on +-12 V, drawn in the Mokxi editor

    TL072 amplifier on +-12 V

    A TL072 inverting amplifier with a gain of -4.7 on a +12 V and -12 V supply: a 1 V sine in, a 4.7 V sine out, upside down and both sides of ground.

    Board
    No board
    Parts
    Function generator, TL072 dual JFET op-amp, resistor, oscilloscope
    Level
    Intermediate
    Open in the simulator

See all 389 intermediate projects on the templates page