My robot make noise when he is stuck.


I am making a self exploring robot at the moment. He turns around sometimes, sometimes he moves to the left etc. But, when my robot is riding and his wheel is stuck behind a chair or something, the robot says: “PEEEEEEPPP”.

Motor Driver Shield: L293D MOTOR DRIVER SHIELD
Motor with wheel:

I do not know where the sound come from, but it is annoying if I want to move my robot for like 1h long(example).

In my code I use these libaries:
#include <AFMotor.h>
#include <NewPing.h>
#include <Servo.h>

Hopefully someone knows a command so I can turn the noise off.


Have you tried “Shhhhhh” ?

Could be the PWM frequency vibrating the motor windings?

Have you tried "Shhhhhh" ?


It is a cry for help. Don’t ignore it!


You are using secret code and secret circuits. There is no way to help you
unless you release the information.