ws2812b中文资料_数据手册_参数
WS2812BLED灯工作原理

WS2812BLED灯工作原理
WS2812B灯的控制电路中包含有一个可编程的驱动器芯片和三个LED
颜色驱动器。
每个颜色驱动器都可以控制一个发光二极管。
驱动器芯片有
一个输入引脚,一个数据线和一个电源引脚。
通过向输入引脚输入数字信号,可以控制LED的亮度和颜色。
数据线上的每个时钟周期包含24位数据,每个数据位都表示了
WS2812B灯的一个颜色分量(红、绿、蓝)。
数据位由高电平和低电平两
个时间间隔表示,其比例决定了数据位的值。
每个数据位的高电平时间决
定了其值为1还是0,而低电平时间是固定的,用来定义数据间隔。
在一个时钟周期内,数据位的传输顺序是从最高有效位到最低有效位,先传输红色分量,然后是绿色分量,最后是蓝色分量。
通过发送一系列的24位数据,可以控制每个灯的颜色和亮度。
总之,WS2812BLED灯通过控制信号输入来控制发光二极管的颜色和
亮度。
它的工作原理是使用串行同步通信协议,通过将高电平和低电平的
时间间隔映射到颜色数据位来实现控制。
此外,灯的驱动器芯片可以通过
外部电源引脚提供电力,以满足不同应用的功率需求。
WS2812B灯带STC驱动

关于WS2812B我就不多说了,规格说明书讲的很详细。
目前网上分享的2812驱动比较少,而且说明不详,使用起来不是很方便,本着共同进步的精神在这里和大家分享一下我的调试经验。
MCU:STC12C5A08S2晶振:24M//经验:2812时序要求还是比较严,对传统51来说实现真的有难度,之前网上共享的STC89C52的驱动,即使真的点亮了灯带,估计也达不到我们的控制要求。
因为1T的51加上24M的晶振,我在调试时也有点勉强,一次IO的翻转就要300ns。
下面是灯带的驱动程序,可直接用:sbit Din = P3^2;uint8 bdata LED_DAT;//可位操作的数据发送暂存变量声明sbit bit0 = LED_DAT^0; //被发送的数据各位定义sbit bit1 = LED_DAT^1;sbit bit2 = LED_DAT^2;sbit bit3 = LED_DAT^3;sbit bit4 = LED_DAT^4;sbit bit5 = LED_DAT^5;sbit bit6 = LED_DAT^6;sbit bit7 = LED_DAT^7;//复位码:低电平>50usvoid Reset(){uint8 i;Din = 0;for(i = 0; i < 50; i++) ;}//================================================================ //发送RGB数据,一个nop为40ns, 刷新一次32*24*1.25us=960us//================================================================ //1码高电平850ns,低电平400ns 实测863,424#define CODE1 {Din = 1;_nop_();_nop_();_nop_();_nop_();_nop_();\_nop_();_nop_();_nop_();_nop_();_nop_();\_nop_();_nop_();_nop_();_nop_();_nop_();\_nop_();_nop_(); \Din = 0;_nop_();_nop_();\}//0码高电平400ns,低电平850ns 实测343,704#define CODE0 {Din = 1;_nop_();_nop_();_nop_();_nop_(); \Din = 0;_nop_();_nop_();_nop_();_nop_();_nop_();\_nop_();_nop_();_nop_();_nop_(); \}void SendData(uint8 *dat) //数据格式G7-G0-R7-R0-B7-B0{LED_DAT = *dat++;if(bit7==1) {CODE1} else {CODE0}if(bit6==1) {CODE1} else {CODE0}if(bit5==1) {CODE1} else {CODE0}if(bit4==1) {CODE1} else {CODE0}if(bit3==1) {CODE1} else {CODE0}if(bit2==1) {CODE1} else {CODE0}if(bit1==1) {CODE1} else {CODE0}if(bit0==1) {CODE1} else {CODE0}LED_DAT = *dat++;if(bit7==1) {CODE1} else {CODE0}if(bit6==1) {CODE1} else {CODE0}if(bit5==1) {CODE1} else {CODE0}if(bit4==1) {CODE1} else {CODE0}if(bit3==1) {CODE1} else {CODE0}if(bit2==1) {CODE1} else {CODE0}if(bit1==1) {CODE1} else {CODE0}if(bit0==1) {CODE1} else {CODE0}LED_DAT = *dat;if(bit7==1) {CODE1} else {CODE0}if(bit6==1) {CODE1} else {CODE0}if(bit5==1) {CODE1} else {CODE0}if(bit4==1) {CODE1} else {CODE0}if(bit3==1) {CODE1} else {CODE0}if(bit2==1) {CODE1} else {CODE0}if(bit1==1) {CODE1} else {CODE0}if(bit0==1) {CODE1} else {CODE0}}//经验:SendData的传入参数,我用的是数组uint8 GRBData[32][3]; 分别对应32颗灯的GRB数据。
ws2812b手册解析笔记

