Hi,
if Arduino has +5V one one of it's data pins that is set to become input, Arduino fails to be recognized as USB device, yet everything is fine if +5V is sent after connecting to USB. Is this normal or should I look for mistakes?
Background:
I'm trying to control a servo driver, it has a separate power supply connected. As a bit of surprise (no manual) came that it has "inverted logic", having +5V on input, needed to be pulled down to generate a step.
Arduino (Nano) needs to communicate with computer, so it's powered from USB. Arduino and stepper driver PSU grounds are connected. There's 150ohm resistor between Arduino data pin and servo driver clock pulse pin.
- If driver psu is powered first, and then Arduino is plugged into USB, win says - "USB device not recognized".
- If Arduino is connected first then the driver is powered - everything seems to work fine.