Welcome to Kerala Project Center.
Physical retail stores are under constant pressure to keep the in-store experience convenient enough to compete with online shopping. One small but real friction point is the shopping trolley itself — pushing a heavy cart through aisles while also picking items, checking a list, and managing children or bags is tiring, and customers with mobility limitations can be discouraged from shopping in person at all.
This project builds a motorized trolley that automatically follows the customer through the store instead of being pushed. An IR sensor array reads a lane/path-guidance signal to keep the trolley oriented correctly through aisles, while ultrasonic sensors continuously measure the distance to the customer walking ahead and adjust motor speed to keep a fixed, safe following gap — speeding up, slowing down, or stopping as the customer does.
// Simplified follow-distance control — Arduino
#define TRIG 9
#define ECHO 10
#define MOTOR_A 5
#define MOTOR_B 6
long readDistanceCM() {
digitalWrite(TRIG, LOW); delayMicroseconds(2);
digitalWrite(TRIG, HIGH); delayMicroseconds(10);
digitalWrite(TRIG, LOW);
long duration = pulseIn(ECHO, HIGH);
return duration * 0.034 / 2;
}
void setup() {
pinMode(TRIG, OUTPUT);
pinMode(ECHO, INPUT);
pinMode(MOTOR_A, OUTPUT);
pinMode(MOTOR_B, OUTPUT);
Serial.begin(9600);
}
void loop() {
long dist = readDistanceCM();
Serial.println(dist);
if (dist > 80) {
analogWrite(MOTOR_A, 0); analogWrite(MOTOR_B, 0); // too far / lost - stop
} else if (dist > 40) {
analogWrite(MOTOR_A, 150); analogWrite(MOTOR_B, 150); // catch up
} else if (dist > 20) {
analogWrite(MOTOR_A, 90); analogWrite(MOTOR_B, 90); // hold gap
} else {
analogWrite(MOTOR_A, 0); analogWrite(MOTOR_B, 0); // too close - stop
}
delay(100);
}
Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working
2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012
+91 9633118080