Robot and Motor Projects: Servos, DC Motors and Motion

Making something move is the most exciting way to connect electronics to the real world. In these projects you'll learn to position servo motors by angle, control them with a joystick and build moving mechanisms. Motors draw a lot of current, so they often need a separate power supply; the projects show you how.

Using a Servo Motor
AR-35Beginner
Premium

Using a Servo Motor

The arm of a small servo motor turns to three positions in turn: all the way to the start, right to the middle and all the way to the end, waiting two seconds at each stop.

4.7(49)
69
Servo Motor Operation with Potentiometer
AR-36Beginner
Premium

Servo Motor Operation with Potentiometer

As you turn the potentiometer knob, the servo motor's arm turns right along with it: one end of the knob means zero degrees, the other end means half a turn.

4.6(37)
54
Servo Control with Joystick
AR-60Intermediate
Premium

Servo Control with Joystick

Steer two motors with a joystick, just like turning a security camera. Push the stick left or right and the bottom servo motor slowly turns, push it up or down and the top servo tilts up and down…

4.7(42)
58
Using a Stepper Motor
AR-67Intermediate
Premium

Using a Stepper Motor

A motor that turns step by step, exactly as far as you want, like the hand of a clock.

4.5(31)
42
360-Degree Servo from a Stepper Motor
AR-68Intermediate
Premium

360-Degree Servo from a Stepper Motor

Teach an ordinary stepper motor to go to any angle you want, all the way around the circle.

4.5(22)
33
Bluetooth Controlled Car with L298N
AR-80Advanced
Premium

Bluetooth Controlled Car with L298N

Turn your phone into a remote and drive your own robot car. The Arduino receives commands from a remote-control app on your phone through a Bluetooth module and spins the wheels with a motor driver…

5.0(39)
66
Obstacle Avoidance Robot
AR-81Advanced
Premium

Obstacle Avoidance Robot

How about building a smart vehicle that finds its own way? The Obstacle Avoidance Robot constantly scans its surroundings thanks to the ultrasonic sensor in front of it.

5.0(38)
49
Servo Circle Choreography - Animated Patterns with 32 Servos
AR-97Advanced
Premium

Servo Circle Choreography - Animated Patterns with 32 Servos

A visual animation project driven by 32 servo motors arranged in a circle on an Arduino Mega. The servos are managed in a single array, connected to the Mega's pins 22–53, and perform four motion sequences: a chaotic jitter at random angles, a synchronized sweep, a wave travelling around the circle and a compass needle swinging left and right.

4.5(40)
62
ESP32 Servo Motor (Potentiometer Control)
ES-16Intermediate
Premium

ESP32 Servo Motor (Potentiometer Control)

In this project, we control an SG90 servo motor using a potentiometer. We adjust the servo angle by mapping the analog value read from the potentiometer to the 0–180-degree range. The ESP32Servo library generates servo signals on suitable output-capable GPIO pins of the ESP32; this project uses GPIO 18. This is a fundamental control method for robotic arms, camera gimbals, and automatic door mechanisms.

4.3(30)
42
ESP32 RFID Door Lock (RC522 + Servo + OLED + Buzzer + LED)
ES-35Advanced
Premium

ESP32 RFID Door Lock (RC522 + Servo + OLED + Buzzer + LED)

We build a smart door lock with an ESP32, an RC522 RFID module, an SG90 servo, an SSD1306 OLED display, an active buzzer and 2 LEDs. When a card is scanned, its UID is checked against the authorized cards defined in the code; if it matches, the servo unlocks (green LED + 2 short beeps) and locks again after 5 seconds. An unknown card lights the red LED, gives 3 quick beeps and shows its UID on the OLED.

4.8(9)
16
Arduino Mini Radar (Servo + HC-SR04 + OLED Display)
AR-98Intermediate
Premium

Arduino Mini Radar (Servo + HC-SR04 + OLED Display)

A movie-style radar from a distance sensor and a servo! The SG90 servo sweeps the HC-SR04 from 0 to 180 degrees while the 0.96 inch OLED draws a rotating sweep line and shows detected objects as dots. When something enters the range, the passive buzzer pings, and the pitch rises as the object gets closer. Servo control, ultrasonic measurement, trigonometry-based drawing and tone() sound in one project.

1
Arduino Tilt-Controlled Digital Sand (MPU-6050 + 8x8 NeoPixel Matrix)
AR-99Intermediate
Premium

