G’day,
I am trying to make an obstacle avoiding robot using an R-Pi Pico, a Kitronik Motor Driver Board for the Pico, and an HC-SR04 ultrasonic sensor. When its powered by a USB connected to my computer, the HC-SR04 works fine and returns a distance. However; when its powered from a battery it does not. I used a multimeter and confirmed there’s voltage to it when its powered by the battery, the same voltage as when its powered by the USB. Any ideas why it might not be working?