I'm new in this, I was using an ultrasonic sensor to move a car, I loaded the program to the arduino, I open "serial monitor" and the sensor data is displayed and the car moves.
The problem I have is that when I want to use an external source (a battery) the car does not move, apparently the sensor does not read any data. How could I solve this ?!