ws2812b手册解析笔记
一、WS2812B简介
WS2812B是一款高性能、低功耗的LED驱动器芯片,广泛应用于各种照明和显示场景。
本文将对WS2812B的手册进行解析,帮助读者更好地理解和应用这款芯片。
二、WS2812B工作原理
WS2812B采用独特的串行双向通信技术,实现与主控器的数据传输。
该芯片具有12位灰度级,可支持高达1600万色的显示效果。
其内部集成了稳压器、current regulator和逻辑电路,使得系统设计更加简洁。
三、WS2812B应用领域
WS2812B适用于各种室内外照明、显示屏、景观照明等场合。
例如,它可以应用于商业照明、家居照明、广告牌、舞台灯光等场景。
四、WS2812B操作指南
1.连接:将WS2812B与控制器相连,通过数据线进行通信。
2.编程:根据实际需求,编写控制器程序,控制WS2812B的亮度、颜色等参数。
3.驱动:为WS2812B提供适当的电源,确保其正常工作。
4.调试:通过实时监控亮度、颜色等参数,调整控制器程序,实现预期效果。
五、WS2812B实战案例解析
1.案例一:WS2812B在智能家居照明的应用
2.案例二:WS2812B在户外广告牌中的应用
3.案例三:WS2812B在舞台灯光设备中的应用
六、总结与展望
WS2812B作为一种高性能的LED驱动器芯片,具有广泛的应用前景。
通过本文的解析,读者可以更好地了解WS2812B的工作原理、应用领域以及操作指南。
在实际应用中,不断调整和优化控制器程序,实现更加绚丽、节能的照明效果。
ws2812b手册解析笔记

ws2812b手册解析笔记摘要:1.引言2.WS2812B 芯片介绍3.WS2812B 引脚功能4.WS2812B 工作原理5.WS2812B 编程及应用6.结论正文:【引言】WS2812B 是一款广泛应用于LED 灯带、显示屏等领域的LED 驱动芯片。
为了更好地了解其工作原理和应用方法,本文将对WS2812B 的手册进行解析,为大家提供参考。
【WS2812B 芯片介绍】WS2812B 是由上海慧朔微电子有限公司生产的一款RGB LED 驱动芯片,具有高稳定性、低功耗、恒流驱动等特点。
它采用3-in-1 的封装形式,将红、绿、蓝三个发光二极管(LED)集成在一起,可以实现多种颜色效果。
【WS2812B 引脚功能】WS2812B 具有以下引脚功能:- VCC:供电引脚,输入电压范围为3.0V-5.5V- GND:地引脚- DIN:数据输入引脚,用于接收外部发送的数据- CLK:时钟引脚,用于同步数据传输- VSYNC:帧同步引脚,用于同步显示刷新- HSYNC:行同步引脚,用于同步数据传输- LED-OUT:LED 驱动输出引脚,用于驱动LED 灯珠【WS2812B 工作原理】WS2812B 的工作原理如下:1.接通电源,将VCC 引脚连接到3.0V-5.5V 电源。
2.数据输入引脚DIN 接收外部发送的数据,数据传输速率为800kbps。
3.时钟引脚CLK 用于同步数据传输,数据在每个时钟周期的上升沿传输。
4.帧同步引脚VSYNC 和行同步引脚HSYNC 用于同步显示刷新,确保画面稳定显示。
5.LED 驱动输出引脚LED-OUT 将接收到的数据转换为驱动LED 灯珠的电流信号。
【WS2812B 编程及应用】WS2812B 的编程及应用主要包括以下步骤:1.连接电路:将WS2812B 的引脚与外部电路连接,如微控制器、电源等。
2.初始化:配置微控制器的相关寄存器,初始化WS2812B 的工作状态。
XT1511 SK6812 WS2812B灯珠使用规格书,操作说明书

1.目的Purpose:内置IC-LED系列LED灯头表面使用的是高硬度的硅树脂,能够确保客户使用环氧树脂,PU胶,硅胶滴胶加工时都不会死灯,也有非常好的抗硫化能力。
和支架的兼容性也非常好,但是硅树脂对湿度和除湿处理要求非常高,在潮湿季节使用时需要非常注意,确保生产的安全性。
2.运输及适用范围:所有内置IC-LED系列产品在运输过程中,需保持正面朝上,防潮防水,运输过程中逼免挤压、碰撞和剧烈震动。
3.产品储存及期限:室温密封存储:20℃~30℃,40%~60%RH,产品有效期为3个月;防潮密封存储:20℃~30℃,25%~60%RH,产品有效期为6个月;产品拆包开封后,建议1 小时内使用完成,(环境条件温度<30℃,湿度<60%)。
4.除湿处理LED 产品超出以上规定期限,或者由于其他原因受潮,建议客户做除湿处理后再使用。
除湿方法:70℃-75℃/22±2 小时。
5.静电防护LED 是静电敏感器件,虽然LED 产品具有优异的抗静电能力,但每经历一次静电释放产生的冲击,都会对LED 造成一定程度的损坏。
因而在使用LED 产品过程中需要做好静电防护措施,例如佩戴防静电手套及防静电手环等。
6.手动焊接操作指引建议使用功率不超过30W 的电烙铁,控制电烙铁温度不高于380℃,每次焊接时电烙铁在支架引脚上停留时间不超过3秒,如需要反复焊接时,间隔停留时间不少于2秒,避免长时间高温对L ED 造成损伤。
焊接过程中,请勿触摸或挤压LED 的表面,避免对L ED 内部造成损伤,同时请注意避免电烙铁对LED 表面胶体的烫伤及其它损伤。
7.回流焊指引回流焊相关参数设定,请参考下图及下表,推荐使用千住、阿尔法、汉高乐泰等品牌焊锡膏,建议客户根据所采用的焊锡材料供应商提供的材料特性基础上进行必要的调整。
8.生产注意事项1. 所有产品,在贴片时,请仔细检查,若真空包装完好无损,无漏气现象,请直接使用,可以不用烘烤除湿处理。
WS2812B LED智能控制集成光源数据手册说明书

