Difference between revisions of "LED Strip"

From LinkSprite Playgound
Jump to: navigation, search
(Created page with "== Introduction == Arduino library for controlling single-wire-based LED pixels and strip such as the Adafruit 30 LED/meter Digital LED strip, the Adafruit FLORA RGB Smart Pi...")
 
(Upload arduino code)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
Arduino library for controlling single-wire-based LED pixels and strip such as the Adafruit 30 LED/meter Digital LED strip, the Adafruit FLORA RGB Smart Pixel, the Adafruit Breadboard-friendly RGB Smart Pixel, the Adafruit NeoPixel Stick, and the Adafruit NeoPixel Shield. We based on these and LinkSpriteIO make it can be controled by mobile phone ,to achieve a number of simple functions with LinkNode D1.
+
Arduino library for controlling single-wire-based LED pixels and strip such as the Adafruit 30 LED/meter Digital LED strip, the Adafruit FLORA RGB Smart Pixel, the Adafruit Breadboard-friendly RGB Smart Pixel, the Adafruit NeoPixel Stick, and the Adafruit NeoPixel Shield. We based on these and [https://github.com/delongqilinksprite/LED_Strip/blob/master/www.linksprite.io LinkSpriteIO] make it can be controled by mobile phone ,to achieve a number of simple functions with [http://linksprite.com/wiki/index.php5?title=LinkNode_D1 LinkNode D1].
  
 
[[File:led2.png|540px]]
 
[[File:led2.png|540px]]
Line 11: Line 11:
 
=== Hardware connection ===
 
=== Hardware connection ===
  
[[File:dengdai 1.jpg|540px]]
+
[[File:dengdai 1.png|350px]]
  
 
=== Install Apk ===
 
=== Install Apk ===
  
*Download [https://github.com/delongqilinksprite/LED_Strip.git LinkspriteIo.apk]
+
*'''Download [https://github.com/delongqilinksprite/LED_Strip.git LinkspriteIo.apk]'''
  
*Install Linksprite.apk
+
*'''Install Linksprite.apk'''
  
 
=== Register Or Login ===
 
=== Register Or Login ===
  
* Enter to the login page
+
* '''Enter to the login page'''
  
[[File:login.png|540px]]
+
[[File:login.png|450px]]
  
*If not register,Please register
+
*'''If not register,Please register'''
  
[[File:register.png|540px]]
+
[[File:register.png|450px]]
  
 
=== Create Device ===
 
=== Create Device ===
  
*If not have device,Please click + icon to add device
+
*'''If not have device,Please click + icon to add device'''
  
[[File:home.png|540px]]
+
[[File:home.png|450px]]
  
*Please choose LED button and other device type will be added later.
+
*'''Please choose LED button and other device type will be added later.'''
  
[[File:select.png|540px]]
+
[[File:select.png|450px]]
  
*Please choose ADD button to create a device  
+
*'''Please choose ADD button to create a device'''
  
[[File:selectMode.png|540px]]
+
[[File:selectMode.png|450px]]
  
*Fill in the name of the device and group name, and click the confirm button to create the device
+
*'''Fill in the name of the device and group name, and click the confirm button to create the device'''
  
[[File:createDevice.png|540px]]
+
[[File:createDevice.png|450px]]
  
 
=== Upload arduino code ===
 
=== Upload arduino code ===
  
*Download [https://github.com/delongqilinksprite/LinkSpriteIO.git LinkSpriteIO anduino library]
+
*'''Download [https://github.com/delongqilinksprite/LinkSpriteIO.git LinkSpriteIO anduino library]'''
  
*Download [https://github.com/delongqilinksprite/LED_Strip.git NeoPixelBus arduino library]
+
*'''Download [https://github.com/delongqilinksprite/LED_Strip.git NeoPixelBus arduino library]'''
  
*Install libraries in Arduino Libraries folder.
+
*'''Install libraries in Arduino Libraries folder.'''
  
*Restart Arduino IDE, then open File->Examples->NeoPixelBus->LinkSpriteIoT sketch.
+
*'''Restart Arduino IDE, then open File->Examples->NeoPixelBus->LinkSpriteIoT sketch.'''
  
*Open the website [https://github.com/delongqilinksprite/LED_Strip/blob/master/www.linksprite.io LinkSpriteIO],and sign in get your deviceID and apikey.
+
*'''Open the website [https://github.com/delongqilinksprite/LED_Strip/blob/master/www.linksprite.io LinkSpriteIO],and sign in get your deviceID and apikey.'''
  
[[File:key.png|540px]]
+
[[File:key.png|640px]]
  
[[File:id.png|540px]]
+
[[File:id.png|640px]]
  
*change deviceID and apikey of program by your LinkSpriteIO device.
+
*'''change deviceID and apikey of program by your LinkSpriteIO device.'''
  
[[File:arduino.png|540px]]
+
[[File:led arduino.png|640px]]
  
*Upload the code to LinkNode D1,and then you can use your mobile control the led strip.
+
*'''Upload the code to LinkNode D1,and then you can use your mobile control the led strip.'''
  
If you've never used D1 LinkNode,you can learn from [http://linksprite.com/wiki/index.php5?title=LinkNode_D1 here].
+
If you've never used D1 LinkNode,you can learn from '''[http://linksprite.com/wiki/index.php5?title=LinkNode_D1 here]'''.
  
 
=== LED Strip Control ===
 
=== LED Strip Control ===
  
*Please choose the device button to set device
+
*'''Please choose the device button to set device'''
  
[[File:led.png|540px]]
+
[[File:led.png|450px]]
  
*LED strip how to show:
+
*'''LED strip how to show:'''
  
 
1.Flowing water lights
 
1.Flowing water lights
Line 87: Line 87:
 
4.Custom
 
4.Custom
  
[[File:ledshow.png|540px]]
+
[[File:ledshow.png|450px]]
  
*Set the flowing water lights
+
*'''Set the flowing water lights'''
  
 
Set the total number of LED strip:Total
 
Set the total number of LED strip:Total
Line 95: Line 95:
 
Set the time of flowing water lights:Time
 
Set the time of flowing water lights:Time
  
[[File:water.png|540px]]
+
[[File:water.png|450px]]
  
*Set bln control
+
*'''Set bln control'''
  
 
Set the total number of LED strip:Total
 
Set the total number of LED strip:Total
  
[[File:bln.png|540px]]
+
[[File:bln.png|450px]]
  
*Set blink
+
*'''Set blink'''
  
 
Set the total number of LED strip:Total
 
Set the total number of LED strip:Total
Line 109: Line 109:
 
Set the time of blink:Time
 
Set the time of blink:Time
  
[[File:blink.png|540px]]
+
[[File:blink.png|450px]]
  
*Set custom
+
*'''Set custom'''
  
 
Set the total number of LED strip:Total
 
Set the total number of LED strip:Total
Line 121: Line 121:
 
Set the color of LED:Color (Four color:Red,Blue,Green,White)
 
Set the color of LED:Color (Four color:Red,Blue,Green,White)
  
[[File:custem.png|540px]]
+
[[File:custem.png|450px]]

Latest revision as of 08:22, 1 December 2016

Introduction

Arduino library for controlling single-wire-based LED pixels and strip such as the Adafruit 30 LED/meter Digital LED strip, the Adafruit FLORA RGB Smart Pixel, the Adafruit Breadboard-friendly RGB Smart Pixel, the Adafruit NeoPixel Stick, and the Adafruit NeoPixel Shield. We based on these and LinkSpriteIO make it can be controled by mobile phone ,to achieve a number of simple functions with LinkNode D1.

Led2.png

Led3 (1).png

How to Use

Hardware connection

Dengdai 1.png

Install Apk

  • Install Linksprite.apk

Register Or Login

  • Enter to the login page

Login.png

  • If not register,Please register

Register.png

Create Device

  • If not have device,Please click + icon to add device

Home.png

  • Please choose LED button and other device type will be added later.

Select.png

  • Please choose ADD button to create a device

SelectMode.png

  • Fill in the name of the device and group name, and click the confirm button to create the device

CreateDevice.png

Upload arduino code

  • Install libraries in Arduino Libraries folder.
  • Restart Arduino IDE, then open File->Examples->NeoPixelBus->LinkSpriteIoT sketch.
  • Open the website LinkSpriteIO,and sign in get your deviceID and apikey.

Key.png

Id.png

  • change deviceID and apikey of program by your LinkSpriteIO device.

Led arduino.png

  • Upload the code to LinkNode D1,and then you can use your mobile control the led strip.

If you've never used D1 LinkNode,you can learn from here.

LED Strip Control

  • Please choose the device button to set device

Led.png

  • LED strip how to show:

1.Flowing water lights

2.Bln control

3.Blink

4.Custom

Ledshow.png

  • Set the flowing water lights

Set the total number of LED strip:Total

Set the time of flowing water lights:Time

Water.png

  • Set bln control

Set the total number of LED strip:Total

Bln.png

  • Set blink

Set the total number of LED strip:Total

Set the time of blink:Time

Blink.png

  • Set custom

Set the total number of LED strip:Total

Set the start number which :Start

Set the end number:End

Set the color of LED:Color (Four color:Red,Blue,Green,White)

Custem.png