Difference between revisions of "Sensor-Color LED Strip"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{{Language|Microduino-Color LED Strip }} {| style="width: 1000px;" | | 400px|thumb|right|mCookie-Hall The product number of mCookie S...")
 
(Introduction of Sensor Pin)
 
(8 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
|
 
|
 
[[File: Microduino-LEDStrip-rect-v1.jpg|400px|thumb|right|mCookie-Hall]]
 
[[File: Microduino-LEDStrip-rect-v1.jpg|400px|thumb|right|mCookie-Hall]]
The product number of mCookie Sensor—Color LED Strip: '''MSDL12'''
+
The product number of Sensor-Color LED Strip is: '''MSDL12'''
  
mCookie Sensor-Color LED Strip is a lamp strip composed of 7 WS2812 lamp beads cascaded. Cascading multiple LED strips through IN/OUT interface can singly control each lamp bead.  
+
Sensor-Color LED Strip is full color LED strip, including 7 full color LED, which are cascadable.
 +
 
 +
Only one I/O port can control the RGB color of each LED on the line.
 +
 
 +
The power supply supporting, it can support the cascade of as many as 1024 LEDs.
  
  
 
==Introduction of Sensor Pin==
 
==Introduction of Sensor Pin==
{{Sensor_explain
+
{{ST_Pinout
|nameA=[[Sensor-Color LED Strip]]
+
|st_name=Color LED Strip
|modeA=Digital signal output
+
|pin3=Digital Output (One-wire communication)
|modeB=NC
 
 
}}
 
}}
 
  
 
==Features==
 
==Features==
*Single bus control, only one I/O to control, and complete the receiving and decoding of the data;
+
*With flexible material which is easy to install on whatever shape of the surface.
*With built-in IC control, serially connecting the cascade interfaces can realize cascaded control ;
+
*Flexible LED strip with 7 full color LEDs
*The color of the three primary colors of each pixel can achieve 256-level brightness display, and complete 16777216-color whole true color display, and the scanning frequency is not lower than 400Hz/s.
+
*Adopts single serial cascade protocol which makes it cascadable
 +
*Only one I/O port can control the RGB color of each LED on the line
 +
*Can achieve RGB 256-grade(1600W)toning, and the scanning frequency is no less than 400Hz/s
  
  
 
==Specification==
 
==Specification==
*Voltage of the sensor
+
*Sensor voltage
**3.3V~5V working voltage  
+
**5V working voltage
  
*Size of the sensor  
+
*Size of the sensor
**Size of the board  
+
**Size of the board: 127mm*11.43mm
 
**1.27mm-spacing 4Pin interface connected with sensorhub
 
**1.27mm-spacing 4Pin interface connected with sensorhub
**CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
 
  
 
*Function description
 
*Function description
**Adopts WS2812 integrated control light source;
+
**Adopts WS2812 lampwick
**RGB of each pixel can realize 256-level brightness display;
+
**7 full color LED flexible LED strip
**When the update rate is 30frame/s, the cascaded number is not less than 1024;
+
**Adopts single serial cascade protocol, which makes it cascadable
**No circuit is needed to be added when the transmission distance between any two points is not over 3 meters.
+
**Only one I/O port can control the RGB color of each LED on the line.
 +
**Can achieve RGB 256-grade(1600W)toning, and the scanning frequency is no less than 400Hz/s
 +
**When the updating speed is 30 frame/s, the cascade number is no less than 1024
  
 
*Connection
 
*Connection
**This sensor can be connected to the following interfaces of the core: '''D2~D13'''
+
**This sensor can be connected to the following interfaces of the core: '''D2~D13''', '''A0~A7'''
**Multiple sensors cascaded: Connect the '''(<big>OUT</big>)''' of the former LED—Strip to the '''(<big>IN</big>)''' of the later LED-Strip.  
+
**Multiple sensors cascade: connect the '''(<big>OUT</big>)''' of the former LED-Strip to the '''(<big>IN</big>)''' of the latter LED-Strip.
  
 
==Document==
 
==Document==
 +
*Schematic diagram: '''[[File: Microduino-Color LED Strip.Zip]]'''
 +
*Main chip: '''[[File: WS2812 datasheet.pdf]]'''
 +
*You can use the sample programs in the following IDE libraries to do experiment on your own: [https://github.com/wasdpkj/Microduino-IDE-Support/tree/master/arduino-ide-Support/%5B1.6.x%5D-hardware(library)/hardware/Microduino/avr/libraries '''_07_Sensor_LED_WS2812''']
  
*Schematic diagram: '''[[File: Microduino_Color LED Strip.Zip.pdf]]'''
 
*WS2812 datasheet: '''[[File: Microduino_Color LED Strip_datasheet.pdf]]'''
 
 
==Development==
 
==Development==
 
===Program Download===
 
===Program Download===
*Download and unzip the program '''[[File:Microduino_Color LED Strip_Test.zip]]'''
+
*Download and unzip the program '''[[File:Sensor-Color LED Strip_Test.zip]]'''
And you can also use the program Senso_LED_WS2812 in the third party sample of Arduino IDE , which has richer colors.
 
  
===Program Download===
+
===Programming===
 
{{Upload
 
{{Upload
 
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
 
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
Line 60: Line 65:
  
 
===Hardware Setup===
 
===Hardware Setup===
*Referring to the following picture, connect Sensor-Hall to the digital port of '''[[Microduino-Sensorhub]]'''.
+
*Referring to the following diagram, connect the '''IN''' port of Sensor-Color LED Strip to the digital port D6 of '''[[Microduino-Sensorhub]]'''.
 
<br>
 
<br>
 
[[file:Microduino-sensorhub_Color LED Strip.JPG|thumb|400px|left]]
 
[[file:Microduino-sensorhub_Color LED Strip.JPG|thumb|400px|left]]
Line 66: Line 71:
  
 
===Result===
 
===Result===
*After download, observe the LED strip.  
+
*After download, observe the LED strip.
*LED twinkles in red, green and yellow successively with 1s as the interval.  
+
*LED flashes in red and green successively with the interval of 1s.
  
 
==Application==
 
==Application==
*LED full-color luminous character lamp strip, LED full-color module set, LED full-color soft lamp strip and hard lamp strip, and LED guardrail tube.
+
*LED full color light source
 +
*LED full color entertaining diversion
  
 
===Projects===
 
===Projects===
* '''[[Bluetooth Lamp]]'''
+
* '''[[Bluetooth Lamp]]'''
 
* '''[[Rhythm Lamp]]'''
 
* '''[[Rhythm Lamp]]'''
 
* '''[[Applause Enthusiasm Detection]]'''
 
* '''[[Applause Enthusiasm Detection]]'''
* '''[[Colored LED]]'''
+
* '''[[Colorful LED Light]]'''
  
 
==Purchase==
 
==Purchase==

Latest revision as of 22:57, 30 March 2017

Language: English  • 中文
mCookie-Hall

The product number of Sensor-Color LED Strip is: MSDL12

Sensor-Color LED Strip is full color LED strip, including 7 full color LED, which are cascadable.

Only one I/O port can control the RGB color of each LED on the line.

The power supply supporting, it can support the cascade of as many as 1024 LEDs.


Introduction of Sensor Pin

Sensor backpin.png

Color LED Strip
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) Digital Output (One-wire communication)
PIN4 (SIGNAL-B) Not Connected
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

Features

  • With flexible material which is easy to install on whatever shape of the surface.
  • Flexible LED strip with 7 full color LEDs
  • Adopts single serial cascade protocol which makes it cascadable
  • Only one I/O port can control the RGB color of each LED on the line
  • Can achieve RGB 256-grade(1600W)toning, and the scanning frequency is no less than 400Hz/s


Specification

  • Sensor voltage
    • 5V working voltage
  • Size of the sensor
    • Size of the board: 127mm*11.43mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
  • Function description
    • Adopts WS2812 lampwick
    • 7 full color LED flexible LED strip
    • Adopts single serial cascade protocol, which makes it cascadable
    • Only one I/O port can control the RGB color of each LED on the line.
    • Can achieve RGB 256-grade(1600W)toning, and the scanning frequency is no less than 400Hz/s
    • When the updating speed is 30 frame/s, the cascade number is no less than 1024
  • Connection
    • This sensor can be connected to the following interfaces of the core: D2~D13, A0~A7
    • Multiple sensors cascade: connect the (OUT) of the former LED-Strip to the (IN) of the latter LED-Strip.

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Microduino_Color LED Strip_Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the IN port of Sensor-Color LED Strip to the digital port D6 of Microduino-Sensorhub.


Microduino-sensorhub Color LED Strip.JPG


Result

  • After download, observe the LED strip.
  • LED flashes in red and green successively with the interval of 1s.

Application

  • LED full color light source
  • LED full color entertaining diversion

Projects

Purchase

History

Gallery

Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Color_LED_Strip&oldid=14511"