Intelligent control LED integrated light sourceWORLDSEMI CO.,LIMITED WS2812B Datasheet and SpecificationsIntelligent control LED integrated light sourceJan,2016V1.0Intelligent control LED integrated light source Features and Benefits●Intelligent reverse connect protection,the power supply reverse connection does not damage the IC.●The control circuit and the LED share the only power source.●Control circuit and RGB chip are integrated in a package of5050components,form a complete control of pixelpoint.●Built-in signal reshaping circuit,after wave reshaping to the next driver,ensure wave-form distortion notaccumulate.●Built-in electric reset circuit and power lost reset circuit.●Each pixel of the three primary color can achieve256brightness display,completed16777216color full colordisplay,and scan frequency not less than400Hz/s.●Cascading port transmission signal by single line.●Any two point the distance more than5m transmission signal without any increase circuit.●When the refresh rate is30fps,cascade number are not less than1024points.●Send data at speeds of800Kbps.●The color of the light were highly consistent,cost-effective..Applications●Full-color module,Full color soft lights a lamp strip.●LED decorative lighting,Indoor/outdoor LED video irregular screen.General descriptionWS2812B is a intelligent control LED light source that the control circuit and RGB chip are integrated in a package of5050components.It internal include intelligent digital port data latch and signal reshaping ampli fication drive circuit.Also include a precision internal oscillator and a12V voltage programmable constant curr e-nt control part,effectively ensuring the pixel point light color height consistent.The data transfer protocol use single NZR communication mode.After the pixel power-on reset,the DIN port receive data from controller,the first pixel collect initial24bit data then sent to the internal data latch, the other data which reshaping by the internal signal reshaping amplification circuit sent to the next cascade pixel through the DO port.After transmission for each pixel,the signal to reduce24bit.pixel adopt auto resha -ping transmit technology,making the pixel cascade number is not limited the signal transmission,only depend on the speed of signal transmission.LED with low driving voltage,environmental protection and energy saving,high brightness,scattering angl e is large,good consistency,low power,long life and other advantages.The control chip integrated in LED above becoming more simple circuit,small volume,convenient installation.Intelligent control LED integrated light source Mechanical DimensionsPIN configurationPIN functionNO.Symbol Function description1VDD Power supply LED2DOUT Control data signal output3VSS Ground4DIN Control data signal inputIntelligent control LED integrated light sourceAbsolute Maximum RatingsPrameter Symbol Ratings UnitPower supply voltage V DD+3.5~+5.3VInput voltage V I-0.5~VDD+0.5VOperation junctiontemperatureTopt-25~+80℃Storage temperature range Tstg-40~+105℃Electrical Characteristics(T A=-20~+70℃,V DD=4.5~5.5V,V SS=0V,unless otherwise specified)Prameter Smybol conditions Min Tpy Max UnitInput current I I V I=V DD/V SS————±1µAInput voltage level V IH D IN,SET0.7V DD————V V IL D IN,SET————0.3V DD VHysteresis voltage V H D IN,SET——0.35——V Switching characteristics(T A=-20~+70℃,V DD=4.5~5.5V,V SS=0V,unless otherwise specified)Prameter Symbol Condition Min Tpy Max UnitTransmission delaytime t PLZCL=15pF,DIN→DOUT,RL=10KΩ————300nsFall time t THZ CL=300pF,OUTR/OUTG/OUTB————120µsInput capcity C I——————15pFRGB IC characteristic parameterEmitting color Model Wavelength(nm)Luminous intensity(mcd)Voltage(V) Red13CBAUP620-630550-700 1.8-2.2 Green13CGAUP515-5301100-1400 3.0-3.2 Blue10R1MUX465-475200-400 3.0-3.4Intelligent control LED integrated light sourceData transfer time(TH+TL =1.25µs ±600n s )T0H 0code ,high voltage time 0.4us ±150ns T1H 1code ,high voltage time 0.85us ±150ns T0L 0code ,low voltage time 0.85us ±150ns T1L 1code ,low voltage time0.4us ±150nsRESlow voltage timeAbove 50µsSequence chart:0code1codeRET codeT0HT0LT1H T1LTresetCascade method:DIN DIN DIN DODODOPIX1D1D2D3D4PIX2PIX3Intelligent control LED integrated light source Data transmission method:Data refresh cycle 1Data refresh cycle 2first 24bitsecond24bit third 24bit first 24bitsecond24bitthird 24bitsecond24bit third 24bitsecond24bit third 24bit third 24bit third 24bitD1 D2 D3 D4reset code>=50us resetcodeIntelligent control LED integrated light sourceNote:The data of D1is send by MCU,and D2,D3,D4through pixel internal reshaping amplification to transmit.Composition of 24bit data:G7G6G5G4G3G2G1G0R7R6R5R4R3R2R1R0B7B6B5B4B3B2B1B0Note:Follow the order of GRB to sent data and the high bit sent at first.Typical application circuit:VDD 1DOUT 2VSS3DIN 4U1WS2812BVDD 1DOUT 2VSS3DIN 4U2WS2812BC1104C2104DIN 5V5VVDD 1DOUT 2VSS3DIN 4U1WS2812BC11045VDOUTIntelligent control LED integrated light sourceWS2812B Products Using InstructionsMSL=5A Level1.Purpose:WS2812B-Mini LED lamp’s surface use the high hardness silicone resin,can ensure that nomatter customers use PU glue or epoxy resin to do the silicone drop rubberprocessing,won’t lead the LED to die;also has a very good anti sulfide capacity.Goodcompatibility with bracket,but the silicon resin has a higher requirements on the humidityand dehumidification process,especially pay attention during wet season,ensure theproduction safety.2.Transport and application area:All WS2812S/B products during the transportation process,need to maintain a positiveupward,moisture-proof,during the transport process,shall avoid the extrusion,collisionand vibration.3.Product storage and deadline:Sealed storage at room temperature:20℃~30℃,40%~60%RH,the product is validfor3months;Moisture seal storage:20℃~30℃,25%~60%RH,the product is valid for6months;After opening the product packaging,suggest using them within1hours,(environmentalconditions of temperature<30℃,humidity<60%).4.Dehumidification process:LED products which is beyond the prescribed time limit,or for getting damp for some otherreasons,we recommend the customer first do the dehumidification process,then usethem.Dehumidification method:under75℃/22±2hours.5.E lectrostatic protection:LED is the electrostatic sensitive devices,although the LED product has excellentanti-static ability,but after each ESD impact,will cause a certain degree of damage to LED.Thus in using process of LED products,must do the electrostatic protection measures,suchas anti-static gloves,anti-static Bracelet etc..6.Manual welding operation instructionSuggest using the Electric soldering iron whose power is less than30W,then control theIntelligent control LED integrated light sourceelectric soldering iron’s temperature being not higher than350℃,every time whenwelding electric iron in the bracket pin,stay time shall be no more than3seconds,ifrequiring repeat welding,then interval time shall be no less than2seconds.Please don’ttouch or extrusion the LED’s surface,in order to avoid damage to the internal LED,at thesame time,please pay attention to avoid the electric iron burns the colloid on the surface ofLED and other injuries.7.Reflow instructionsSet the reflow parameters,check the following drawing and table for reference.,recommend using Senju,Alfa,Henkel loctite brand solder paste,recommends customers dothe necessary adjustments according to foundation of material properties provided by thesolder materials suppliers.Curve description Lead in solder reflow SMT LINEThe lowest preheat temperature(Tsmin)100℃150℃The highest preheat temperature(Tsmax)150℃200℃Preheating time(Tsmin to Tsmax)(ts)60-120S60-180SAverage rate of temperature rise(Tsmax to Tp)<3℃/S<3℃/Sliquid phase temperature(TL)183℃217℃Holding time liquid region(tL)60-150S60-150Speak temperature(Tp)235℃250℃<10S<10SHigh temperature region(the peak temperature-5℃)residence time(tp)Decreasing temperature rate<6℃/S<6℃/SStay time from room temperature to the peak<6min<6min temperature8.Notice of Production1.All products,during SMT,please carefully check,if the vacuum packaging intact,noIntelligent control LED integrated light sourceleakage phenomenon,Please use directly,can don’t do the bake dehumidification.2.During use,please open a bag and use a bag,please don’t open many bags at one-timewhich shall lead the LEDs absorb moisture in the air since you don’t use them at once.3.After SMT,please do the reflow soldering furnace immediately,please don’t leave them inin the pre-reflow for a long time which absorb moisture.Especiallywhen off work,please use out the LEDs which is out of packaging,please SMT andreflow,do not let them stay in the air for a long time.4.Dehumidification process,please under70-75℃,bake for24hours.Also note duringusing,use the LEDs immediately after taking out of the bake box,please don’t take manyreels at one-time,since it is very hot when taking out,LED in the cooling process moreeasily absorb the moisture in the air into the inside of the LED,which shall cause led deadduring reflow.5.Please pay attention that it is forbidden to secondary reflow soldering.。
WS2812B手册

