Difference between revisions of "LilyTwinkle"

From Geeetech Wiki
Jump to: navigation, search
(Introduction)
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
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  
 
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
+
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. you can upload programs for
 
 
a bulky Main Board.
 
 
 
  
 +
your project.
  
 
== Upload Firmware ==
 
== Upload Firmware ==
Line 18: Line 16:
 
Arduino control board (as UNO,MEGA)×1
 
Arduino control board (as UNO,MEGA)×1
  
LilyTwinkle×1
+
*LilyTwinkle×1
  
Connecting line×6
+
*Connecting line×6
  
  
 
'''Software need'''
 
'''Software need'''
  
IDE 0022 or later
+
*IDE 0022 or later
  
attiny45_85
+
*attiny45_85
  
  
Line 39: Line 37:
 
3.Connect Arduino control board and  LilyTwinkle like as :
 
3.Connect Arduino control board and  LilyTwinkle like as :
  
 +
[[File: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.
  
LilyTwinkle                   not-mega            mega(1280 and 2560)
+
You must select suit program for the LilyTwinkle ,as there are 4 IO ports (0,1,2,3)on the ATtiny 85.
 
+                --------      5V      ------    5V
 
  
- -------                --------      GND      ------    GND
 
  
0--------------------------                --------      11      ------    51
+
== Documents: ==
  
1--------------------------                --------      12      ------    52
 
  
2 -------------------------      13      ------    53
+
[https://github.com/sparkfun/LilyTiny_LilyTwinkle/blob/master/Firmware/LilyTwinkle/LilyTwinkle.ino  Firmware]
  
Pin 1 of ATtiny85 -------      10      ------    50
+
[http://www.atmel.com/devices/ATTINY85.aspx  Datasheet (ATtiny85)]
  
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.
+
== How to buy ==
  
You must select suit program for the LilyTwinkle ,as there are 4 IO ports (0,1,2,3)on the ATtiny 85.
+
Click here to buy [http://www.geeetech.com/lilytwinkle-board-p-729.html LilyTwinkle Board]

Latest revision as of 03:56, 24 April 2015

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. you can upload programs for

your project.

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.


Documents:

Firmware

Datasheet (ATtiny85)


How to buy

Click here to buy LilyTwinkle Board