Arduino Digital Pin not Outputting more than 0.05 mA

Hello!

I am trying to send a 5v signal from my Arduino Uno R3 to a stepper motor driver (TB6560 V2 http://www.ribu.at/PDF/Tb6560.pdf) to reverse the direction of my bipolar stepper motor.

When I use an external power supply, I am able to send a the 5v signal at 13 mA, and it works without a hitch. But when I try to use the digital output pin on my Arduino, it sends the 5v signal at 0.02 mA after writing the digital pin to HIGH. The Arduino is powered externally by a 24V (regulated to 5V) 5A power supply, and commands are received serially from my laptop. The Arduino is also pulsing the motor driver (5v, 6mA) and powering an amplifier for a load cell (5v, 17mA).

From my understanding, sending a 5v signal at 13mA should be no issue, since I'm using less than the composite 200mA rating for Ard. Unos and less than the individual pin rating of 40mA. Then, what may be the issue here?

If more detail is needed, please let me know. This may very well be trivial; if so, I'm sorry for asking. I'm one month into the world of electronics, so this is all very new.

-Brady

(deleted)

Yes, that was exactly the issue. I accidentally set one of the pins to OUTPUT twice and neglected the one I was having issues with. It all works now. Thanks for the help!

Did you forget to set the pinmode pinMode()of the pin to output?

I was going to ask to see the code but sounds like someone has had the same issue in the past...

Most of us know the answer the moment we read that subject line! :sunglasses: