Categories
Arduino Electronics

Which Arduino pins are PWM?

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 almost all Arduino boards. Keep reading for more information about each of the boards.

Board Model/sPWM Pins
Arduino Uno, Nano or Mini3, 5, 6, 9, 10, 11
Arduino Mega2-13, 44-46
Arduino Leonardo, Micro, Yún3, 5, 6, 9, 10, 11, 13
Arduino WiFi Rev. 23, 5, 6, 9, 10
Arduino MKR Boards0-8, 10, A3 (18), A4 (19)
Arduino MKR1000 Wifi0-8, 10, 11, A3 (18), A4 (19)
Arduino Zero3-13, A0 (14), A1 (15)
Arduino Due2-13
Arduino 1013, 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.

Arduino Mega

The Arduino Mega is a real beast of a board with heaps of IO.

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.

The Arduino Wifi has wifi and bluetooth baked right in.

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)

Arduino Zero

The Arduino Zero packs a 32-bit architecture and a lot of power.

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!

Arduino Due

PWM Pins: 2-13

The now-discontinued Arduino 101 looks just like an Uno, but packed many more features.

Arduino 101

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.