Arduino Tilt-Controlled Digital Sand (MPU-6050 + 8x8 NeoPixel Matrix)

LED sand that flows whichever way you tilt the circuit! The MPU-6050 accelerometer measures the tilt, and 24 grains on the 8x8 NeoPixel matrix fall toward gravity and pile up at the edges like real sand. A theme button switches between sand, water, lava and rainbow colors. Library-free I2C reading, turning tilt into a gravity direction and a simple falling-sand algorithm in one project.

Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)
AR-101Intermediate
Premium

Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)

A musical instrument you play without touching it, just by moving your hand in the air! As your hand gets closer to the HC-SR04, the passive buzzer plays higher notes and the 24-LED NeoPixel ring shows each note with color and fill level. A button switches between two modes: in SCALE mode every distance snaps to a note of a pentatonic scale, and in GLIDE mode the sound slides smoothly like an old sci-fi movie. Your hand writes the melody, not the code.

Raspberry Pi Pico Parking Barrier (SG90 Servo + 2 LEDs + Button + Buzzer)
PI-20Beginner
Premium

Raspberry Pi Pico Parking Barrier (SG90 Servo + 2 LEDs + Button + Buzzer)

A small model of the boom barrier at a car park entrance! Press the button and the Raspberry Pi Pico raises the arm smoothly with an SG90 servo as the green LED comes on. It stays open for 3 seconds, then lowers slowly with a flashing red LED and warning beeps from the buzzer. Press again while it is lowering and the arm rises at once for safety. Servo control, a state machine and non-blocking timing in one project.

Raspberry Pi Pico Keypad Lock (4x4 Keypad + I2C LCD + Servo)
PI-23Intermediate
Premium

Raspberry Pi Pico Keypad Lock (4x4 Keypad + I2C LCD + Servo)

A 4-digit code opens the door, and three wrong tries mean a 30 second wait! The Raspberry Pi Pico checks the PIN typed on a 4x4 keypad: if it's right, an SG90 servo unlocks and relocks by itself after 5 seconds. An I2C LCD shows the stars, the tries left and the countdown, and a buzzer beeps on every key. The default PIN is 1234; change it with the A key and the new one is saved to pin.txt.

Arduino Tilt Marble Maze (MPU-6050 + MAX7219 8x8 LED Matrix)
AR-103Intermediate
Premium

Arduino Tilt Marble Maze (MPU-6050 + MAX7219 8x8 LED Matrix)

No screen, no joystick: tilt the circuit and an LED marble rolls through a maze! The MPU-6050 accelerometer measures the tilt, and the marble on the MAX7219 8x8 LED matrix rolls that way without passing through walls. Reach the goal and a passive buzzer plays a tune as the next maze opens; finish all 3 for a smiley. Library-free sensor reading, tilt-to-speed control and mazes written as text in one project.

Raspberry Pi Pico Sun Tracking Panel (2 LDRs + SG90 Servo)
PI-25Intermediate
Premium

Raspberry Pi Pico Sun Tracking Panel (2 LDRs + SG90 Servo)

A panel that finds the sun on its own! The Raspberry Pi Pico measures light with 2 LDRs on either side of the panel, and an SG90 servo turns it toward the brighter side. A big difference turns it fast, a small one slowly, and it eases to a stop once both sides match. At night the panel swings back east to wait for sunrise. A ready-made experiment for science fairs and school projects.

Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)
AR-104Beginner
Premium

Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)

Wave your hand and the lid opens by itself! When the HC-SR04 ultrasonic sensor sees your hand closer than 15 cm, an SG90 servo lifts the lid in half a second and an LED lights up. Once the hand is gone, the lid waits 3 s and closes slowly. If the sensor detects a hand while the lid is closing, it reopens; contact is still possible because of measurement delays or an undetected hand. A school project favourite that is genuinely useful at home.

1
Raspberry Pi Pico Shake Dice (MPU-6050 + OLED Display + Buzzer)
PI-27Intermediate
Premium

Raspberry Pi Pico Shake Dice (MPU-6050 + OLED Display + Buzzer)

Lost your dice? No problem: shake the circuit and the die rolls on a 0.96 inch OLED! An MPU-6050 accelerometer senses the shake, the die wobbles and spins, and once you stop it slows down and lands on a face. The MODE button switches between one die and two; roll a double and the screen flashes while the buzzer plays a celebration tune. The Raspberry Pi Pico reads the sensor straight over I2C, no library needed.

