I have a special breakout board that breaks out pins from an Arduino Mega to eight ethernet jacks (8P8C jacks). Each jack breaks out 6 pins of the Mega.
When I designed the breakout board, I didn't imagine that I might want to split analog pins across ALL 8 of the jacks. Currently they are all connected to only three of the jacks, and the other jacks get digital-only pins.
So I'd like to make some analog inputs available to more than just 3 of the jacks, and as a quick fix I'd like to just jumper some of these analog pins over to other 8P8C jacks, to make analog input available to more than just 3 of these jacks.
So my question is this: let's say I want to measure an analog voltage, but that voltage is only available at one of the digital pins. Can I short out that digital pin with an analog pin, and read the voltage on the analog pin? Obviously I know I will no longer be able to use the digital pin for any function purpose.
For the sake of interest, here's the board I'm talking about:
This is the important bit,.
Microcontrollers are fun and all that, byt you still have to understand signal loading on pins as they interact with the wider world!.
Electronics 102
To a lesser extent, in other ways, you also need to consider capacitance and inductance between unconnected signal lines.
Digital signals are ‘electrical ‘signals, subject to the laws of physics- just like analog signals,
@lastchancename - Is there also the condition needing an external VREF so each pin is measured against the reference, because Arduino "measuring itself" would give an invalid reading? Asking for a friend.