Introduction: The Lilypad Arduino, an In-depth Look...

The LilyPad Arduino 328 Main Board is an Arduino-programmed microcontroller designed to be easily integrated into e-textiles and wearable projects. It offers the same functionality you find in other Arduino boards, in a lightweight, round package designed to minimize snagging and profile, with wide tabs that can be sewn down and connected with conductive thread.
The LilyPad Arduino consists of an ATmega328 with the Arduino bootloader and a minimum number of external components to keep it as small (and as simple) as possible. This board will run from 2V to 5V and offers large pin-out holes that make it easy to sew and connect. Each of these pins, with the exception of (+) and (-), can control an attached input or output device (like a light, motor, or switch). LilyPad is a wearable e-textile technology developed by Leah Buechley and cooperatively designed by Leah and SparkFun. Each LilyPad was creatively designed to have large connecting pads to allow them to be sewn into clothing. Various input, output, power, and sensor boards are available. They’re even washable!

Step 1: Power

The LilyPad Arduino can be powered via the USB connection or with an external power supply.If an external power supply is used, it should provide between 2.7 and 5.5 volts. This can come either from an AC-to-DC adapter (wall-wart) or battery. Again, don't power the LilyPad Arduino with more than 5.5 volts, or plug the power in backwards: you'll kill it.

Step 2: Programming

The LilyPad Arduino can be programmed with the Arduino Arduino Software (IDE). Select "LilyPad Arduino" from the Tools > Board menu (according to the microcontroller on your board). For details, see the reference and tutorials.

The ATmega168V or ATmega328V on the LilyPad Arduino comes preburned with bootloader that allows you to upload new code to it without the use of an external hardware programmer. You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header. While the holes are too small to insert pins into, you can insert male header pins into the ISP connector on your programmer and press them against the ICSP header on the board (from above). See these instructions for more information.

Step 3: Technical Specs

MicrocontrollerATmega168 or ATmega328V

Operating Voltage:- 2.7-5.5 V

Input Voltage:- 2.7-5.5 V

Digital I/O Pins:- 14

PWM Channels:- 6

Analog Input Channels:- 6

DC Current per I/O Pin:- 40 mA

Flash Memory:- 16 KB (of which 2 KB used by bootloader)

SRAM1 KBEEPROM:- 512 bytes

Clock Speed:- 8 MHz

Step 4: Inputs and Outputs

There are a total of 20 I/O connecting pads on the board, one pin for +5VDC, and one pin for ground.

Each of the 14 digital I/O pins on the LilyPad Arduino can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5V volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20 kOhms. In addition, some pins have specialized functions: PWM: 5, 6, 9, 10, 11 Provide 8-bit PWM output with the analogWrite() function.Analog Inputs: A0-A5. The LilyPad Simple Arduino has 6 analog inputs, labeled A0 through A5, all of which can also be used as digital I/O. Each analog input provide 10 bits of resolution (i.e. 1024 different values). By default the analog inputs measure from ground to 5 volts, though is it possible to change the upper end of their range using the analogReference() function.

Step 5: Important Links - Guide to setup a Lilypad on a Windows PC. - Guide to setup a Lilypad on a Mac. - A guide to Beginning LilyPad Arduino. - Some projects based on the Lilypad. - Atmel ATMega328P Microcontroller datasheet. - Check out this store from where I bought this product, and consider buying any electronic components, development boards, books, quadcopter parts and kits and much more from here... - Like my Facebook page for daily updates on Electronics, Arduinos, Embedded Systems, Computers, etc. - Follow my Instagram account for daily updates on Electronics, Arduinos, Embedded Systems, Computers, etc.

You can contact me at for any queries.


About This Instructable




More by vishal1502:The Lilypad Arduino, an in-depth look...JOYSTICK CONTROLLED SERVO MOTORSRaspberry Pi 3(BCM-2837 CPU) Temperature analysis
Add instructable to: