I am making a car with an Arduino and I have some problems. After I finished the code, I tried to send it to the car with the USB connector and everything was fine. But at the time of changing the source with an independent battery, the result was not the same. I think it detected wrong data with the sensors and only do one routine.
I do not know what could cause this, because from my point of view the battery and the USB source must be the same.
If somone could help me!
Thank you in advice,
PD: I am sorry for my level of English.