Raspberry Pi Pico PIR Motion Alarm (PIR Sensor + Buzzer + LED)
PI-37Beginner
Premium

Raspberry Pi Pico PIR Motion Alarm (PIR Sensor + Buzzer + LED)

Walk in once and you get a warning, walk in again and the siren goes off! We are building a two-stage motion alarm with a Raspberry Pi Pico and a PIR motion sensor. It arms itself after a countdown. The first motion plays a ding-dong warning on the buzzer; a second motion within 15 seconds sounds the siren and strobes the LED. Afterwards it re-arms on its own and logs every event with a timestamp.

Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)
AR-113Intermediate
Premium

Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)

Tilt the circuit and the arrow turns to follow! We are building a tilt arrow that points downhill with an Arduino, an MPU-6050 accelerometer and a MAX7219 8x8 LED matrix. The arrow turns in 8 directions, grows as the tilt increases and blinks when it gets very steep. When the circuit is level, a pulsing level sign appears, and the angle and direction are printed to the serial monitor too.

Arduino Hourglass (2x MAX7219 8x8 LED Matrix + MPU-6050)
AR-114Intermediate
Premium

Arduino Hourglass (2x MAX7219 8x8 LED Matrix + MPU-6050)

The sand is not real, but flip it and it runs back! We are building a digital hourglass with an Arduino, two MAX7219 8x8 LED matrices and an MPU-6050. Grains in the upper bulb drop one by one through a narrow neck and pile up below. Flip it and the sand flows back, lay it flat and it pauses; when time is up, the lower bulb blinks.

Arduino Product Turntable (NEMA 17 Stepper Motor + A4988 + LCD)
AR-116Intermediate
Premium

Arduino Product Turntable (NEMA 17 Stepper Motor + A4988 + LCD)

Build your own turntable for product photos and 360-degree videos! A NEMA 17 stepper is driven by an A4988 from just two signals and speeds up and slows down smoothly, so the product never wobbles. There are three modes: continuous spin with the speed on a pot, photo 360 that splits a turn into 12, 24 or 36 stops with a beep at each one, and a showcase-style ±90° swing. The I2C LCD shows speed, angle and shot count.

Arduino Penalty Shootout Game (Servo Goalkeeper + TM1637 Display)
AR-117Beginner
Premium

Arduino Penalty Shootout Game (Servo Goalkeeper + TM1637 Display)

A 5-shot penalty shootout on your desk! After a 3-2-1 beep and a whistle you shoot with the left, middle or right button, and the SG90 servo keeper dives to a corner at the same moment. The keeper learns: keep shooting at the same corner and it starts diving there more often. The score is on the TM1637 display, the ball's corner on the LEDs, and the goal tune comes from a passive buzzer. Randomness, weighted odds and servo control in one game.

ESP32 Egg Incubator Controller (DHT22 + Relay + Servo + OLED)
ES-54Intermediate
Premium

ESP32 Egg Incubator Controller (DHT22 + Relay + Servo + OLED)

Hand the hen's job to an ESP32! The DHT22 measures temperature and humidity, a relay switches the heater with hysteresis, an SG90 servo gently tilts the egg tray every 3 hours, and the 0.96 inch OLED shows the day counter, a temperature graph and alarms. Chicken, quail and duck profiles are built in, and turning stops by itself for the last 3 days. If the sensor fails, the heater switches off for safety.

Raspberry Pi Pico Record-and-Replay Robot Arm (3 Servos + Joystick)
PI-42Intermediate
Premium

Raspberry Pi Pico Record-and-Replay Robot Arm (3 Servos + Joystick)

Show it a move once and the robot arm repeats it on its own! The Raspberry Pi Pico drives the base, shoulder and gripper with three SG90 servos; a joystick steers the arm and a click opens or closes the gripper. Press RECORD and the motion is saved every 100 ms; press PLAY and the arm follows the same path once or on a loop, at x1, x2 or x0.5 speed. The "teach and repeat" method of factory robots, right on your desk.

Arduino Smart Car Park (2x HC-SR04 + Servo Barrier + I2C LCD)
AR-119Intermediate
Premium

Arduino Smart Car Park (2x HC-SR04 + Servo Barrier + I2C LCD)

The barrier rises when a car arrives and stays down when the car park is full! An HC-SR04 at the entry and one at the exit detect cars, an SG90 servo lifts the barrier arm smoothly and an I2C LCD shows the free spaces and a fill bar. When it is full, the red LED lights, and a barrier that sees a car under it while lowering goes back up. The counter is kept in EEPROM; perfect for a smart city school project.

Raspberry Pi Pico Automatic Pet Feeder (SG90 Servo + TM1637 + Buzzer)
PI-43Beginner
Premium

Raspberry Pi Pico Automatic Pet Feeder (SG90 Servo + TM1637 + Buzzer)

Going on holiday? Your fish, cat or bird won't go hungry! The Raspberry Pi Pico counts down to the next meal on a TM1637 display; when time is up, the buzzer plays a short tune and the SG90 servo opens and closes the hopper lid once per portion. Pick an interval of 4, 6, 8, 12 or 24 hours, and a double-feed guard stops accidental overfeeding. Settings are saved, so after a power cut the countdown carries on.

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)
ES-56Intermediate
Premium

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)

The curtain opens by itself when the sun comes up and closes after dark! An LDR measures the light, an A4988 driver turns a NEMA 17 stepper with a soft start and stop, and the 0.96 inch OLED shows a window drawing, how open the curtain is and a sun or moon. Two buttons open and close it by hand, and holding one stops it halfway. The position is saved to flash, so after a power cut the curtain knows where it is.

Raspberry Pi Pico Cowboy Duel (2 SG90 Servos + TM1637 + Buzzer)
PI-44Intermediate
Premium

Raspberry Pi Pico Cowboy Duel (2 SG90 Servos + TM1637 + Buzzer)

A two-player reflex duel: a western whistle plays, the yellow LED lights up at a random moment and the first to press wins! The Raspberry Pi Pico knocks the loser's cardboard cowboy down with an SG90 servo and makes the winner's wave; a TM1637 display shows the reaction time in milliseconds. Press before the LED and you shoot your own cowboy. First to 3 points is champion, and the fastest reaction is saved as the record.

Arduino 3-Floor Elevator (NEMA 17 Stepper Motor + A4988 + Servo Door + TM1637)
AR-124Intermediate
Premium

Arduino 3-Floor Elevator (NEMA 17 Stepper Motor + A4988 + Servo Door + TM1637)

Build a model elevator that steals the show at the science fair! A NEMA 17 stepper driven by an A4988 lifts and lowers the cabin smoothly; at each floor it plays a "ding-dong", an SG90 servo opens the door and closes it after three warning beeps. Calls are served like in a real elevator: floors ahead first, then the way back, and the cabin stops for calls on the way. The TM1637 display shows the direction arrow, floor and door state.

ESP32 Weather Needle (Servo + WS2812B LED Ring + OLED)
ES-59Intermediate
Premium

ESP32 Weather Needle (Servo + WS2812B LED Ring + OLED)

A gauge that shows the weather with a needle and light instead of text! Over Wi-Fi the ESP32 fetches the current weather of six cities in one request; an SG90 servo needle points at sunny, partly cloudy, cloudy, rain or snow-storm on a card. A 24-LED ring shows the temperature as color and the weather as animation, and a 0.96 inch OLED shows city, temperature and wind. A button changes the city; hold it for a demo.

Arduino Light Saber (MPU-6050 + WS2812B LED Strip + Buzzer)
AR-125Intermediate
Premium

Arduino Light Saber (MPU-6050 + WS2812B LED Strip + Buzzer)

Press the button and the light shoots from the hilt to the tip with a "vzzz"! A 30-LED WS2812B strip is the blade, an MPU-6050 measures how fast the sword turns and when it hits something, and a passive buzzer plays the hum. Swing it and the hum rises while the blade glows brighter; hit something and it flashes white with a crackle. A long press cycles through six colours, and your pick is remembered after power-off.

ESP32 Drumming Robot (2 Servos + OLED + Buzzer)
ES-60Intermediate
Premium

ESP32 Drumming Robot (2 Servos + OLED + Buzzer)

A little robot that plays the drums on your desk! Two SG90 servo arms become drumsticks and hit a box or a cup, while a passive buzzer adds the bass hits and a click on each bar. There are 6 rhythms, including rock, disco, march, halay, çiftetelli and 9/8; a potentiometer sets the tempo from 60 to 180 BPM and tapping the TAP button in time teaches the robot your speed. A 0.96 inch OLED shows a 16-step grid with a moving cursor.

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)
PI-48Intermediate
Premium

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)

