XANK 发表于 2013-9-16 22:39:44

arduino控制WS2812灯条!

本帖最后由 XANK 于 2013-9-16 22:40 编辑

最近入手了卷WS2812的LED灯条,可以控制到每一盏灯,而且只需要一根数据线!和大家分享下

WS2811 LED的WIKI :
http://wiki.hacdc.org/index.php/WS2811_Digital_RGB_LED#Individual_LEDs
库下载:
https://github.com/adafruit/Adafruit_NeoPixel

连接方法很简单:
一根数据线和接地即可
灯条每米9W,需要单独供电






----------------
下一步打算做随音乐变化的效果,请大神们指点指点哈!!


hisky 发表于 2013-9-16 23:01:26

本帖最后由 hisky 于 2013-9-16 23:21 编辑

外接的电源是什么方法呢?用三极管扩流吗?看了下楼主提供的网页,直接下图这样接线就可以了吧?

On the ATX power supply, short the green wire on the 24 pin connector to one of the black wires on the same connector, and that will make the power supply turn on. Plug it in and test that it comes on.

Check the voltage across a red and black line coming out of the power supply, it should provide +5v dc. Turn off your power supply. Connect the above-mentioned lines to the red and black wires on the light strip, (which are labeled +5V and GND where it connects to the light strip, in tiny typeface.)

Connect the blue line from the light strip, (which connects to the LED strip at the point labeled DIN), to pin 6 on your Arduino. Connect the black line from the LED strip to the Ground pin on your Arduino.

hisky 发表于 2013-9-16 23:26:42

请问这样接线可以吗?

XANK 发表于 2013-9-16 23:28:28

hisky 发表于 2013-9-16 23:26 static/image/common/back.gif
请问这样接线可以吗?

对的!图画的不错哦,用什么画的?

hisky 发表于 2013-9-16 23:31:11

powerpoint画的,这里还有一个ws2811的库据说也不错。

http://funkboxing.com/wordpress/?p=1761

isilcala 发表于 2013-9-17 02:21:27

2812和2811有什么区别?

duocool 发表于 2013-9-17 08:38:05

这是个好东西

____消失灬 发表于 2013-9-17 18:43:12

这一米得50左右吧

wyyyh 发表于 2013-9-17 20:00:29

关注中,之前试过hl1606

XANK 发表于 2013-9-19 11:12:33

hisky 发表于 2013-9-16 23:31 static/image/common/back.gif
powerpoint画的,这里还有一个ws2811的库据说也不错。

http://funkboxing.com/wordpress/?p=1761

不错的库,WS2812也能用!

XANK 发表于 2013-9-19 11:13:42

____消失灬 发表于 2013-9-17 18:43 static/image/common/back.gif
这一米得50左右吧

不用,35左右就够了

____消失灬 发表于 2013-9-19 11:46:32

XANK 发表于 2013-9-19 11:13 static/image/common/back.gif
不用,35左右就够了

是么去看看   看过一个国外的网站就用的W2812led做的东西

漫步者 发表于 2013-9-19 20:30:03

做个流光溢彩吧,看起来真的很炫 http://v.youku.com/v_show/id_XMzU3MjU3OTI4.html

txmg 发表于 2013-9-20 23:23:04

XANK 发表于 2013-9-19 11:13 static/image/common/back.gif
不用,35左右就够了

淘宝嘛?给个地址看看的!:)

wyyyh 发表于 2013-9-22 10:31:51

价格与每米的led数有关吧
页: [1] 2 3
查看完整版本: arduino控制WS2812灯条!