Difference between revisions of "Sensor-Color LED"

From Microduino Wiki
Jump to: navigation, search
(Document)
Line 4: Line 4:
 
|
 
|
 
[[File: Microduino-WS2812-rect-v1.jpg|400px|thumb|right| Microduino-Color led]]
 
[[File: Microduino-WS2812-rect-v1.jpg|400px|thumb|right| Microduino-Color led]]
 +
The product number of Sensor-Color LED is: '''MSDL11'''
  
mCookie-Color LED is a colored LED sensor with an built-in IC control chip, which can be cascaded arbitrarily. With only one I/O port, you can control all the lights and each light can be controlled separately.
+
Sensor-Color LED is full color LED, adopting single serial cascade protocol.
  
 +
Only one I/O port can control the RGB color of each LED on the line.
  
 +
If the power supply supports, it can support the cascade of as many as 1024 LEDs.
  
  
==Sensor Pin Introduction==
+
 
 +
 
 +
==Introduction of Sensor Pin==
 
{{Sensor_explain
 
{{Sensor_explain
 
|nameA=[[Sensor-Color LED]]
 
|nameA=[[Sensor-Color LED]]
|modeA=Digital Signal Output
+
|modeA=Digital signal output
 
|modeB=NC
 
|modeB=NC
 
}}
 
}}
==Feature==
+
==Features==
*With single bus control. Only one I/O port to control, and complete the receiving and decoding of the data;
+
*With small size which is easy to install;
*With built-in IC controller, and serial connection interfaces, which can cascade control;
+
*Adopts single serial cascade protocol, which makes it cascadable;
*The three primary colors of each pixel point can realize 256-level brightness display, and achieve 16777216-color whole true color display. And the scanning frequency is not lower than 400Hz/s;
+
*Only one I/O port can control the RGB color of each LED on the line;
*With ultra-low power and ultra-long life.
+
*Can achieve 256-grade (1600W) toning or RGB, and the scanning frequency is o less then 400Hz/s
 +
 
  
 
==Specification==
 
==Specification==
 
*Sensor voltage
 
*Sensor voltage
**3.3V~5V working voltage
+
**5V working voltage
  
*Size of the sensor  
+
*Size of the sensor
 
**Size of the board: 23.5mm*13mm
 
**Size of the board: 23.5mm*13mm
**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]]'''
 
**CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
**1.27mm-spacing 4Pin interface connected with sensorhub.
 
  
 
*Function description
 
*Function description
**Adopt WS2812 integrated control light source;
+
**Adopts AWS2812 lampwick
**RGB of each pixel point can achieve 256-level brightness display;
+
**Adopts single serial cascade protocol, which makes it cascadable
**When the updating rate is 30 frame/s, the cascade number is not less than 1024;
+
**Only one I/O port can control the RGB color of each LED on the line
**When the transmission distance between any two points is not over 3 meters, don’t need to add any circuit.
+
**Can achieve 256-grade (1600W) toning or RGB, and the scanning frequency is o less then 400Hz/s
 +
**When the updating speed is 30 frame/s, the cascading 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'''
**Multiple sensors cascade: Connect the '''(<big>OUT</big>)''' of the former LED—Strip to the '''(<big>IN</big>)''' of the later Color_LED.
+
**Multiple sensors cascade: Connect the '''(<big>OUT</big>)''' of the former Sensor-Color LED to the '''(<big>IN</big>)''' of the latter Sensor-Color LED.  
 
 
==Document==
 
  
*Schematic diagram: '''[[File: Microduino_Sensor-Color_LED.Zip.pdf]]'''
+
==Documents==
*Crashdatasheet: '''[[File: Microduino_Sensor-Color_LED_datasheet.pdf]]'''
+
*Schematic diagram: '''[[File: Microduino_Sensor-Color_LED.Zip]]'''
 +
*Main chip: '''[[File: WS2812.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''']
  
 
==Development==
 
==Development==
 
===Program Download===
 
===Program Download===
*Download and unzip the program'''[[File:Microduino_Sensor-Color_LED_Test.zip]]'''
+
*Download and unzip the program '''[[File:Microduino_Sensor-Color_LED_Test.zip]]'''
  
===Prgramming===
+
===Programming===
 
{{Upload
 
{{Upload
 
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
 
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
Line 60: Line 66:
  
 
===Hardware Setup===
 
===Hardware Setup===
*Referring to the following picture, connect Sensor-Crash to the digital port D6 of '''[[Microduino-Sensorhub]]'''.
+
*Referring to the following diagram, connect the Sensor-Color LED to the digital port D6 of '''[[Microduino-Sensorhub]]'''.
 
<br>
 
<br>
 
[[file:Microduino-sensorhub_Shake.JPG|thumb|400px|left]]
 
[[file:Microduino-sensorhub_Shake.JPG|thumb|400px|left]]
 
<br style="clear: left"/>
 
<br style="clear: left"/>
  
===Result Observation===
+
===Results===
*After the download, observe the led strip;
+
*After download, open the serial monitor.
*LED twinkles in red, and green successively with the interval of 1s.
+
*LED flashes in red and green successively with the interval of 1s.  
  
 
==Application==
 
==Application==
*LED full color light letter lamp string, 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 point light source, LED pixel screen, all kinds of electronic products, LED shaped screen, and electrical equipment Marquee.
 
  
 
==Project==
 
==Project==
Line 79: Line 84:
 
* '''[[Applause Enthusiasm Detection]]'''
 
* '''[[Applause Enthusiasm Detection]]'''
 
* '''[[Colored LED]]'''
 
* '''[[Colored LED]]'''
 
==Purchase==
 
 
 
==History==
 
==History==
  

Revision as of 06:05, 18 September 2016

Language: English  • 中文
Microduino-Color led

The product number of Sensor-Color LED is: MSDL11

Sensor-Color LED is full color LED, adopting single serial cascade protocol.

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

If the power supply supports, it can support the cascade of as many as 1024 LEDs.



Introduction of Sensor Pin

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Color LED sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Digital signal output
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.

Features

  • With small size which is easy to install;
  • 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 256-grade (1600W) toning or RGB, and the scanning frequency is o less then 400Hz/s


Specification

  • Sensor voltage
    • 5V working voltage
  • Size of the sensor
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
    • CAD drawing of the sensor: File:Sensor CAD.zip
  • Function description
    • Adopts AWS2812 lampwick
    • 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 256-grade (1600W) toning or RGB, and the scanning frequency is o less then 400Hz/s
    • When the updating speed is 30 frame/s, the cascading number is no less than 1024
  • Connection
    • This sensor can be connected to the following interfaces of the core: D2~D13
    • Multiple sensors cascade: Connect the (OUT) of the former Sensor-Color LED to the (IN) of the latter Sensor-Color LED.

Documents

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_Sensor-Color_LED_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 Sensor-Color LED to the digital port D6 of Microduino-Sensorhub.


Microduino-sensorhub Shake.JPG


Results

  • After download, open the serial monitor.
  • LED flashes in red and green successively with the interval of 1s.

Application

  • LED full color light source

Project

History

Gallery

File:MicroduinoColorLED-F.JPG
mCookie-Color_LED-Front
File:Microduino-ColorLED-b.JPG
mCookie-Color_LED-Back