SparkFun LilyPad Arduino USB Pinout

SparkFun LilyPad Arduino USB pinout. Cosible board for electronic textiles with ATmega32U4 3.3 V.

Jump to pin index ↓

Main pinout

Cosible board for electronic textiles with ATmega32U4 3.3 V. It is programmed by microUSB and works with USB or a LiPo battery from a cell. The outer petals expose nine GPIO, 3.3 V and ground. The auxiliary views show the ISP points, the battery test and the soldering terminals of both connectors.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Alternative functions and sips of the ATmega32U4

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

11 visible
PinMCU pinTypesNotes
AnalogDigital10 bit analogue input of the ADC5 channel. It can be used as a digital input or output 20.
AnalogDigital10 bit analogue input of the ADC4 channel. It can be used as a digital input or output 21.
AnalogDigital10 bit analogue input of the ADC1 channel. It can be used as a digital input or output 22.
AnalogDigital10 bit analogue input of the ADC0 channel. It can be used as a digital input or output 23.
GNDCommon ground of the board and power return.
Power3.3 V output from MIC5219.
DigitalI2C3.3 V GPIO and bus data I²C.
PWMI2CDigitalGPIO with PWM and bus watch I²C.
PWMAnalogDigitalGPIO with PWM and A9 analog input.
PWMAnalogDigitalGPIO with PWM and A10 analog input.
PWMDigitalGPIO with PWM output.

Specifications

Model
SparkFun DEV-12049 · v12
Microcontroller
ATmega32U4 a 8 MHz
Logic and regulated output
3,3 V
Power supply
5 V USB or 1 cell LiPo battery (3.7 V nominal)
Battery charge
100 mA nominales por USB
Quotable contacts
9 GPIO and two power petals
PWM
D3, D9, D10 y D11
ADC de 10 bits
A2, A3, A4 y A5; D9 and D10 also work as A9 and A10
Interfaces
USB, I²C in D2/D3 and SPI at ISP programming points
Memory
32 KiB Flash (28 KiB para sketches), 2,5 KiB SRAM, 1 KiB EEPROM
PCB
Ø 50.8 mm design and 0.8 mm thickness

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATmega32U4Microcontrolador AVRMicrochipPatilage, functions and electrical characteristics.Datasheet
MCP73831LiPo chargerMicrochipLinear load and current adjustment with RPROG.Datasheet
MIC5219Regulator of 3.3 VMicrochipLDO regulator in SOT-23-5.Datasheet
LilyPad Arduino USB v12SchematicSparkFun12, DEV-12049.Datasheet
LilyPad Arduino USBDesign of PCBSparkFunEagle files and manufacturing panel.Datasheet
AVR coreArduino pine allocationArduinoLilyPadUSB usa la variante leonardo.Datasheet

Board notes

Food and load
CHG turns off the 3.3 V regulator. With 5 V USB, the MCP73831 loads the LiPo by JP1. In ON, S1 enables the regulator from the USB line or from the battery through the Schottky D1 diode.
Indicadores y reloj
The charger rules the CHG red LED (LED1). The RX red LED (LED2, PB0) and TX (LED3, PD5) are low active. STAT (LED4, PC7/D13) is the high active user indicator. The Y1 ceramic resonator sets 8 MHz.
Service contacts
The six ISP points and the VBT point are passways photographed on the back. The two U5 holes and the two S1 holes are mounted. JP2 and JP3 are assembly fiduciary marks.