PROBLEMS Using HC SR04 with motors

Hi all,
I am new to arduino and hardware.I am trying to control a robot using an ultrasonic sensor,along with a 9v and 5v dc motor(with IC-L293D).However, the ultrasonic sensor dosent give any readings when connected in circuit with motor..I am using the 5v output on the Uno to power the IC for logic interpretation.
My Uno is powered using a 9v HIGH-WATT 500mAh BATTERY through the power jack

The motors are powered by a 9v Battery..

Thanks..

Here is the Schematic:
Please correct me in case I am wrong in any symbols.

IMG_20171019_174056[1].jpg

You only notice the Uno supply, how do you power the motors? Circuit diagram?

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks Tom.. :slight_smile: