Arduino doesn't work properly after disconnection from pc

i made a fire-fighting car using Arduino and l293d with other components, it works well when I give power through an Arduino cable. but when I give it power through jack or pin(5v GNd or vcc GND) then it works randomly .

Please post your full sketch and a schematic showing how your project components are powered

1 Like

@thealoksingh ,

I have deleted your questions on the same subject on another topic. Please do not add your questions to someone else's topic and do not duplicate your questions, doing so wastes the time of the volunteers helping you.

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

1 Like

Your frizzy picture has a lot of problems, wires not connected, termination indeterminate, which arduino which is not in the frizzy and parts unknown. An annotated schematic would be much better to help you debug your circuit as would links to technical information on all the hardware items. Schematics is the language of electronics, not fuzzy pictures.

If that is a motor shield there are more than one. Links to technical information never hurts and can only help.

i guess you haven't used this type of l293d that why you are talking about arduino .this motor driver is placed at the top of arduino. and what is problem if lines are not straight its clear you can undertand easily if you'll try to understand. and there no problem in code because code is running well during pc connection

sorry for that but please don't delete .if you have authority please change the topic

Hello,
I don't understand what you are asking me to do. You have this topic, I don't intend to do anything with it. You also posted at the end of other people's topic, I have deleted those comments.

sorry but i asked him because if he has solved that he can easily help me. he knows that problem i'm facing right now.

In which case after you created your own topic add a comment inviting the person you want to help you to see the topic by adding @ followed by their username, for example @thealoksingh

Add capacitors, and make sure your battery pack has enough mA capacity to begin with.

image

1 Like

ok i'm trying

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.