Build your own slider for cinematic sliding shots! The Raspberry Pi Pico turns a NEMA 17 stepper very slowly and smoothly through an A4988 driver, and the carriage carries a phone or camera along a rail. With a KY-040 encoder you pick the mode, distance, time, direction and frame count from a menu. In VIDEO mode the carriage eases in and out; in TIMELAPSE mode it stops at every frame and waits for the shake to settle. The OLED shows progress and time left.

Arduino IR Remote Pan-Tilt Head (2 Servos + I2C LCD + Remote)
AR-127Intermediate
Premium

Arduino IR Remote Pan-Tilt Head (2 Servos + I2C LCD + Remote)

A two-axis head you steer with a TV remote! The lower SG90 servo pans the head left and right, the upper one tilts it up and down, and every press of an arrow key on the infrared remote moves it one step. MENU + 1-3 stores up to three poses, a number key glides the head back to one, and PLAY patrols between them. An I2C LCD shows the angles, and the poses stay in EEPROM.

Raspberry Pi Pico W ISS Tracker (OLED World Map + Servo Pointer + Buzzer)
PI-50Intermediate
Premium

Raspberry Pi Pico W ISS Tracker (OLED World Map + Servo Pointer + Buzzer)

Where is the International Space Station right now? The Raspberry Pi Pico W fetches its position from the internet every 5 seconds; on a world map on the 0.96 inch OLED the station blinks, its past track is drawn solid and the path ahead dotted. An SG90 servo pointer shows which way the station is from your home, and when it is close an LED and the buzzer say "look up". A button switches to the people in space and the raw data; without data an orbit model keeps going.

Raspberry Pi Pico Step Counter: Pedometer (MPU-6050 + OLED + Buzzer)
PI-51Intermediate
Premium

Raspberry Pi Pico Step Counter: Pedometer (MPU-6050 + OLED + Buzzer)

See how smart watches count your steps, on your own circuit! The Raspberry Pi Pico reads the MPU-6050 accelerometer 50 times a second, smooths the signal and counts the peak each step makes. The 0.96 inch OLED shows steps, distance, calories and cadence, and a live graph page draws the raw signal, the average and the threshold on top of each other. At the goal the buzzer plays a tune, and the count is saved to flash.

ESP32 Automatic Cat Toy (PIR + 2 Servos + LDR + Buzzer)
ES-63Beginner
Premium

ESP32 Automatic Cat Toy (PIR + 2 Servos + LDR + Buzzer)

Keep your cat busy while it is home alone! When the PIR sensor spots the cat, the buzzer chirps like a bird and a feather wand on two SG90 servos moves like prey: mouse dash, hide and seek, zigzag, circle and bug jitter. A game lasts one minute, then the toy rests; when the LDR sees darkness it never plays at night. The moves come from the ESP32's hardware randomness, so the cat cannot learn them.

5.0(1)
ESP32 Camera Gimbal (MPU-6050 + 2 Servos + OLED)
ES-64Intermediate
Premium

ESP32 Camera Gimbal (MPU-6050 + 2 Servos + OLED)

Discover the secret of phone gimbals yourself! As the handle tilts, the MPU-6050 measures the angle and two SG90 servos turn the opposite way to keep the platform on top level. The angle is worked out 200 times a second with a complementary filter that blends gyroscope and accelerometer. The 0.96 inch OLED draws an artificial horizon like an aircraft gauge, and one button switches between LOCK, FOLLOW and CENTER.

Raspberry Pi Pico Secret Knock Lock (SG90 Servo + 2 Buttons + 2 LEDs + Buzzer)
PI-55Beginner
Premium

Raspberry Pi Pico Secret Knock Lock (SG90 Servo + 2 Buttons + 2 LEDs + Buzzer)

The password is a rhythm, not a number: knock the right pattern on the lid and the latch lifts! The Raspberry Pi Pico times every knock, scales each gap to the longest one and compares the result with the saved rhythm, so knocking fast or slow makes no difference. When it matches, an SG90 servo lifts the latch, a green LED lights up and a buzzer plays a "ta-da"; 3 wrong tries in a row make the lock wait 10 seconds. While it is open, hold RECORD to save your own rhythm.

Raspberry Pi Pico Single-Hand Cuckoo Clock (2 SG90 Servos + 2 Buttons + Buzzer)
PI-57Intermediate
Premium

Raspberry Pi Pico Single-Hand Cuckoo Clock (2 SG90 Servos + 2 Buttons + Buzzer)

