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

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]