Skip to main content
4 events
when toggle format what by license comment
Apr 1, 2019 at 12:40 comment added marcelm The app note in question is Atmel AN2508 by the way. It should be noted that (unlike datasheets), app notes should be considered more of a suggestion, not an authority. But hey, it gives us a ballpark figure to work with.
Mar 31, 2019 at 19:37 comment added Neil_UK @marcelm thanks for checking. Looks like 1mA it is then. 20kohms should be enough to limit the maximu current to 1mA if we assume the input could blip to +24v.
Mar 31, 2019 at 19:01 comment added marcelm "It would be prudent to check how much current the Uno input can accept without damage when the voltage exceeds the rail..." - That's going to be very little; any overvoltage will be shunted by the ESD protection diodes to VCC, and those diodes are not very beefy. Abuse may render them shorted (as they are on one of the ATMEGA328Ps I have here), killing that pin and possibly the MCU. I recommend external clamping for good protection. I've never found an official figure for the current capabilities of those diodes, but an Atmel app note suggested staying below 1mA.
Mar 31, 2019 at 6:09 history answered Neil_UK CC BY-SA 4.0