Skip to main content
Fix typos
Source Link
per1234
  • 4.3k
  • 2
  • 24
  • 44

Problem With Runningwith running 2 DC Motorsmotors with Ultrasonic Sensorultrasonic sensor

I'm not expert in elc.electrical circuits, maybe I am making a very simple mistake or missing some basic points with my circuit.

What I'm trying to achiveachieve is simple, to run 2 dcDC motors with an ultrasonic sensor to detect obstacles and change direction. When I plugged offunplug the ultrasonic sensor everything is working fine as expected without obstacle detection but when I connect the ultrasonic sensor, sensor always responds with 0 cm distance. Then I removed 9v9 V battery from the circuit and plug ArduioArduino to computer via usbUSB, sensor works fine but motors are not working properly, it looks like the power from usbUSB is not enough to drive motors at the same time. I've added my circuit scheme below.

Any help or advice appraciated, Regards,:

Circuit Scheme

Problem With Running 2 DC Motors with Ultrasonic Sensor

I'm not expert in elc. circuits, maybe I am making a very simple mistake or missing some basic points with my circuit.

What I'm trying to achive is simple, to run 2 dc motors with an ultrasonic sensor to detect obstacles and change direction. When I plugged off the ultrasonic sensor everything is working fine as expected without obstacle detection but when I connect the ultrasonic sensor, sensor always responds with 0 cm distance. Then I removed 9v battery from the circuit and plug Arduio to computer via usb, sensor works fine but motors are not working properly, it looks like the power from usb is not enough to drive motors at the same time. I've added my circuit scheme below.

Any help or advice appraciated, Regards,

Circuit Scheme

Problem with running 2 DC motors with ultrasonic sensor

I'm not expert in electrical circuits, maybe I am making a very simple mistake or missing some basic points with my circuit.

What I'm trying to achieve is simple, to run 2 DC motors with an ultrasonic sensor to detect obstacles and change direction. When I unplug the ultrasonic sensor everything is working fine as expected without obstacle detection but when I connect the ultrasonic sensor, sensor always responds with 0 cm distance. Then I removed 9 V battery from the circuit and plug Arduino to computer via USB, sensor works fine but motors are not working properly, it looks like the power from USB is not enough to drive motors at the same time. I've added my circuit scheme below:

Circuit Scheme

Source Link

Problem With Running 2 DC Motors with Ultrasonic Sensor

I'm not expert in elc. circuits, maybe I am making a very simple mistake or missing some basic points with my circuit.

What I'm trying to achive is simple, to run 2 dc motors with an ultrasonic sensor to detect obstacles and change direction. When I plugged off the ultrasonic sensor everything is working fine as expected without obstacle detection but when I connect the ultrasonic sensor, sensor always responds with 0 cm distance. Then I removed 9v battery from the circuit and plug Arduio to computer via usb, sensor works fine but motors are not working properly, it looks like the power from usb is not enough to drive motors at the same time. I've added my circuit scheme below.

Any help or advice appraciated, Regards,

Circuit Scheme