Difference between revisions of "LilyTwinkle"

From Geeetech Wiki
Jump to: navigation, search
Line 39: Line 39:
 
3.Connect Arduino control board and  LilyTwinkle like as :
 
3.Connect Arduino control board and  LilyTwinkle like as :
  
 
+
[[File:1111.png]]
LilyTwinkle                  not-mega            mega(1280 and 2560)
 
 
+                --------      5V      ------    5V
 
 
 
- -------                --------      GND      ------    GND
 
 
 
0--------------------------                --------      11      ------    51
 
 
 
1--------------------------                --------      12      ------    52
 
 
 
2 -------------------------      13      ------    53
 
 
 
Pin 1 of ATtiny85 -------      10      ------    50
 
  
 
The pin1 of ATtiny85 hasn't expansion port , so you must connect the pin directly.
 
The pin1 of ATtiny85 hasn't expansion port , so you must connect the pin directly.

Revision as of 03:45, 26 August 2013

Introduction

IMG 0072.jpg IMG 0076.jpg

The LilyTwinkle is a tiny little LilyPad board designed to add some twinkle to your project. Even though it's as small as some of the LilyPad sensors, this board

actually has an ATtiny microcontroller on it so it's actually pretty smart! Simply sew on 4 LEDs and connect a battery and the LEDs will twinkle-fade (a lot like

fireflies... or lightning bugs, if that's what you call them). LilyTwinkle is a quick and easy way to add twinkling lights to a project without any programming or

a bulky Main Board.


Upload Firmware

Hardware need:

Arduino control board (as UNO,MEGA)×1

LilyTwinkle×1

Connecting line×6


Software need

IDE 0022 or later

attiny45_85


How to do

1.Install attiny45_85 to hardware of IDE.

2.Upload ‘ArduinoISP’selected in Examples of IDE to Arduino control board.

3.Connect Arduino control board and LilyTwinkle like as :

1111.png

The pin1 of ATtiny85 hasn't expansion port , so you must connect the pin directly.

4.Upload program to LilyTwinkle

You must select 'ATtiny 85 (w/ Arduino as ISP)' as board in IDE.

You must select suit program for the LilyTwinkle ,as there are 4 IO ports (0,1,2,3)on the ATtiny 85.