A motorised wiper that cleans the board on command.
Built and tested by Drisya K S · Industrial Robotics Institute
Arduino IDE, Blynk (optional)
An automatic board cleaner for classrooms. A wiper mounted on the board is driven by a DC motor through an L298N driver. When the ESP32 receives the "clean" command, the motor runs the wiper across the board for 5 seconds and stops, saving time and reducing chalk dust.
| Component | Qty |
|---|---|
| ESP32 Dev Board | 1 |
| DC Motor (geared) or Servo | 1 |
| L298N Motor Driver Module | 1 |
| Cleaning Wiper Mechanism | 1 |
| Jumper Wires / Breadboard | As needed |
| 12V Power Supply (motor) | 1 |
| 5V Power Supply (ESP32) | 1 |
| From | Connect to |
|---|---|
| L298N IN1 | GPIO 26 |
| L298N IN2 | GPIO 27 |
| L298N VCC | 12V |
| L298N GND | GND (common with ESP32) |
| Motor | L298N OUT1 & OUT2 |
Complete, tested Arduino C++ code for this project. Copy it into Arduino IDE and upload it to the ESP32.
#define IN1 26
#define IN2 27
void setup() {
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
Serial.begin(115200);
}
void loop() {
if (Serial.available()) {
String command = Serial.readStringUntil('\n');
command.trim();
if (command == "clean") {
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
delay(5000); // cleaning time
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
Serial.println("Cleaning done");
}
}
}An automatic board cleaner for classrooms. A wiper mounted on the board is driven by a DC motor through an L298N driver.
You need: ESP32 Dev Board (1), DC Motor (geared) or Servo (1), L298N Motor Driver Module (1), Cleaning Wiper Mechanism (1), Jumper Wires / Breadboard, 12V Power Supply (motor) (1), 5V Power Supply (ESP32) (1). Software: Arduino IDE, Blynk (optional).
It is rated intermediate and takes about 3–4 hours to build, using the ESP32. The guide on this page explains every connection and step.
The complete, tested Arduino C++ code is free on this page. Copy it into Arduino IDE and upload it to the board.
Yes. IRI sells a kit with the parts for this project (PRJ-165). Message IRI on WhatsApp at +91 86060 82634 for the kit price and delivery details.