If you’re working on an Arduino project, one of the important questions you might be asking is: which ones are the PWM pins?
Our helpful table below covers this information for most common Arduino boards. Keep reading for more information about each of the boards.
|Board Model/s||PWM Pins|
|Arduino Uno, Nano or Mini||3, 5, 6, 9, 10, 11|
|Arduino Mega||2-13, 44-46|
|Arduino Leonardo, Micro, Yún||3, 5, 6, 9, 10, 11, 13|
|Arduino WiFi Rev. 2||3, 5, 6, 9, 10|
|Arduino MKR Boards||0-8, 10, A3 (18), A4 (19)|
|Arduino MKR1000 Wifi||0-8, 10, 11, A3 (18), A4 (19)|
|Arduino Zero||3-13, A0 (14), A1 (15)|
|Arduino 101||3, 5, 6, 9|
Arduino Uno, Nano or Mini
PWM Pins: 3, 5, 6, 9, 10, 11
The PWM pins for these three boards are the same, and there are a total of 6 of these pins on each board. If this is too few for your project, you might want to look at a beefier (but more expensive) board like the Arduino Mega.
PWM Pins: 2 – 13, 44 – 46
The Mega is a much bigger board than the well-known Arduino Uno, and has a total of 14 PWM pins. This can be useful for larger projects requiring more power, or simply more pins.
Arduino Leonardo, Micro, Yún
PWM Pins: 3, 5, 6, 9, 10, 11, 13
The Leondardo, Micro and Yún boards also share the same PWM pins. Especially handy to know if you have all three of them.
Arduino WiFi Rev. 2
PWM Pins: 3, 5, 6, 9, 10
This board is basically an Arduino Uno (it looks similar, too) but has a WiFi chip on-board. It’s got one less PWM pin than the UNO, so this might not be the board for you if you’re looking at using 6 of them.
Arduino MKR Boards
PWM Pins: 0 – 8, 10, A3 (18), A4 (19)
Arduino MKR1000 Wifi
PWM Pins: 0 – 8, 10, 11, A3 (18), A4 (19)
PWM Pins: 3 – 13, A0 (14), A1 (15)
The Zero is a 32-bit board and provides a dramatic increase in performance over other offerings in the Arduino range.
It’s important to note that, unlike most other boards on this list, the Arduino Zero only tolerates 3.3 volts. Running anything higher through the IO pins (PWM included) could cause damage to your board, i.e. fry it. Not good!
PWM Pins: 2-13
PWM Pins: 3, 5, 6, 9
The 101 board is now discontinued, but packed a lot of sensors and features right onto the board making it popular with hobbyists and tinkerers. Don’t get it confused with the Arduino Uno – they both look similar, but have very different PWM pin configurations.
Arduino PWM FAQs
What does PWM mean?
PWM stands for Pulse Width Modulation. PWM essentially switches a digital signal on and off again very quickly. It can be used to control LED brightness, the speed of a DC motor, and more.
Why is PWM used in Arduino?
PWM is used in Arduino boards for adjusting motor speeds, LED brightnesses or the direction of a servo, to name a few.
Does Arduino Uno have PWM?
Yes! The Arduino Uno offers hardware PWM on digital pins 3, 5, 6, 9, 10 and 11.