Robots

Robot projects for Arduino and ESP32

These are the projects with a robot chassis or a robot arm in the circuit, or a robot in the name. You will find cars, arms, walkers and a hexapod. Mokxi has 27 of them (2 beginner, 13 intermediate and 12 advanced). Here are 24, from “Robotic hand with flex sensors” to “Wheel-encoder square driver”. 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 “Robotic hand with flex sensors”, a beginner project that needs a servo motor and a flex sensor.
  • Most of them are intermediate projects. Pick one a level below what you think you can do, finish it, then move up.
  • The parts used most here are the 2WD robot car chassis (14 projects), the L298N motor driver (8) and the servo motor (8). With those on hand, most of this list is open to you.
  • Start with a car that only drives forward and stops, then add one sensor at a time. The bugs in a robot are almost always in the last thing added.
Projects

24 projects of 27

  • Robotic hand with flex sensors, drawn in the Mokxi editor

    Robotic hand with flex sensors

    Robotic hand with flex sensors on an Arduino Mega: five flex sensors on a glove move five servo fingers, and the Serial Monitor names the gesture.

    Board
    Arduino Mega 2560 R3
    Parts
    Servo motor, flex sensor
    Level
    Beginner
    Open in the simulator
  • Light-seeking robot, drawn in the Mokxi editor

    Light-seeking robot

    A two-wheel robot with a photoresistor module on each front corner.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, photoresistor module
    Level
    Beginner
    Open in the simulator
  • Joystick robot car with an L298N, drawn in the Mokxi editor

    Joystick robot car with an L298N

    A thumb stick on A1 and A2 drives a 2WD car on an L298N like a tank: throttle plus steer on one wheel, minus on the other, and a press for slow mode.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, joystick
    Level
    Intermediate
    Open in the simulator
  • Bumper car, drawn in the Mokxi editor

    Bumper car

    A 2WD robot car on a DRV8833 with two lever microswitches for bumpers. It drives until a bumper is hit, then backs off and turns away from that side.

    Board
    Arduino Uno R3
    Parts
    DRV8833 motor driver, 2WD robot car chassis, limit switch
    Level
    Intermediate
    Open in the simulator
  • Bluetooth RC car with an HC-05, drawn in the Mokxi editor

    Bluetooth RC car with an HC-05

    An HC-05 and a 2WD car on an L298N: type F, B, L, R or S in the module’s box, as a phone app sends them, and the car drives; 0 to 9 set the speed.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, HC-05 Bluetooth module, resistor
    Level
    Intermediate
    Open in the simulator
  • Obstacle-avoiding car, drawn in the Mokxi editor

    Obstacle-avoiding car

    A 2WD robot car on an L298N with an HC-SR04 on the front. It drives ahead, and when something comes within 25 cm it backs up, turns and carries on.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, HC-SR04 ultrasonic sensor
    Level
    Intermediate
    Open in the simulator
  • TB6612 robot drive, drawn in the Mokxi editor

    TB6612 robot drive

    Two gearbox motors on a TB6612FNG from a four-AA pack, with the SparkFun library: forward, half speed, a spin, reverse, a brake and standby.

    Board
    Arduino Uno R3
    Parts
    TB6612FNG motor driver, DC motor, battery: AA
    Level
    Intermediate
    Open in the simulator
  • Sumo robot, drawn in the Mokxi editor

    Sumo robot

    A mini-sumo robot with an ultrasonic eye and two edge sensors.

    Board
    Arduino Uno R3
    Parts
    DRV8833 motor driver, 2WD robot car chassis, HC-SR04 ultrasonic sensor, TCRT5000 line sensor
    Level
    Intermediate
    Open in the simulator
  • Infrared remote rover, drawn in the Mokxi editor

    Infrared remote rover

    A two-wheel robot driven from a 21-button infrared remote.

    Board
    Arduino Uno R3
    Parts
    MX1508 dual motor driver, 2WD robot car chassis, IR receiver and remote, IR remote
    Level
    Intermediate
    Open in the simulator
  • Robot car drive, drawn in the Mokxi editor

    Robot car drive

    Two gearbox motors on an L298N module from six Uno pins: forward, a turn, a spin on the spot and reverse, with the speed on ENA and ENB.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, DC motor
    Level
    Intermediate
    Open in the simulator
  • Maze-solving robot, drawn in the Mokxi editor

    Maze-solving robot

    A two-wheel robot with three Sharp infrared distance sensors.

    Board
    Arduino Uno R3
    Parts
    DRV8833 motor driver, 2WD robot car chassis, IR distance sensor
    Level
    Intermediate
    Open in the simulator
  • Scanning obstacle rover, drawn in the Mokxi editor

    Scanning obstacle rover

    A robot with an ultrasonic sensor on a servo neck. Blocked, it stops, looks right, ahead and left, picks the clearest way and turns that way.

    Board
    Arduino Uno R3
    Parts
    TB6612FNG motor driver, 2WD robot car chassis, servo motor, HC-SR04 ultrasonic sensor
    Level
    Intermediate
    Open in the simulator
  • Factory 3: Robot arm, drawn in the Mokxi editor

    Factory 3: Robot arm

    A servo robot arm picks lumps off one belt and drops them on another. Tune its speed and grab time on two knobs and watch lumps get missed or slip.

    Board
    Arduino Uno R3
    Parts
    ILI9341 TFT display, servo motor, resistor, LED, piezo speaker, +1 more
    Level
    Intermediate
    Open in the simulator
  • Desk buddy robot, drawn in the Mokxi editor

    Desk buddy robot

    Animated robot eyes on a round GC9A01: it blinks and glances about, beams when you stroke it, gets dizzy when rocked and lonely when ignored.

    Board
    ESP32-C3-DevKitM-1
    Parts
    GC9A01 round display, MPU6050 accelerometer and gyro, touch sensor, photoresistor module, piezo speaker
    Level
    Advanced
    Open in the simulator
  • Robot arm inverse kinematics, drawn in the Mokxi editor

    Robot arm inverse kinematics

    Two knobs set where the claw should be in millimeters, and the Uno solves the shoulder and elbow angles with the law of cosines.

    Board
    Arduino Uno R3
    Parts
    Four-servo robot arm, potentiometer
    Level
    Advanced
    Open in the simulator
  • Mars rover, drawn in the Mokxi editor

    Mars rover

    A rover that drives three waypoints by dead reckoning, steers around hazards it sees with a sonar mast, samples soil and light.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, push button, SSD1306 OLED display, VL53L0X time-of-flight sensor, +3 more
    Level
    Advanced
    Open in the simulator
  • Arduino quadruped robot, drawn in the Mokxi editor

    Arduino quadruped robot

    Eight servos on a PCA9685 walk a four-legged robot through a creep gait: one foot lifts and swings forward at a time while the other three hold it up.

    Board
    Arduino Uno R3
    Parts
    Servo driver, servo motor
    Level
    Advanced
    Open in the simulator
  • Wireless robot arm with nRF24L01, drawn in the Mokxi editor

    Wireless robot arm with nRF24L01

    Two Unos and two nRF24L01 radios: joysticks on one board steer a four-servo arm on the other, with a failsafe that holds the arm when the link drops.

    Board
    Arduino Uno R3
    Parts
    NRF24L01+ 2.4 GHz radio, four-servo robot arm, joystick
    Level
    Advanced
    Open in the simulator
  • Pick and place arm on a PCA9685, drawn in the Mokxi editor

    Pick and place arm on a PCA9685

    A four-servo arm on a PCA9685 servo board with the Adafruit library: it picks a part up on one side, sets it down on the other and goes home.

    Board
    Arduino Uno R3
    Parts
    Servo driver, four-servo robot arm
    Level
    Advanced
    Open in the simulator
  • Hand gesture controlled car, drawn in the Mokxi editor

    Hand gesture controlled car

    Tilt an MPU6050 on your hand and a 2WD car follows over nRF24L01 radios: forward, reverse, left, right, and it stops when the signal is lost.

    Board
    Arduino Uno R3
    Parts
    NRF24L01+ 2.4 GHz radio, MPU6050 accelerometer and gyro, L298N motor driver, 2WD robot car chassis
    Level
    Advanced
    Open in the simulator
  • Fire fighting robot, drawn in the Mokxi editor

    Fire fighting robot

    Three flame sensors steer a 2WD car on an L298N to the fire, then a relay runs a water pump while a servo sweeps the nozzle until the flame is out.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, 2WD robot car chassis, flame sensor, servo motor, relay module, +1 more
    Level
    Advanced
    Open in the simulator
  • Factory 8: Logistics robot, drawn in the Mokxi editor

    Factory 8: Logistics robot

    A delivery robot plans a route around the machines with A* search, fetches crates and brings them to the depot.

    Board
    Arduino Uno R3
    Parts
    ILI9341 TFT display, joystick, push button, servo motor, resistor, +2 more
    Level
    Advanced
    Open in the simulator
  • Hexapod robot, drawn in the Mokxi editor

    Hexapod robot

    Twelve servos on a PCA9685 walk a six-legged robot with the tripod gait: three feet lift and swing forward while the other three hold it up.

    Board
    Arduino Uno R3
    Parts
    Servo driver, limit switch, servo motor
    Level
    Advanced
    Open in the simulator
  • Wheel-encoder square driver, drawn in the Mokxi editor

    Wheel-encoder square driver

    A two-wheel robot that counts pulses from a slot sensor on each wheel.

    Board
    Arduino Uno R3
    Parts
    L9110S motor driver, 2WD robot car chassis
    Level
    Advanced
    Open in the simulator