Skip to main content
Arduino

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Analog read negative voltage inbuilt protection

I'm trying to read a -10 to +10V analog signal on my Arduino Mega (2560). I've been using a voltage divider to obtain a -5V to +5V signal (with two 10kOhm resistors), which used to work just fine. I'm wondering if this -5V signal can damage the Analog Input pins of the Mega ?

Thank you in advance for your time !

Answer*

Draft saved
Draft discarded
Cancel
4
  • +1 for finding that important spec buried inside an obscure application note. Commented Sep 22, 2016 at 14:47
  • Well, it wasn't me: Max current for AVR IO protection diodes on AVRFreaks. I've seen that thread before so it wasn't so hard. Commented Sep 22, 2016 at 14:54
  • It should be noted that the voltage divider is Thévenin equivalent to a ±5 V source with 5 kΩ output resistance. Thus the max current is (5 V − 0.7 V) ÷ 5 kΩ = 0.86 mA. This is assuming a 0.7 V drop in the diode. Commented Sep 22, 2016 at 14:56
  • 2
    The pin might not be damaged, but he will never read anything on the negative side of the signal.... Commented Sep 22, 2016 at 17:37

AltStyle によって変換されたページ (->オリジナル) /