integrated light source Features and Benefits●Intelligent reverse connect protection, the power supply reverse connection does not damage the IC.●The control circuit and the LED share the only power source.●Control circuit and RGB chip are integrated in a package of 5050 components, form a complete control of pixelpoint.●Built-in signal reshaping circuit, after wave reshaping to the next driver, ensure wave-form distortion notaccumulate.●Built-in electric reset circuit and power lost reset circuit.●Each pixel of the three primary color can achieve 256 brightness display, completed 16777216 color full colordisplay, and scan frequency not less than 400Hz/s.●Cascading port transmission signal by single line.●Any two point the distance more than 5m transmission signal without any increase circuit.●When the refresh rate is 30fps, cascade number are not less than1024 points.●Send data at speeds of 800Kbps.●The color of the light were highly consistent, cost-effective..Applications●Full-color module, Full color soft lights a lamp strip.●LED decorative lighting, Indoor/outdoor LED video irregular screen.General descriptionWS2812B is a intelligent control LED light source that the control circuit and RGB chip are integrated in a package of 5050 components. It internal include intelligent digital port data latch and signal reshaping ampli fication drive circuit. Also include a precision internal oscillator and a 12V voltage programmable constant curr e-nt control part, effectively ensuring the pixel point light color height consistent.The data transfer protocol use single NZR communication mode. After the pixel power-on reset, the DIN port receive data from controller, the first pixel collect initial 24bit data then sent to the internal data latch, the other data which reshaping by the internal signal reshaping amplification circuit sent to the next cascade pixel through the DO port. After transmission for each pixel,the signal to reduce 24bit. pixel adopt auto resha -ping transmit technology, making the pixel cascade number is not limited the signal transmission, only depend on the speed of signal transmission.LED with low driving voltage, environmental protection and energy saving, high brightness, scattering angl e is large, good consistency, low power, long life and other advantages. The control chip integrated in LED above becoming more simple circuit, small volume, convenient installation.integrated light source Mechanical DimensionsPIN configurationPIN functionNO.Symbol Function description1 VDD Power supply LED2 DOUT Control data signal output3 VSS Ground4 DIN Control data signal inputAbsolute Maximum RatingsPrameter Symbol Ratings UnitPower supply voltage V DD+3.5~+5.3 VInput voltage V I-0.5~VDD+0.5 VOperation junctionTopt -25~+80 ℃temperatureStorage temperature range Tstg -40~+105 ℃Electrical Characteristics(T A=-20~+70℃,V DD=4.5~5.5V,V SS=0V,unless otherwise specified)integrated light sourcePrameter Smybol conditions Min Tpy Max UnitInput current I I V I=V DD/V SS————±1 µAInput voltage level V IH D IN,SET 0.7V DD————V V IL D IN,SET ————0.3 V DD VHysteresis voltage V H D IN,SET ——0.35 ——V Switching characteristics(T A=-20~+70℃,V DD=4.5~5.5V,V SS=0V,unless otherwise specified)Prameter Symbol Condition Min Tpy Max UnitTransmission delaytime t PLZCL=15pF,DIN→DOUT,RL=10KΩ————300 nsFall time t THZ CL=300pF,OUTR/OUTG/OUTB————120 µsInput capcity C I——————15 pFRGB IC characteristic parameterEmitting color Model Wavelength(nm) Luminous intensity(mcd) V oltage(V) Red 13CBAUP 620-625390-420 2.0-2.2 Green 13CGAUP 522-525660-720 3.0-3.4Blue 10R1MUX 465-467180-200 3.0-3.4Data transfer time( TH+TL=1.25µs±600n s)T0H 0 code ,high voltage time 0.4us±150nsT1H 1 code ,high voltage time 0.8us ±150nsT0L 0 code , low voltage time 0.85us ±150nsT1L 1 code ,low voltage time 0.45us ±150nsRES low voltage time Above 50µsSequence chart:integrated light source0code1codeRET codeT0HT0LT1H T1LTresetCascade method:DIN DIN DIN DODODOPIX1D1D2D3D4PIX2PIX3Data transmission method :Data refresh cycle 1Data refresh cycle 2first 24bitsecond24bit third 24bitfirst 24bitsecond 24bitthird 24bitsecond 24bitthird 24bitsecond 24bitthird 24bitthird 24bit third 24bitD1D2D3D4reset code >=50usreset codeintegrated light sourceNote: The data of D1 is send by MCU,and D2, D3, D4 through pixel internal reshaping amplification to transmit.Composition of 24bit data:G7G6 G5 G4G3 G2G1 G0R7R6R5R4R3R2R1R0B7B6B5B4B3B2B1B0Note: Follow the order of GRB to sent data and the high bit sent at first. Typical application circuit:VDD 1DOUT 2VSS3DIN 4U1WS2812BVDD 1DOUT 2VSS3DIN 4U2WS2812BC1104C2104DIN 5V5VVDD 1DOUT 2VSS3DIN 4U1WS2812BC11045VDOUT。
ws2812b原理

