Connecting Pin 5V To A0 - General Electronics - Arduino Forum
Maybe your like
Hello boys,
Can I connect a resistance directly between 5V and A0 of the board and reed the output ? Or will it burn the arduino ?
Thanks, Preacher
1 Like system April 18, 2019, 7:39am 2Can I connect a resistance directly between 5V and A0 of the board and reed the output ?
You can put 5V into an analog pin even without a resistor: it's meant to tolerate thet.
When you put a potentiometer across 5V and 0V and the wiper to analog pin, which is a very common thing to do, and turn the pot to one extreme, you are actually connecting the pin to 5V anyway.
Preacher752 April 18, 2019, 7:45am 3neiklot: When you put a potentiometer across 5V and 0V and the wiper to analog pin, which is a very common thing to do, and turn the pot to one extreme, you are actually connecting the pin to 5V anyway.
Fair enough. Thanks for the answer, Best to save...
system April 18, 2019, 7:57am 4What are you actually trying to do?
pert April 18, 2019, 8:19am 5Note that the allowable voltage range of the analog input depends on what voltage the microcontroller is running at. Most of the common AVR-based Arduino boards (e.g. Uno, Mega, Leonardo, Nano) run at 5 V and can take up to 5 V input to the analog pins. Other Arduino boards run at 3.3 V (e.g. Zero, MKR) and subjecting their analog pins to 5 V could cause damage.
DVDdoug April 18, 2019, 5:27pm 6Can I connect a resistance directly between 5V and A0 of the board and reed the output ? Or will it burn the arduino ?
It should read 1023 assuming the "5V" is exactly equal to (or slightly higher than) the power supply/reference.
The input can range between zero and Vcc (usually 5V). The datasheet for the ATmega chip says the "absolute maximum" is -0.5V or Vcc+0.5V.
Do you meant the "output" of the resistor? The Arduino has an input impedance of approximately 100 meghoms (essentially infinite impedance/resistance) so any "reasonable value" resistor won't give you a voltage drop and you'll just be reading 5V.
A resistor (along with the protection diodes built into the chip) will provide some over-voltage protection.
thegoodhen April 21, 2019, 8:15pm 7You're fine, unless the resistor is a low value and you accidentally set A0 to be an output, as opposed to input.
LarryD April 21, 2019, 10:07pm 8And of course you would ‘never’ connect 5v to A0 if A0 was every made an output.
Grumpy_Mike April 22, 2019, 6:41pm 9Beginners often think that a single resistor will drop a voltage across it. It will not.
To drop a voltage you need current through it and if you simply connect a resistor of what ever value to between 5V and a measuring device you will see 5V.
Cue for pedantic idiots to say well if you use a 100M resistor you will see a change. Please try and resist.
BabyGeezer April 23, 2019, 1:10am 10Grumpy_Mike: Beginners often think that a single resistor will drop a voltage across it. It will not.
To drop a voltage you need current through it and if you simply connect a resistor of what ever value to between 5V and a measuring device you will see 5V. ...
so... for example a resistor at an op-amp input will have the same voltage at either end of itself ?
Grumpy_Mike April 23, 2019, 9:15am 11BabyGeezer: so... for example a resistor at an op-amp input will have the same voltage at either end of itself ?
Given no other connections to that input then yes.
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| Arduino Due I/O voltage tolerance on A0 Due | 3 | 1300 | May 6, 2021 |
| What will the voltage be at my input pin? Frequently-Asked Questions | 6 | 1595 | May 6, 2021 |
| [Solved]Read voltage across a resistor and use it as an input to an anlog pin. General Electronics | 12 | 9863 | May 6, 2021 |
| Connecting 5V to the A0 pin General Electronics | 4 | 128 | December 19, 2024 |
| Analog input, series resistor needed? General Electronics | 8 | 17124 | May 6, 2021 |
Tag » Arduino Analog Pin 5v Output
-
¿Really 5V OUTPUT From Analog PIN? - Arduino Forum
-
Measuring 5V Power Using Analog Pins - Arduino Forum
-
Arduino Uno - Analog Pin With Constant 5V
-
AnalogRead() - Arduino Reference
-
Maximum Current/Voltage Into An Analog Pin On An Arduino Uno
-
Voltage On Analog Pin Always 5V - Sensors - Arduino Forum
-
Output 0V To 5V With Arduino - Project Guidance
-
If You Hook A 5v Arduino Digital Output Pin To An Analog Input ... - Quora
-
Arduino Uno
-
[PDF] Scaling Of Arduino Analog Input Readings - Sparkfun
-
How To Use Arduino's Analog And Digital Input/Output (I/O) - Projects
-
The Basics Of Arduino: Reading Voltage - Device Plus
-
Arduino Nano - Components101
-
Arduino Uno (R3) - ShareTechnote