Welcome to Kerala Project Center.
Image: June 1978 NCC maze Contest.jpg by MoonlightDoubleE via Wikimedia Commons, CC BY 4.0
Simple obstacle-avoiding robots react to whatever's directly ahead, but a maze genuinely tests decision-making — the robot has to choose a direction at every junction and know when it's found a dead end.
This project builds an autonomous robot that uses IR sensors to detect walls on its left, right, and front, applying a wall-following algorithm (commonly "always turn left" or right-hand-rule logic) to systematically explore and solve a maze without any human control.
// Simplified left-hand wall-following maze solver - Arduino
int irFront = 2, irLeft = 3, irRight = 4;
void setup() {
pinMode(irFront, INPUT);
pinMode(irLeft, INPUT);
pinMode(irRight, INPUT);
}
void loop() {
bool wallFront = digitalRead(irFront) == HIGH;
bool wallLeft = digitalRead(irLeft) == HIGH;
bool wallRight = digitalRead(irRight) == HIGH;
if (!wallLeft) {
turnLeft(); moveForward();
} else if (!wallFront) {
moveForward();
} else if (!wallRight) {
turnRight(); moveForward();
} else {
uTurn(); // dead end
}
}
Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working
2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012
+91 9633118080