ws2812b原理WS2812B是一种数字可编程RGB LED芯片,它是一种非常流行的LED驱动芯片,被广泛应用于各种照明和显示领域。
它的原理是通过控制电流来实现LED的颜色和亮度变化。
WS2812B芯片采用了内部集成控制电路的设计,它由一个RGB LED和一个控制电路组成。
控制电路内部集成了一个PWM控制器和一个数据移位寄存器,可以通过串行通信的方式与外部控制器进行通信。
WS2812B芯片的控制是通过控制数据引脚DIN上的数据信号来实现的。
数据信号是一个由高电平和低电平组成的串行数据流,每个数据位代表一个亮度值。
数据位的高电平和低电平分别对应LED的亮和灭,通过控制每个数据位的高低电平来实现RGB颜色和亮度的变化。
WS2812B芯片的数据信号采用了一种特殊的编码方式,即时间间隔调制(TIME-BASED MODULATION)编码。
在每个数据位的时间间隔内,高电平和低电平的持续时间不同,通过不同的时间间隔来表示不同的亮度值。
这种编码方式可以有效地减少数据传输的时间,提高数据传输的速度和效率。
WS2812B芯片的控制电路可以实现多级级联,即一个控制电路可以驱动多个WS2812B芯片。
多个WS2812B芯片的数据引脚通过连接在一起,形成一个长的数据链。
控制器通过发送一系列的数据位,依次对每个WS2812B芯片进行控制,从而实现多个LED的同时控制。
除了通过串行通信的方式控制WS2812B芯片外,还可以通过外部控制器来控制WS2812B芯片。
外部控制器可以通过串口、USB等接口与WS2812B芯片进行通信,实现更复杂的控制功能。
总结来说,WS2812B是一种数字可编程RGB LED芯片,通过控制电流来实现LED的颜色和亮度变化。
它采用了内部集成控制电路的设计,可以通过串行通信的方式与外部控制器进行通信。
WS2812B 芯片的控制是通过控制数据信号来实现的,数据信号采用了时间间隔调制编码的方式。
WS2812B芯片的控制电路可以实现多级级联,外部控制器可以通过串口、USB等接口与WS2812B芯片进行通信。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
最大
±1 —— 0.3 VDD ——
单位
µA V V V
测试条件
VI=VDD/VSS DIN,SET DIN,SET DIN,SET
开关特性(如无特殊说明,TA=-20~+70℃,VDD=4.5~5.5V,VSS=0V)
参数
传输延迟时 间
下降时间 输入电容
符号
tPLZ tTHZ CI
最小
—— —— ——
典型
—— —— ——
最大
300 120 15
单位
测试条件
ns CL=15pF,DIN→DOUT,RL=10KΩ
µs CL=300pF,OUTR/OUTG/OUTB
pF
——
2/4
http://www.world-semi.cm
LED 特性参数
发光颜色
主波长(nm)
红光
620~630
绿光
515~530
曲线说明 最低预热温度(Tsmin) 最高预热温度(Tsmax) 预热区时间(Tsmin to Tsmax)(ts) 平均升温速率(Tsmax to Tp)
液相温度(TL) 液相区保温时间(tL)
峰值温度(Tp) 高温区(峰值温度-5℃)停留时间(tp)
降温速率 室温至峰值温度停留时间
含铅回流焊 100℃ 150℃
PIX1
PIX2
PIX3
数据传输时间( TH+TL=1.1µs±300ns)
T0H
0码, 高电平时间
T1H
1码, 高电平时间
T0L
0码, 低电平时间
T1L
1码, 低电平时间
RES
帧单位,低电平时间
数据传输方法:
220ns~420ns 750ns~1.6µs 750ns~1.6µs 220ns~420ns 300µs以上
4/4
http://www.world-semi.cm
A
找电子元器件网上商城就上万联芯城,万联芯城销售 IC 电 子元器件,芯片,电阻,电容,二极管,三极管等多种类 别,现货型号能够满足各种物料需求,BOM 报价可有效提 高采购效率,只需提交物料清单,商城即可为您查询物料 报价,整单下单有优惠,万联芯城电子元器件配单业务, 满足客户多种物料需求,点击进入万联芯城。
蓝光
465~475
发光强度(mcd) 550~700 1100~1400 200~400
WS2812B
智能外控集成 LED 光源
工作电流(mA) 16 16 16
工作电压(V) 1.8~2.2 2.8~3.1 2.9~3.2
时序波形图
输入码型:
连接方法:
D1
D2
D3
D4
DIN DO
DIN DO
DO
400Hz/s。 ● 串行级联接口,能通过一根信号线完成数据的接收与解码。 ● 任意两点传传输距离在不超过3米时无需增加任何电路。 ● 当刷新速率30帧/秒时,级联数不小于1024点。 ● 数据发送速度可达800Kbps。 ● 光的颜色高度一致,性价比高。
主要应用领域
● LED全彩发光字灯串,LED全彩软灯条硬灯条,LED护栏管。 ● LED点光源,LED像素屏,LED异形屏,各种电子产品,电器设备跑马灯。
WS2812B
智能外控集成 LED 光源
主要特点
● IC控制电路与LED点光源公用一个电源。 ● 控制电路与RGB芯片集成在一个5050封装的元器件中,构成一个完整的外控像素点。 ● 内置信号整形电路,任何一个像素点收到信号后经过波形整形再输出,保证线路波形畸变不会累加。 ● 内置上电复位和掉电复位电路。 ● 每个像素点的三基色颜色可实现256级亮度显示,完成16777216种颜色的全真色彩显示,扫描频率不低于
产品概述
WS2812B是一个集控制电路与发光电路于一体的智能外控LED光源。其外型与一个5050LED灯珠相同,每 个元件即为一个像素点。像素点内部包含了智能数字接口数据锁存信号整形放大驱动电路,还包含有高精度的内 部振荡器和12V高压可编程定电流控制部分,有效保证了像素点光的颜色高度一致。
数据协议采用单线归零码的通讯方式,像素点在上电复位以后,DIN端接受从控制器传输过来的数据,首先 送过来的24bit数据被第一个像素点提取后,送到像素点内部的数据锁存器,剩余的数据经过内部整形处理电路 整形放大后通过DO端口开始转发输出给下一个级联的像素点,每经过一个像素点的传输,信号减少24bit。像素 点采用自动整形转发技术,使得该像素点的级联个数不受信号传送的限制,仅仅受限信号传输速度要求。
注:其中 D1 为 MCU 端发送的数据,D2、D3、D4 为级联电路自动整形转发的数据。
3/4
http://www.world-semi.cm
WS2812B
智能外控集成 LED 光源
24bit 数据结构:
G7 G6 G5 G4 G3 G2 G1 G0 R7 R6 R5 R4 R3 R2 R1 R0 B7 B6 B5 B4 B3 B2 B1 B0
LED具有低电压驱动,环保节能,亮度高,散射角度大,一致性好,超低功率,超长寿命等优点。将控制电 路集成于LED上面,电路变得更加简单,体积小,安装更加简便。
机械尺寸(单位mm)
1/4
机械尺寸与引脚图(单位mm):
WS2812B
智能外控集成 LED 光源
范围
+3.5~+5.3 -0.5~VDD+0.5
-25~+80 -40~+105
单位
V V ℃ ℃
电气参数(如无特殊说明,TA=-20~+70℃,VDD=4.5~5.5V,VSS=0V)
参数
输入电流 高电平输入 低电平输入
滞后电压
符号
II VIH VIL VH
最小
—— 0.7VDD —— ——
典型
—— —— —— 0.35
60-120 S <3℃/S 183℃ 60-150 S 215 ℃ <10 S <6℃/S <6 min
B
无铅回流焊 150℃ 200℃
60-180 S <3℃/S 217℃ 60-150 S 250℃ <10 S <6℃/S <6 min
回流焊注意事项:
1. 在使用前请将产品放在 65-70 度的烤箱中烘烤 24 小时。 2. 从烤箱中拿出来后在 2 小时内即使用完毕。 3. 没有使用的产品及时放回烤箱中。 4. 换班或晚上休息时贴片完成的过完炉再下班,没有贴片的及时放回烤箱。
引脚功能 :
序号
1 2 3 4
符号
VDD DOUT VSS
DIN
管脚名
电源 数据输出
地 数据输入
功能描述
供电管脚 控制数据信号输出 信号接地和电源接地 控制数据信号输入
最大额定值(如无特殊说明,TA=25℃,VSS=0V)
参数
电源电压 逻辑输入电压
工作温度 储存温度
符号
VDD VI Topt Tstg
注:高位先发,按照 GRB 的顺序发送数据。
典型应用电路:
4 DIN 3
3
4
3
4
WS2812B
DOUT VSS
VDD DIN
WS2812B
DOUT VSS
VDD DIN
WS2812B
DOUT VSS
VDD DIN
U1
U2
U1
DOUT2
1
2
1
2
1
5V
5V C2 104
5V C1 104
C1 104
C
回流焊指引