

The LilyPad Arduino Main Board (Manufacturer Part ID: DEV-09266) is a microcontroller board designed by SparkFun Electronics specifically for wearable electronics and e-textile projects. Its unique round shape and large conductive pads make it easy to sew into fabric using conductive thread, enabling seamless integration into clothing and other soft materials. The board is based on the ATmega328P microcontroller and is compatible with the Arduino IDE, making it accessible for both beginners and experienced makers.








The LilyPad Arduino Main Board is designed to be lightweight, compact, and optimized for wearable applications. Below are its key technical details:
| Parameter | Specification |
|---|---|
| Microcontroller | ATmega328P |
| Operating Voltage | 2.7V - 5.5V |
| Input Voltage (recommended) | 3.3V - 5V |
| Digital I/O Pins | 14 (6 PWM outputs) |
| Analog Input Pins | 6 |
| Flash Memory | 32 KB (0.5 KB used by bootloader) |
| SRAM | 2 KB |
| EEPROM | 1 KB |
| Clock Speed | 8 MHz |
| Dimensions | Diameter: 50mm (1.97 inches) |
| Weight | 4.4 grams |
The LilyPad Arduino Main Board features large sewable pads for easy connection. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| GND | Ground connection |
| VCC | Power supply input (3.3V - 5V) |
| TX | Transmit pin for serial communication |
| RX | Receive pin for serial communication |
| D2-D13 | Digital I/O pins (D3, D5, D6, D9, D10, D11 support PWM output) |
| A0-A5 | Analog input pins |
| RST | Reset pin to restart the microcontroller |
| + and - | Additional power and ground pads for connecting external components |
The LilyPad Arduino Main Board is straightforward to use and can be programmed using the Arduino IDE. Below are the steps and best practices for using the board in your projects.
Tools > Board and select "Arduino LilyPad".Tools > Port, select the port corresponding to your FTDI connection.The LilyPad Arduino Main Board is fully compatible with the Arduino IDE. Below is an example code to blink an LED connected to pin D9:
// Example: Blink an LED connected to pin D9 on the LilyPad Arduino Main Board
void setup() {
pinMode(9, OUTPUT); // Set pin D9 as an output
}
void loop() {
digitalWrite(9, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(9, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
The board is not detected by the Arduino IDE:
Tools > Port.Code upload fails:
Tools > Board.LEDs or components are not working:
The board overheats:
Q: Can I wash clothing with the LilyPad Arduino Main Board sewn in?
A: Yes, but you must remove the power source and ensure all connections are insulated. Hand washing is recommended.
Q: What sensors and modules are compatible with the LilyPad?
A: The LilyPad is compatible with a wide range of sensors and modules, including light sensors, temperature sensors, accelerometers, and Bluetooth modules.
Q: Can I use the LilyPad with a 9V battery?
A: No, a 9V battery exceeds the recommended voltage range. Use a 3.7V LiPo battery or a regulated 5V power source.
Q: How do I debug my circuit?
A: Use a multimeter to check for continuity and voltage levels at various points in your circuit. Ensure all connections are secure and insulated.
By following this documentation, you can effectively use the LilyPad Arduino Main Board in your wearable electronics projects. Happy making!