“Microduino-Color LED”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
 
(未显示同一用户的1个中间版本)
第5行: 第5行:
 
[[File: Microduino-WS2812-rect-v1.jpg|400px|thumb|right| Microduino-Color led]]
 
[[File: Microduino-WS2812-rect-v1.jpg|400px|thumb|right| Microduino-Color led]]
  
Microduino-Color LED with an built-in IC control chip can be cascaded arbitrarily. With one I/O port, you can control all the lights and each light can be controlled separately.  
+
Microduino-Color LED is a colored LED light with an built-in IC control chip, which can be cascaded arbitrarily. With only one I/O port, you can control all the lights. Each light can be controlled separately.  
  
  

2015年11月1日 (日) 04:43的最新版本

Language English
Microduino-Color led

Microduino-Color LED is a colored LED light with an built-in IC control chip, which can be cascaded arbitrarily. With only one I/O port, you can control all the lights. Each light can be controlled separately.





Features

  • The chip adopts 5050 package, including control circuit and RGB chip inside.
  • With single bus control, you only need one I/O port to receive data and decode;
  • With built-in IC control, serial cascading interface, it can have cascade control.
  • Each pixel's trichromatic color can achieve 256-level brightness control, completing full display of 16,777,216 colors and the scanning frequency is not less than 400Hz/s;
  • With built-in power-on and off reset circuits;
  • ultra low power and ultra long life.

Specification

  • Electrical specification
    • Operation voltage: 3.3V~5V
    • Output device
  • Tech parameter
    • Adopt WS2812 integrated light source control;
    • Each pixel's RGB can realize 256-level brightness display.
    • When refresh rate is 30 frame/s, the cascade number is not less than 1,024 points.
    • When the transmission distance of any two points is within three meters, there is no need to add any circuit.
  • Size
    • Size of LED:5mm*5mm,
    • Size of the board:20mm*20mm
    • 1.27mm-pitch 4Pin interface connects with Sensorhub.
  • Connection method
    • System and LED(IN):System LED control needs to connect the signal of Sensorhub to the " big>IN</big>" base board of the LED.
    • LED Cascade(OUT): The first LED's OUT connects to the next LED's IN.
CoreUSB Ble steup11.jpg

Document

文件:Ws2812.pdf

Development

Preparation

Program

  • Open " strandtext " in the libraries.
  • "#define PIN 6" defines the pin which controls LED. "6" means Microduino's D6 pin, which can be converted by Sensorhub. Users can also change that according to personal needs.
  • The number "60" in " Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800);" is the light number you want to cascade.
  • " colorWipe(uint32_t c, uint8_t wait)" Function Description:
    • " uint32_t c " defines the color of the lights and the format is " strip.Color(R, G, B)".
      • R:Value of red(0-255)
      • G:Value of green(0-255)
      • B:Value of green(0-255)
    • " uint8_t wait " defines delay time of a single light. The light number is defined at the beginning.
    • Example: colorWipe(strip.Color(255, 0, 0), 50); Display red.
    • Users can adopt the related tools to change color

color

  • “rainbow()” and “rainbowCycle()” are cool color pattern.

Hardware Buildup

  • Connect IN port on the back of the color LED to the D6 digital port of Sensorhub, which is also the definition and control of LED pins mentioned above. (Users can change according to personal needs.)

Microduino-Sensorhub

mCookie-Hub

  • Connect the core board, Sensorhub and LED to a computer via a USB cable.
  • Select the right board and COM port, compile and download. Please refer to: AVR Core:Getting started
Upload.JPG
  • You can see result after download.

Project

Purchase

History

Picture

  • Front
文件:Microduino-Lantern-F.JPG
Microduino-Cube-Station Front
  • Back
文件:Microduino-Lantern -b.JPG
Microduino-Cube-Station Back