I have a arduino set below:


Now, I am expecting 1.2mA current flow through the pin that is set as output. Is that accepted? If so, what it the max current a pin can sink?

The current comes from a pul up resistor on the line

note: I can't protect it with a diode.

  • wouldn't INPUT allow more current?
    – dandavis
    Nov 9 '17 at 7:00
  • yes it would, but Really what I'm doing in toggling between input and output LOW. The goal is to toggle the node from 0V to 3.3V.
    – Ryan B.
    Nov 11 '17 at 16:08

Ok, I just found it.

from the arduno docs:

Atmega pins set aa output can source (provide positive current) or sink (provide negative current) up to 40 mA (milliamps) of current to other devices/circuits.

  • 6
    That's the absolute maximum rating. Recommended is 20mA Nov 8 '17 at 22:11

Yes it can. This blog post of mine will help to explain it.

In short:

It’s all so simple now, isn’t it? The output pin is just like a switch that either connects it to 5V or to ground.


can arduino on output mode sink current?


from the arduno docs:

the datasheet for the particular device is the best place for that answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.