soldr.ai

Docs  /  Boards

LilyPad (ATmega328P): specs and pinout

Round sewable-style Arduino-compatible board with an ATmega328P, 14 digital I/O pads and 6 analog pads, programmed through a 6-pin FTDI header.

Every value cites its sourceOfficial pinout

Buy on Compoden

Specs

SpecValueSource
MicrocontrollerATmega328P (schematic U1 ATMEGA328P_TQFP)source
Schematic v21, U1
Operating voltage2.7 V to 5.5 Vsource
Schematic v21 note; https://www.sparkfun.com/products/13342 Features & Specs
Clock (official design)8 MHz crystal (Y1)source
Schematic v21, Y1 8MHZ
Digital I/O / analog14 digital I/O pins; 6 analog input pinssource
Features & Specs
DC current per I/O pin40 mAsource
Features & Specs; Microchip DS40002061B section 29.1, p.308 (maximum rating)
Programming interfaceFTDI header (6 pins)source
Features & Specs; schematic JP1
Chip speed grade0-4 MHz at 1.8-5.5 V; 0-10 MHz at 2.7-5.5 V; 0-20 MHz at 4.5-5.5 Vsource
Features, p.2; section 29.3 Speed Grades, p.312
Chip operating temperature-40 C to 85 Csource
Features, p.2

Power

ValueSource
Supply2.7 V to 5.5 Vsource
Schematic v21 note

Pinout

Pad names are from the original maker's LilyPad Arduino 328 Main Board v21 schematic. The listing says 16MHz and 'compatible with Arduino', so it may be a third-party board; its crystal, power pads and layout are not covered by an official document. The schematic does not label the power sew-pads, so none are listed.

PinFunctionVoltageNotesSource
Pad A0A0 (PC0, ADC0)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad A1A1 (PC1, ADC1)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad A2A2 (PC2, ADC2)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad A3A3 (PC3, ADC3)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad A4A4 (PC4, ADC4/SDA)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad A5A5 (PC5, ADC5/SCL)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad RXIRXI (PD0, RXD)VCC levelSerialsource
Schematic v21 (12/17/2015), sheet 1
Pad TXOTXO (PD1, TXD)VCC levelSerialsource
Schematic v21 (12/17/2015), sheet 1
Pad D2D2 (PD2, INT0)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D3D3 (PD3, INT1)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D4D4 (PD4)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D5D5 (PD5)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D6D6 (PD6)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D7D7 (PD7)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D8D8 (PB0)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D9D9 (PB1)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D10D10 (PB2, SS)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D11D11 (PB3, MOSI)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D12D12 (PB4, MISO)VCC levelsource
Schematic v21 (12/17/2015), sheet 1
Pad D13D13 (PB5, SCK)VCC levelDrives the on-board blue LED through a 330 ohm resistorsource
Schematic v21 (12/17/2015), sheet 1
JP1 1DTRFTDI header; the schematic says it is compatible with 3.3 V or 5 V FTDI (the LilyPad FTDI is 5 V)source
Schematic v21 (12/17/2015), sheet 1, header JP1
JP1 2RXIsource
Schematic v21 (12/17/2015), sheet 1, header JP1
JP1 3TXOsource
Schematic v21 (12/17/2015), sheet 1, header JP1
JP1 4VCCVCCsource
Schematic v21 (12/17/2015), sheet 1, header JP1
JP1 5CTSsource
Schematic v21 (12/17/2015), sheet 1, header JP1
JP1 6GNDsource
Schematic v21 (12/17/2015), sheet 1, header JP1

Build with it

Project ideas for the LilyPad (ATmega328P). Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources