Project ideas by part

Projects with an L298N motor driver

9 Mokxi projects use an L298N motor driver (2 beginner, 4 intermediate and 3 advanced). They run on Arduino Uno boards. Here are all of them, from “Linear actuator out and back” to “Hand gesture controlled car”. 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 “Linear actuator out and back”, a beginner project that needs an L298N motor driver and a linear actuator.
  • All of them run on an Arduino Uno, so that is the one board you need.
  • The parts used most here are the 2WD robot car chassis (7 projects), the photoresistor module (2) and the servo motor (2). With those on hand, most of this list is open to you.
  • Before you build one on a real bench, read the L298N motor driver wiring guide for your board below. It gives every pin and the voltage notes.
Projects

9 projects ready to run

  • Linear actuator out and back, drawn in the Mokxi editor

    Linear actuator out and back

    A 12 V linear actuator on an L298N from pins 8 and 9 runs out for 12 s and back for 12 s. Its own limit switches stop it at each end.

    Board
    Arduino Uno R3
    Parts
    L298N motor driver, linear actuator
    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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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