PWM Capable Pins

This page is a summary of LPC1769 Pin Usage concerning only hardware PWM capable pins.

Hardware PWM is available only on pins 2.0 to 2.5, 1.18, 1.20, 1.21, 1.23, 1.24, 1.26, 3.25 and 3.26.

If you plan to use a hobby servo, LEDs, lasers or any kind of device which require PWM with the Switch module, ensure to pick the right pin depending on your board version.

Available hardware PWM pins

ARM Pin 3X/3XC 4X/4XC 5X/5XC Assignment Comment
P1.18 led1 set in config to use it
P1.20 led3 set in config to use it
P1.21 led4 set in config to use it
P1.23 available available   3rd large fet  
P1.24       can be used on delta without min endstops
P1.26       can be used on delta without min endstops
P2.0        
P2.1        
P2.2        
P2.3 available      
P2.4        
P2.5        
P3.25 available available available   used for encoder pin for all panels
P3.26 available available available   used for encoder pin for all panels

Summary by Board Version

Depending on the configuration:

  • The 5X board has 2 to 5 available PWM pins
  • The 4X board has 3 to 6 available PWM pins
  • The 3X board has 4 to 7 available PWM pins

Wiring Diagram

Smoothie Wiring Diagram
This is a wiki! If you'd like to improve this page, you can edit it on GitHub.