Difference between revisions of "Sensor-Color LED Strip"

From Microduino Wiki
Jump to: navigation, search
(Projects)
(Introduction of Sensor Pin)
 
(5 intermediate revisions by one other user not shown)
Line 14: Line 14:
  
 
==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==
Line 46: Line 44:
  
 
*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 cascade: connect the '''(<big>OUT</big>)''' of the former LED-Strip to the  '''(<big>IN</big>)''' of the latter 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]]'''
+
*Schematic diagram: '''[[File: Microduino-Color LED Strip.Zip]]'''
*Main chip: '''[[File: WS2812.pdf]]'''
+
*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''']
 
*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''']
  
 
==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]]'''
  
 
===Programming===
 
===Programming===
Line 83: Line 81:
 
* '''[[Bluetooth Lamp]]'''
 
* '''[[Bluetooth Lamp]]'''
 
* '''[[Rhythm Lamp]]'''
 
* '''[[Rhythm Lamp]]'''
* '''[[Applause Enthusiasm Detector]]'''
+
* '''[[Applause Enthusiasm Detection]]'''
* '''[[Colorful 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"