Grandma's cuckoo clock, rebuilt with cardboard and two servos! The Raspberry Pi Pico keeps the time itself; one SG90 servo turns a single hand across a half-circle dial, the other pops the bird out of its door as many times as the hour, and a buzzer plays a two-note call. There is one call on the half hour, and from 22:00 to 07:00 the bird comes out silently. Two buttons set the time; in DEMO mode an hour passes in 10 seconds.

Raspberry Pi Pico Reverse Corner Brain Game (6 LEDs + 4 Buttons + Servo + Buzzer)
PI-59Beginner
Premium

Raspberry Pi Pico Reverse Corner Brain Game (6 LEDs + 4 Buttons + Servo + Buzzer)

Green means press the same way, red means the opposite way, and a "boom" means don't press at all! A 20-second focus and reflex game on the Raspberry Pi Pico: one of 4 yellow LEDs in a plus shape shows the direction, the green or red LED in the middle shows the rule, and you answer with 4 buttons. The answer time shrinks with every hit and traps test your finger. The score climbs on a servo needle dial, from TURTLE to LIGHTNING.

ESP32 Card Dealing Robot (2 Servos + I2C LCD + Buzzer)
ES-68Intermediate
Premium

ESP32 Card Dealing Robot (2 Servos + I2C LCD + Buzzer)

Let a robot deal the cards on game night! A turntable servo turns to the next player, a pusher arm servo slides the top card off the deck, and the buzzer clicks for every card. It knows Pişti and Batak, two classic Turkish card games, plus a colour-matching card game with 7 cards each and one face-up card, for 2–4 players with a random first player and pause, cancel and speed control. The I2C LCD shows who gets which card and what is left in the deck.

Arduino Tower Crane (NEMA 17 Stepper Motor + A4988 + Servo + Joystick + I2C LCD)
AR-135Intermediate
Premium

Arduino Tower Crane (NEMA 17 Stepper Motor + A4988 + Servo + Joystick + I2C LCD)

A desktop tower crane: a NEMA 17 stepper on an A4988 driver turns the tower on a speed ramp, an SG90 servo lowers and raises the hook, and a joystick is the operator lever. Rotation stops at ±170°; while the tower slews, a yellow beacon flashes and the buzzer goes "beep-beep". The joystick button saves 3 stops; a long press lets the crane carry the load alone, and a touch on the lever means STOP. The I2C LCD shows angle, hook depth and stops.

ESP32 Snack Vending Machine (Keypad + I2C LCD + 3 Servos + Buzzer)
ES-69Intermediate
Premium

ESP32 Snack Vending Machine (Keypad + I2C LCD + 3 Servos + Buzzer)

A mini school canteen vending machine on your desk! The 1 and 5 lira buttons add credit, you pick a snack on the 4x4 keypad, and with enough credit that shelf's servo swings a pusher arm and drops it. Change comes in the fewest coins on the I2C LCD, with a jingle per coin. It counts in Turkish lira and is easy to switch to your own coins; a service code opens refill, sales report and prices.

Raspberry Pi Pico W Remote-Unlock Gift Box (SG90 Servo + LED Ring + MQTT + Buzzer)
PI-65Intermediate
Premium

Raspberry Pi Pico W Remote-Unlock Gift Box (SG90 Servo + LED Ring + MQTT + Buzzer)

Lock the present in a box and keep the key on your phone! The Raspberry Pi Pico W holds the lid shut with an SG90 servo latch; when the right code arrives from any MQTT app on your phone, the box opens with a tune and fireworks burst across the 24-LED ring. Add a time lock if you like: the box gets the time from the internet, stays shut until midnight on New Year's Eve and counts down on the ring. Three wrong codes mean a 60-second lockout.

ESP32 PID Ball and Beam (HC-SR04 + Servo + I2C LCD + 3 Potentiometers)
ES-71Advanced
Premium

ESP32 PID Ball and Beam (HC-SR04 + Servo + I2C LCD + 3 Potentiometers)

The classic control engineering experiment on your desk: a servo tilts a beam and PID holds the ball on target. Three potentiometers change Kp, Ki and Kd live: with P alone the ball swings, D damps it and I cancels the beam's slight lean so the ball lands right on target. The I2C LCD shows the beam, ball and target, plus settling time and overshoot. In SIM mode a physics model rolls the ball; in REAL mode an HC-SR04 measures it.

Blog

Other topics