Notifications
Clear all

[Solved] Maximum current limitation of a digital pin on UNO

3 Posts
2 Users
1 Reactions
2,830 Views
0
Topic starter

Hey folks, I'm new to Arduino and tinkering with digital pins for a project. I'm trying to control a DC motor that I've hooked up to one of the digital pins. I've heard it's important to stay within the current limits of the pins, around 40mA per pin. Can someone confirm this for me? And also, what happens if I exceed this limit while powering the motor? Will it damage my board?


1 Answer
1

Yes, the current limit per pin is 40 mA(sink/source OR IN/OUT). However, this is the maximum absolute rating and you should not draw this much current continuously. The safe value is around 20-30 mA. It's better to use a DC motor driver like L293D or L298N for driving DC motors using Arduino.

I hope this helps.


Harper Harper Topic starter 15/05/2024 11:16 am

@ankunegi I want to control only one motor. Using a driver module is an overkill I guess. Is there a way to make it compact? Any other options?


Admin Admin 17/05/2024 5:28 am

You can use a transistor or a Mosfet. You would still need external supply though.


Share: