My robot make noise when he is stuck.

Hello,

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: https://www.amazon.com/uxcell-Yellow-Black-Single-Geared/dp/B00BG7PFVA

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.

Thanks!

Have you tried “Shhhhhh” ?

Could be the PWM frequency vibrating the motor windings?

TheMemberFormerlyKnownAsAWOL:
Have you tried "Shhhhhh" ?

shhhhh?

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

franksecurity,

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

Cheers,
Kari