Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LilyPad Arduino Main Board: Examples, Pinouts, and Specs

Image of LilyPad Arduino Main Board
Cirkit Designer LogoDesign with LilyPad Arduino Main Board in Cirkit Designer

Introduction

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.

Explore Projects Built with LilyPad Arduino Main Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
LilyPad Arduino and Accelerometer-Based Wearable Fitness Tracker with Heart Rate Monitoring
Image of proj2: A project utilizing LilyPad Arduino Main Board in a practical application
This circuit is designed for wearable applications, featuring a LilyPad Arduino USB microcontroller that controls a chain of LED Pixel Boards and reads data from a Heart Pulse Sensor and a three-axis Accelerometer. It is capable of interactive LED displays synchronized with motion and heart rate data, suitable for dynamic wearable projects.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Bluetooth-Controlled Audio Player with I2C LCD Display
Image of pookibot: A project utilizing LilyPad Arduino Main Board in a practical application
This circuit features an Arduino UNO microcontroller powered by a lipo battery, interfaced with an HC-05 Bluetooth Module for wireless communication and a DFPlayer MINI for audio playback through a connected loudspeaker. An I2C LCD 16x2 Screen is included for display purposes, with the Arduino facilitating control and data exchange between the components. The provided code skeleton suggests that the Arduino is programmed using the Arduino IDE, but the specific functionality is not implemented in the given code.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano and LoRa SX1278 Battery-Powered Wireless Display
Image of transreciver: A project utilizing LilyPad Arduino Main Board in a practical application
This circuit is a LoRa-based wireless communication system using an Arduino Nano to receive data packets and display them on an LCD. It includes a LoRa Ra-02 SX1278 module for long-range communication, a 3.7V battery with a charger module for power, and an LED indicator controlled by the Arduino.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled LED Matrix and LCD Interface with Joystick Interaction
Image of Digital Game Circuit: A project utilizing LilyPad Arduino Main Board in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an 8x8 LED matrix, an LCD screen, and a KY-023 Dual Axis Joystick Module. The Arduino controls the LED matrix via digital pins D10-D12 and powers the matrix, LCD, and joystick module from its 5V output. The joystick's analog outputs are connected to the Arduino's analog inputs A0 and A1 for position sensing, while the LCD is controlled through digital pins D2-D6 and D13 for display purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LilyPad Arduino Main Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of proj2: A project utilizing LilyPad Arduino Main Board in a practical application
LilyPad Arduino and Accelerometer-Based Wearable Fitness Tracker with Heart Rate Monitoring
This circuit is designed for wearable applications, featuring a LilyPad Arduino USB microcontroller that controls a chain of LED Pixel Boards and reads data from a Heart Pulse Sensor and a three-axis Accelerometer. It is capable of interactive LED displays synchronized with motion and heart rate data, suitable for dynamic wearable projects.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of pookibot: A project utilizing LilyPad Arduino Main Board in a practical application
Arduino UNO Bluetooth-Controlled Audio Player with I2C LCD Display
This circuit features an Arduino UNO microcontroller powered by a lipo battery, interfaced with an HC-05 Bluetooth Module for wireless communication and a DFPlayer MINI for audio playback through a connected loudspeaker. An I2C LCD 16x2 Screen is included for display purposes, with the Arduino facilitating control and data exchange between the components. The provided code skeleton suggests that the Arduino is programmed using the Arduino IDE, but the specific functionality is not implemented in the given code.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of transreciver: A project utilizing LilyPad Arduino Main Board in a practical application
Arduino Nano and LoRa SX1278 Battery-Powered Wireless Display
This circuit is a LoRa-based wireless communication system using an Arduino Nano to receive data packets and display them on an LCD. It includes a LoRa Ra-02 SX1278 module for long-range communication, a 3.7V battery with a charger module for power, and an LED indicator controlled by the Arduino.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Digital Game Circuit: A project utilizing LilyPad Arduino Main Board in a practical application
Arduino UNO Controlled LED Matrix and LCD Interface with Joystick Interaction
This circuit features an Arduino UNO microcontroller interfaced with an 8x8 LED matrix, an LCD screen, and a KY-023 Dual Axis Joystick Module. The Arduino controls the LED matrix via digital pins D10-D12 and powers the matrix, LCD, and joystick module from its 5V output. The joystick's analog outputs are connected to the Arduino's analog inputs A0 and A1 for position sensing, while the LCD is controlled through digital pins D2-D6 and D13 for display purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Wearable electronics (e.g., light-up clothing, interactive costumes)
  • E-textile projects
  • Prototyping soft circuits
  • Educational projects in electronics and programming

Technical Specifications

The LilyPad Arduino Main Board is designed to be lightweight, compact, and optimized for wearable applications. Below are its key technical details:

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

Pin Configuration and Descriptions

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

Usage Instructions

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.

How to Use the LilyPad Arduino Main Board

  1. Install the Arduino IDE: Download and install the Arduino IDE from arduino.cc.
  2. Connect the Board: Use an FTDI breakout board or FTDI cable to connect the LilyPad to your computer via USB.
  3. Select the Board and Port:
    • In the Arduino IDE, go to Tools > Board and select "Arduino LilyPad".
    • Under Tools > Port, select the port corresponding to your FTDI connection.
  4. Write Your Code: Write or load your Arduino sketch in the IDE.
  5. Upload the Code: Click the upload button in the IDE to program the LilyPad.
  6. Integrate into Fabric:
    • Use conductive thread to sew the LilyPad into your fabric.
    • Connect external components (e.g., LEDs, sensors) to the sewable pads.

Important Considerations and Best Practices

  • Power Supply: Ensure the board is powered within the recommended voltage range (3.3V - 5V). Exceeding this range may damage the board.
  • Conductive Thread: Use high-quality conductive thread to ensure reliable connections. Avoid crossing threads to prevent short circuits.
  • Insulation: Insulate connections with fabric glue or clear nail polish to prevent accidental shorts.
  • Battery Usage: When using a battery, ensure it matches the board's voltage requirements. A 3.7V LiPo battery is commonly used.

Example Code for Arduino UNO Compatibility

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
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. The board is not detected by the Arduino IDE:

    • Ensure the FTDI breakout board or cable is properly connected.
    • Check that the correct port is selected in Tools > Port.
    • Install the necessary FTDI drivers from the SparkFun website.
  2. Code upload fails:

    • Verify that the correct board ("Arduino LilyPad") is selected in Tools > Board.
    • Press the reset button on the LilyPad just before uploading the code.
  3. LEDs or components are not working:

    • Check the connections made with conductive thread for continuity.
    • Ensure there are no short circuits between conductive threads.
  4. The board overheats:

    • Verify that the input voltage does not exceed 5V.
    • Check for short circuits in the circuit.

FAQs

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!