SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By mysparkfun71451
#211697
Can I cross connect digital pins to analog pins on the RedBoard Artemis (DEV-15444)? I am setting the voltage on the D+ and D- wires of a USB cable with connections to digital pins that are configured as OUTPUTs for voltages of 0 or 3.3V or INPUTs for a floating state between 0 and 3.3V that is set by a voltage divider circuit. I want to monitor the voltage on the D+ and D- wires by connecting them to analog pins configured as INPUTs and then using analogRead() and Serialprint() to display the values. This will result in a cross connection between the digital and analog pins. The USB cable is providing power to the RedBoard via connections to VIN and GND.
User avatar
By TS-Chris
#211905
It's not anything we've tried, but as long as your analog pins are configured as an analog input only, I don't see an issue. It might be a good idea to pop a 10K resistor in between the analog and digital pins just in case you accidentally set them to an output while they are connected to 3.3 volts from another pin.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum