0% found this document useful (0 votes)
81 views3 pages

Lily Tiny

The document discusses the LilyPad Lily Tiny and Lily Twinkle sewable microcontroller boards. It provides details on: - The boards arrive either pre-programmed or unprogrammed depending on supplier. Australian suppliers provide pre-programmed boards while cheaper online options may be unprogrammed. - The Tiny has four pre-programmed patterns and the Twinkle has a random twinkling program. - Using an AVR programmer, jumper wires and test clip, the boards can be programmed or reprogrammed from an Arduino IDE by connecting the pins and uploading new code.

Uploaded by

api-57124002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views3 pages

Lily Tiny

The document discusses the LilyPad Lily Tiny and Lily Twinkle sewable microcontroller boards. It provides details on: - The boards arrive either pre-programmed or unprogrammed depending on supplier. Australian suppliers provide pre-programmed boards while cheaper online options may be unprogrammed. - The Tiny has four pre-programmed patterns and the Twinkle has a random twinkling program. - Using an AVR programmer, jumper wires and test clip, the boards can be programmed or reprogrammed from an Arduino IDE by connecting the pins and uploading new code.

Uploaded by

api-57124002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

LilyPad Lily Tiny or Lily Twinkle

The LilyPad Lily Tiny or Lily Twinkle are round sewable boards.

Depending on the source, they arrive programmed, or non-programmed.

If they are purchased from an Australian supplier such as Little Bird Electronics, the Tiny and Twinkle
arrive ready programmed. However they can also be programmed to function in different ways. If
you purchase from online stores such as eBay, they are significantly cheaper, but may arrive un-
programmed.

Each has four pins, and a positive and negative connection.

The Tiny has four patterns pre-programmed:

Pin 0: Fading
Pin 1: Heart Beat
Pin 2: On and Off
Pin 3: Twinkle

The Twinkle has a random twinkle program in which the LEDs attached to the pins twinkle on and off
at random.

Using Arduino to program Lily Pad


It is assumed that Arduino IDE has already been set up on the computer for your microcontroller,
which is an on-board AT tiny 85.

Tiny AVR Programmer

Jumper Wires 12" M/F

IC Test Clip SOIC 8-Pi


You will need a Tiny AVR Programmer, Jumper Wires 12" M/F, and an IC Test Clip SOIC 8-Pin.

Link your pins on your Lilypad ATtiny85 to the corresponding pins on the AVR Programmer.

The bottom of the Lilypad Tiny is the part with the L with the pin labelled 0.

The pins of the Lilypad Tiny will be connected using a clip and jumper leads to the pins on the AVR
programmer.

Finally, plug in the Tiny AVR Programmer it is easier to use a USB extension cable.

You may wish to code from scratch, but for beginners it may be easier to analyse existing code and
tweak it, learning about code along the way.

Code (sketches) has been provided in the folder on your desktop titled Code. Just open the text
documents, copy the code. Delete everything in the code window in Arduino, and paste in your new
code.

Use the tick icon to verify your code and make sure there are no errors.
Then use the right arrow icon to upload it to your device.

You should get a code uploaded window at the end

If there are any errors (lets hope there are not!) they will be identified in this window in red.

Prototyping your program


It is useful to have set up prototyping LED circuits so you can plug in your programmer (or code)
and see what it will do to the LEDs in the circuit.

This makes it easier to understand the coding process.

You might also like