How many LED/relays can Arduino control

How many LED or relays can Arduino control individually? How many LED or relays can connect to Arduino?

Answer

Basically, the number of LED or relay can connect to Arduino is equal to the number of arduino digital pins plus analog input pins. For example, Arduino Uno has 14 digital pins (D0 to D13) and 6 analog input pins ⇒ Arduino Uno can control up to 20 LED or relays.

You can also use a I/O Expanders (e.g PCF8574T) to increase the number pins that Arduino can control LED/Relay

Please note that, try to avoid using pin D0 and D1 Because these pins are used for Serial communication with Arduino IDE

You can learn about relay and Arduino in Arduino - Relay tutorial

You can learn about LED and Arduino in Arduino - LED tutorial

Buy Arduino

1 × Arduino UNO Buy on Amazon
1 × USB 2.0 cable type A/B Buy on Amazon
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

The Best Arduino Starter Kit

※ OUR MESSAGES