Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15514

Connecting additional power supply makes all digitalRead values HIGH

$
0
0

Sorry if this is the wrong category for the topic.

I'm using a servo driver board for a project where I'm controlling multiple servos. I made a little circuit that can select the specific servo with buttons and a joystick to control the servo's angle. When I am using just the board and the circuit on the breadboard, everything works fine. However, when I plug in my external power source (2 18650 lithium ion batteries) to the driver board, it starts reading all the digitalRead values as HIGH for the buttons and then promptly stops when I disconnect the external power, letting the board run on power from the USB cable plugged into my PC. Basically, the buttons are unusable when the power is attached because it keeps reading their values as HIGH. Why is this happening?

9 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 15514

Trending Articles