Please help me guys

Hi there
Rishon here

I've been selected for the INSPIRE Science award competition in my country India. Therefore I planned and I've been researching for days. Finally I ordered the parts, and finished the build.

Its a robot, that helps the blind people to move safely, avoiding obstacles. But I've faced a couple of problems in making it work.

I've paired an Arduino Uno R3 to a L293D Motor Shield. I've also connected an Ultrasonic Sensor, and a servo motor, for full range of movement. The Motor Shield is connected to 4-geared DC Motors. I've written a code with help of resources from the internet. I compiled and verified the code, to see that all was okay.

When I connected the Arduino to my computer, everything was fine and the code uploaded successfully. But things were now getting strange. Every time I kept an obstacle in front of the sensor, (the servo motor should turn extremely right and left, finding a path) the servo motor, only turned right and then the Arduino unexpectedly disconnected and reconnected again from the computer. This happened several times. I thought that this was because of a faulty USB cable.
But when I connected the Arduino Uno to a external USB travel adapter, the robot worked normally.

So, I came to a conclusion that, If I supply the robot with an external power supply, then it would work. Therefore, I connected the robot with 3 18650 Batteries each supplying 3.7v in series.

But then I faced a another problem. I started the robot, this time with an external power supply (batteries - 11.1v). The robot started to work, but suddenly stopped after a minute. I could see that the lights were on but nothing was working. So I switched off the robot and I found that the Arduino Uno was getting as hot as coal. Then I understood that excessive power supply was the problem. But if I supply the robot with under this voltage rating the motors wont' spin. I am stuck in an Stucky situation. Please help.

@rishon404

Your topic was moved to its current location as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

It will help you get the best out of the forum in the future.

Thank you

Hello, do yourself a favour and please read How to get the best out of this forum and updaye your thread accordingly (including code tags and necessary documentation for your ask).

TL;DR
Provide a short version.

If the arduino gets hot, it is not excessive power supply... it is excessive power use...
Share a wiring diagram and code...

What is powering the servo?

The Arduino is not a power supply. High current loads like motors, relay coils, servos and such must have their own power supplies with the right voltage and able to supply sufficient current.

Please supply detailed wiring diagram. Hand drawn, photographed and posted is fine.

The Motor Shield

I think the motors are using too much of current from the motor shield.

What powers the motor shield?

Most of the problems are solved. But I still have one more problem. The motors aren't spinning at all. When I power up the robot with 11.1v 3000mah batteries, they do take a left turn, but then they halt and do nothing.

3 18650 Batteries, each 3.7v - 3000mah rated connected in series.

Please supply detailed wiring diagram. Hand drawn, photographed and posted is fine.

Yea sure :slight_smile:

Strange problem. I see this from Google: "Some types of 18650 have been modified adding either a button top and/or internal protection circuit. This can increase the physical length of an “18650” battery from 65mm to 70mm or
in certain cases even longer. ".
Is this your case? How long ago did you charge the batteries?

I will soon upload the code as well

The code.

Well, I've never charged them. They are fully charged, from the time I bought them from my local electronics shop

Not very likely. Charge them an try again.

Okay. I will try charging them

Yea sure :slight_smile: