Creating a custom Eagle library (.lbr) file for the Arduino Pro Micro can be done in two ways: creating the file manually using the XML code below, or following the design steps to build it from scratch in the Eagle editor.
Here is a complete piece containing the Source Code for the library and a Step-by-Step Guide on how to implement it. arduino pro micro eagle library
Once the library is installed, follow these steps to integrate the Pro Micro as a module in your PCB: Creating a custom Eagle library (
RAW, GND, RST, VCC, TX, RX, GND, SCL, SDA, A3, A2, A1, A0
(on left)
D15, D14, D16, D10, D9, D8, D7, D6, D5, D4, LED, D12, GND, RST
(on right)
If you prefer to create the library manually to understand the process or customize the footprint, follow these steps in Autodesk Eagle. If you prefer to create the library manually
| Pro Micro Pin | EAGLE Pad | ATmega32U4 Port | Function | |---------------|-----------|-----------------|-------------------| | D0 | 1 | PD2 | RX (Serial) | | D1 | 2 | PD3 | TX (Serial) | | D2 | 3 | PD1 | SDA (I²C) | | D3 | 4 | PD0 | SCL (I²C), PWM | | D4 | 5 | PD4 | | | D5 | 6 | PC6 | PWM | | D6 | 7 | PD7 | PWM | | D7 | 8 | PE6 | | | D8 | 9 | PB4 | | | D9 | 10 | PB5 | PWM | | D10 | 11 | PB6 | PWM, SS | | D11 | 12 | PB7 | MOSI | | D12 | 13 | PD6 | MISO, PWM | | D13 | 14 | PC7 | SCK, LED | | D14/A0 | 15 | PF7 | Analog | | D15/A1 | 16 | PF6 | Analog | | D16/A2 | 17 | PF5 | Analog | | D17/A3 | 18 | PF4 | Analog | | A4/D18 | 19 | PF1 | Analog | | A5/D19 | 20 | PF0 | Analog | | RAW | 21 | - | Unregulated in | | GND | 22 | - | Ground | | RST | 23 | PC7 (reset) | Reset | | VCC | 24 | - | 5V power |
Note: Some libraries use different pad numbering – always verify with the library’s datasheet.