Arduino, Arduino Boards, LilyPad

LilyPad Arduino USB – ATmega32U4 Board

Availability:

In stock


 The LilyPad Simple just got a whole lot… simpler. We’ve updated the Simple board to create the LilyPad USB by replacing the classic ATMega328 with the new ATMega32U4.

$11.99

In stock

Return period: 90 Days

Purchase this product now and earn 8 Points!
Add to Wishlist
Add to Wishlist

The LilyPad Simple just got a whole lot… simpler. We have updated the Simple board to create the LilyPad USB,  replacing the classic ATMega328 with the new ATMega32U4. This new board runs a variation of the latest bootloader, and it also means no more FTDI Basic! The only extra piece of hardware you need to program the LilyPad USB is a micro-USB cable, since the new IC has built-in USB support. The LilyPad USB is also officially supported in the Arduino IDE as of version 1.0.2!

 

Just like the LilyPad Simple, this board features a JST socket so you can directly connect a Li-Po battery for power and an on-board power switch so you can turn it off when you’re not feeling particularly blinky. These boards were designed to streamline your next sewable project by keeping things simple and giving you more room to work while eliminating the need to sew a power supply. The LiPo battery is even rechargeable through the board, no more special external LiPo chargers required!

 

LilyPad is a wearable e-textile technology. 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!

 

Description

The LilyPad Arduino USB is a microcontroller board based on the ATmega32u4. It has 9 digital input/output pins (of which 4 can be used as PWM outputs and 4 as analog inputs), an 8 MHz resonator, a micro USB connection, a JST connector for a 3.7V LiPo battery, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a battery to get started.The LilyPad Arduino USB differs from previous LilyPad boards in that the ATmega32u4 has built-in USB communication, eliminating the need for a separate USB-to-serial adapter. This allows the LilyPad Arduino USB to appear to a connected computer as a mouse and keyboard, in addition to a virtual (CDC) serial / COM port. It also has other implications for the behavior of the board
 
 
Different and common
 
Like the other LilyPad Arduino boards, the LilyPad Arduino USB is designed to be sewn into clothing and other fabric with conductive thread. The LilyPad Arduino can be powered either from the USB connection or a 3.7V LiPo battery. The board runs at 3.3V; applying more voltage (e.g. 5V) to its pins may damage it. If you connect a USB cable from a computer and a LiPo battery to the LilyPad, it will charge the battery.
 
The switch on the LilyPad allows you to turn the board on or off (use the “CHG” position to turn the board off).Similar to the Arduino Leonardo and Micro, the LilyPad Arduino uses only a single microcontroller (the Atmel ATmega32U4) to both run your sketches and communicate over USB with the computer. This means that you only need a USB cable to program the LilyPad Arduino USB (as opposed to an FTDI USB-serial adaptor as with other LilyPads),but it also means that there are some differences in the way that the USB communication works.
 
 
Differences from Other LilyPad Arduino Boards
 
The LilyPad Arduino USB uses a single processor (the ATmega32U4) to both run your sketches and communicate over USB with the computer. This provides more flexibility – for example, the board can emulate a keyboard or mouse – but it also means that the USB connection resets whenever the processor does (e.g. when you upload a new sketch).
 
For details on these differences, see the guide to the Arduino Leonardo and Micro. In addition, see the following section for a few differences between the LilyPad Arduino USB and the Leonardo or Micro.
 
 
Differences from the Arduino Leonardo and Micro
 
Because it operates at 3.3V, the LilyPad Arduino USB is limited to an 8 MHz clock speed vs. 16 MHz for the Leonardo and Micro. Your sketches should behave the same on either board (e.g. delay(1000) will pause for 1 second), but it’s important to correctly select the appropriate board in the boards menu. Uploading to a LilyPad ArduinoUSB with the board set to “Arduino Leonardo” or “Arduino Micro” will mean that your sketch won’t be able to communicate over USB (and the timing of other things will be off).If this does happen, you’ll need to recover using the method described in the next section.
 
 
Uploading Sketches to the LilyPad Arduino
 
Typically, you’ll upload to the LilyPad Arduino USB as you do with other Arduino boards: select “LilyPad Arduino USB” from the Tools > Board menu and the appropriate serial port from the Tools > Serial Port menu and press the upload button.
 
This will reset the LilyPad, launching the bootloader, which receives the new sketch from the computer and stores it on the board. The bootloader then automatically launches the new sketch. You can tell when the bootloader is running because the on-board (pin 13) LED will fade in and out (breathe).Sometimes, however, this automatic reset fails. This can happen, for example, if you upload a sketch to the LilyPad with a different board (e.g. the Leonardo or Micro) selected in the Tools menu. If this does happen, there’s an easy fix: you can press the reset button on the LilyPad twice in quick succession to initiate the bootloader.
 
To upload with this technique, first press the upload button in the Arduino software; then, when you see the status message “Uploading…” press the reset button twice.This should initiate the bootloader, and the Arduino software will upload your sketch. You might have to play a bit with the relative timing of pressing the upload button in the software vs. the double-press of the reset button on the board.
 
Features:
  • Microcontroller ATmega32u4
  •  Operating Voltage 3.3V
  •  Input Voltage 3.8V to 5V
  •  Digital I/O Pins 9
  •  PWM Channels 4
  •  Analog Input Channels 4
  •  DC Current per I/O Pin 40 mA
  •  Flash Memory 32 KB (ATmega32u4) of which 4 KB used by bootloader S
  •  RAM 2.5 KB (ATmega32u4)
  •  EEPROM 1 KB (ATmega32u4)
  •  Clock Speed 8 MHz
 

Documents:

Package List:
1 x Ardunio LilyPad USB