, Description LEDDriverController is LED river controller with key-scan interace, MCU iital interace, ata latch, LED hih pressure river, key-scan is interate into a sinle chip. main apply or rie, air conition an home theatre as hih-se isplay river. 2. Feature Power CMOS technoloy Display moe 0se 8ri Key-scan(8 3bit) Gray ajust circuit(uty ratio 8 level is ajustable) Serial connection (,,) Oscillation type: RC oscillation(450hz+5%) Buil-in power-on reset circui SOP28 packae 3. Pin einition 2 3 4 5 6 7 8 9 0 2 3 4 K SEG/KS SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 SEG9 SEG0 GND GRID GRID2 GRID3 GRID4 GRID5 GRID6 GND GRID7 GRID8 28 27 26 25 24 23 22 2 20 9 8 7 6 5 - -
4. Pin unction einition LEDDriverController Symbol Pinname escription Data input/output Input/output serial ata urin the risin o shit clock, rom low. Chip select Initialize serial interace urin the allin/risin ee, then receive instruction. The irst byte as instruction when is low, another isposal woul be close urin hanle the instruction. woul be inore when is hih. Clock input Output/input serial ata at the risin ee K~ SEG/KS~ SEG8/KS8 SEG9~SEG0 Key-scan ata input output (sement) output (sement) ata inputte into the Pin woul be latch ater isplay cycle close. Sement output, P pipe open-rain output Sement output, p pipe open-rain output GRID~GRID8 Output(ri) Gri output, N pipe open-rain output Loic power 5V±0% GND Loic roun Connect roun system Note: output ata is N pipe open-rain output, when rea key eman connect K-0K risin resistance. We promote 0K risin resistance. The rea ata is unsteay urin control N pipe action at the allin ee o shit close. You coul reer to below chart(6), the ata is steay urin the risin ee. VCC 芯片内部电路 0K CT GND - 2 -
5. Display reister aress an isplay moe The reister transmits ata rom outsie evice to via serial interace, aress rom00h-0fh total 6 byte units. An separately correspon with LED liht o chip SGE an GRID pin. As below chart: Write LED isplay ata rom hih to low o isplay aress, rom low to hih o ata byte. SEG SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG0 X X X X X X xxhl( 低四位 ) xxhu( 高四位 ) xxhl( 低四位 ) xxhu( 高四位 ) B0 B B2 B3 B4 B5 B6 B7 B0 B B2 B3 B4 B5 B6 B7 00HL 00HU 0HL 0HU GRID 02HL 02HU 03HL 03HU GRID2 04HL 04HU 05HL 05HU GRID3 06HL 06HU 07HL 07HU GRID4 08HL 08HU 09HL 09HU GRID5 0AHL 0AHU 0BHL 0BHU GRID6 0CHL 0CHU 0DHL 0DHU GRID7 0EHL 0EHU 0FHL 0FHU GRID8 chart(2) Write LED isplay ata rom hih to low o isplay aress, rom low to hih o ata byte. For on t use SEG output interace, please input 0 into correspon BIT aress. 6. key-scan an key-scan ata reister Key-scan rame is 8 3bit, as chart(3): K Chart(3) Key-scan ata stock aress as chart(4), ater sen rea key instruction, start to rea key ata BYTE-BYTE4, rea ata rom low to output, when press pin o chipk an KS, the BIT o correspon byte is. KS KS2 KS3 KS4 KS5 KS6 KS7 KS8-3 -
B0 B B2 B3 B4 B5 B6 B7 K X K X KS KS2 BYTE KS3 KS4 BYTE2 KS5 KS6 BYTE3 KS7 KS8 BYTE4 Chart(4) Note:, rea up to 4 byte, no more than 4. 2, rea ata byte just rom BYTE-BYTE4 in turn, cannot cut across byte to rea. For example: when press the key correspons with an KS8, i want to rea this key s ata, must rea the 4th byte the 5th bit, then can et the ata; when K an KS8, an KS8, an KS8 press in the same time, the B4,B5 an B6 o BYTE4 s ata is. 3. Combination key just is same KS, ierent K pin. Same K an ierent KS cannot combine toether as key combination. 7. Instruction escription Instruction to set isplay moe an LED river status. Input the st byte as an instruction at allin ee. Ater coin, et the hihest byte o B7,B6 to istinuish ierent instruction. B7 B6 instruction 0 Datainstructionset 0 Displaycontrolinstructionset Aressinstructionset 7. ata instruction set The instruction to set ata writes an rea, Ban B0 cannot be set 0 or. MSB LSB B7 B6 B5 B4 B3 B2 B B0 Function instruction 0 0 0 Data write Write ata to reister 0 0 moe set Rea key-scan ata Not 0 0 Auto aress a avaiable, Aress a 0 moe set input 0 Fixe aress 0 0 test moe Normal moe 0 set(inner use) Test moe - 4 -
7.2 Aress instruction settin MSB LSB B7 B6 B5 B4 B3 B2 B B0 Display aress 0 0 0 0 00H 0 0 0 0H 0 0 0 02H 0 0 03H 0 0 0 04H 0 0 05H 0 0 06H Not 0 07H avaiable, input 0 0 0 0 08H 0 0 09H 0 0 0AH 0 0BH 0 0 0CH 0 0DH 0 0EH 0FH The instruction is to set isplay reister aress I aress set 0H or hiher, ata woul be inore, till available aress is set. When power on, aress eault 00H. 7.3 isplay control MSB LSB B7 B6 B5 B4 B3 B2 B B0 Function escription 0 0 0 0 Setpulsewithis/6 0 0 0 Setpulsewithis2/6 0 0 0 Clean Setpulsewithis4/6 0 0 liht Setpulsewithis0/6 0 0 0 quantity Setpulsewithis/6 Irrelevant 0 0 set term,input Setpulsewithis2/6 0 0 0 Setpulsewithis3/6 0 Setpulsewithis4/6 0 0 Display Showturno 0 turn on/o set Showturnon 8. serial ata transmit pattern: Rea an receive bit shoul at the risin ee o shit clock. - 5 -
8. ata receive (write ata) LEDDriverController 2 3 4 5 6 7 8 B0 B B2 B3 B4 B5 B6 B7 8.2 ata rea 2 `````` 8 B0 B `````` B7 B0 B B2 B3 送读按键命令 Twait 读取按键数据 Notice: When rea ata, set instruction rom the 8th risin ee o clock to allin ee to rea ata that eman a waitin time Twait(min μs). 9. Display an key () Display, Driver common cathoe: SEG SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 GRID SEG SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 A DPY a B C b D E e c F G [LEDn] GRID Chart(7) Chart(7) is sketch map or common cathoe iitron connection, i eman the nixie tube isplay 0, SEG,SEG2,SEG3,SEG4,SEG5,SEG6shoulbehihlevel,SEG7islowlevelwhenGRIDis lowlevel. Pleasereertochart(2)isplayaressorm,justwriteata3FHin00Haressunit tomakenixietubeshow 0. - 6 -
SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG 0 0 00H B7 B6 B5 B4 B3 B2 B B0 2. Driver common anoe nixie tube GRID GRID2 GRID3 GRID4 GRID5 GRID6 SEG GRID GRID2 GRID3 GRID4 GRID5 GRID6 GRID7 A DPY a B C b D E e c F G [LEDn] SEG GRID7 chart(8) chart(8) is sketch map or common anoe iitron connection, i eman the nixie tube isplay 0, SEG,SEG2,SEG3,SEG4,SEG5,SEG6shoulbehihlevel,SEG7islowlevelwhenGRIDis lowlevel.pleaseinput0hinto00h,02h,04h,06h,08h,0ah,aninput00hintotherest aressunit. SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG 0 0 0 0 0 0 0 00H 0 0 0 0 0 0 0 02H 0 0 0 0 0 0 0 04H 0 0 0 0 0 0 0 06H 0 0 0 0 0 0 0 08H 0 0 0 0 0 0 0 0AH 0 0 0 0 0 0 0 0 0CH B7 B6 B5 B4 B3 B2 B B0 Notice:SEG-0isopen-rainoutput,GRID-0isNpipeopen-rainoutput,urinthe use,segjustcanconnectledanoe,gridconnectcathoe. (2)KEY: Followchart(9)toobserveSEG/KSanSEG2/KS2,theoutputkey-scanwaveaschart(0) - 7 -
接示波器探头 接示波器探头 2 vcc R k R2 k K SEG/KS SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 SEG9 SEG0 GND GRID GRID2 GRID3 GRID4 GRID5 GRID6 GND GRID7 GRID8 CHART(9) TheSEGN/KSNwaveoICboarscannin: SEG/KS SEG2/KS2 SEG3/KS3 SEGN/KSN Tisp=500us Chart(0) TisprelatewithICworkrequency,hasbeenimprovemanytimesanoscillation requencyon tentirelysame.500usjustorreerence,pleasemeasureorexactata. Normalsituationpleaseusechart(),thatcanmeettheemanokeyesin. K S S3 S5 S2 S6 S4 SGE/KS SGE/KS2 Chart() SGE/KS3 WhenpressS,BOatthe st byterea,imultiplekeyispresse,woulreamultiple NOTE:Compositekeyusenotice SEG/KS-SEG0/KS0isorisplayankeyscan.chart(2)asexample,isplayemanliht D,lihtoutD2,SEGshoulbe,SEG2is 0,iS,S2presseatthesametime, - 8 -
thatequaltoseg,seg2isshortcircuit,thend,d2allliht. SGE/KS S SGE2/KS2 S2 D D2 GRID Chart(2) K SOLUTION:.inharware,coulsetthekeyneepressatthesametimetoierentK-line,as chart(3) SGE/KS D D2 S S2 GRID GRID2 K 2.SerialresistanceinSEG---SEGNlikechart(4),thevalueoresistanceshoulbe 50Ω, too hih will invali key, too low cannot solve isturb problem. SGE/KS 50 S SGE2/KS2 D D2 50 S2 3.serialconnectionLEDaschart(5) SGE/KS GRID Chart(4) S K SGE2/KS2 D D2 S2 GRID Chart(5) K 0.Transmitoserialatawhenapplication 0.Aressamoe Usearessauto-amoe,setaressactuallyissetaoriinalaressorstock transmitata.oncesenovertheoriinalaressinstructionbyte, on teman sethihanollowcloselytotransmitata,upto4byte.atersenovertheata, - 9 -
coulbesethih. LEDDriverController Comman Comman2 Comman3 Data Data2 ``````` Data n Comman4 Comman:setisplaymoe Comman2:setatainstruction Comman3:setisplayaress Data-n:transmitisplayatatoComman3aressanbehinaress(upto4bytes) Comman4:isplaycontrolinstruction 0.2ixearessmoe Useixearessmoe,setaressactuallyissetanaressorstockemantransmit ata.oncesenoveraress, on temansethih,anollowcloselytotransmit ata,atersenovertheata, coulbesethih.thenresetaresstostock the2eata,upto6byteissenover, sethih. Comman Comman2 Comman3 Data Comman4 Data2 ``````` Comman5 Comman:setisplaymoe Comman2:setatainstruction Comman3:setisplayaress Data:transmitisplayatatocomman3aress Comman4:setisplayaress2 Data2:transmitisplayata2tocomman4aress Comman5:isplaycontrolinstruction 0.3 Rea key timin Comman Data Data2 Data3 Data4 Comman: set isplay moe Data-4: rea key ata 0.4 proceure esin low chart proceure esin low chart or aress auto-a - 0 -
No LEDDriverController 开始 初始化 No 设置读键数据命令 ( 42H) 设置写显存的数据命令, 采用地址自动加 ( 40H) 读 BTYE 内容 设置起始地址 ( 0C0H) 将按键值存放在 MCU 的寄存器中 No 传送数据 读完 4BYTE 吗? 6BYTE 数据传送完毕了? Yes 传显示控制命令设置最高亮度 ( 8FH) Yes Yes 有按键被按下吗? 按键处理程序 结束 Proceureesinlowchartorixearess - -
No LEDDriverController 开始 传显示控制命令设置最高亮度 ( 8FH) 初始化 设置读键数据命令 ( 42H) 设置写显存的数据命令采用固定地址 ( 44H) No 读 BTYE 内容 设置地址 ( 0C0H) 将按键值存放在 MCU 的寄存器中 传送 BYTE 数据 读完 4BYTE 吗? 重新设置地址 ( 0CH) 传送 BYTE 数据 Yes Yes 有按键被按下吗? 传完所有的数据 按键处理程序 结束 - 2 -
. Application circuit. river common anoe iit screen harware circuit, as chart(6): LED GR a DPY GR3 c b GR4 GR7 p GR8 p LED7 GR a DPY GR3 c b GR4 GR7 p GR8 p LED3 GR a DPY GR3 c b GR4 GR7 p GR8 p SG SG2 SG3 LED2 GR a DPY GR3 c b GR4 GR7 p GR8 p LED8 GR a DPY GR3 c b GR4 GR7 p GR8 p LED4 GR a DPY GR3 c b GR4 GR7 p GR8 p SG4 SG5 SG6 LED3 GR a DPY GR3 c b GR4 GR7 p GR8 p LED9 GR a DPY GR3 c b GR4 GR7 p GR8 p LED5 GR a DPY GR3 c b GR4 GR7 p GR8 p SG7 SG8 SG9 LED4 GR a DPY GR3 c b GR4 GR7 p GR8 p SG0 SG8 SG7 SG6 SG5 SG4 SG3 SG2 SG S2 S5 S8 S S4 S7 S20 S23 S3 S6 S9 S2 S5 S8 S2 S24 K S25 S26 S27 S28 S29 S30 S3 S32 VCC C 00uF C2 04 注 : 滤波电容与芯片, GND 之间回路尽量短. VCC Chart(6) K SG SG2 SG3 SG4 SG5 SG6 SG7 SG8 SG9 SG0 IC? K SEG/KS SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 SEG9 SEG0 GND GRID GRID2 GRID3 GRID4 GRID5 GRID6 GND GRID7 GRID8 GR GR2 GR3 GR4 GR5 GR7 GR8 R3 0K R2 0K R 0K C3 C4 C5 0 0 0 VCC.2 Driver common cathoe iit screen harware circuit, as chart(7): - 3 -
DVD VCD MP3 PBC ts DDD SG SG2 SG3 SG4 SG5 SG6 SG7 SG8 GR GR2 GR3 GR4 GR5 GR7 GR8 a b c e h 2 3 4 5 6 7 8 VCC C 00uF C2 04 注 : 滤波电容与芯片, GND 之间回路尽量短. VCC K SG SG2 SG3 SG4 SG5 SG6 SG7 SG8 SG9 SG0 K SEG/KS SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 SEG9 SEG0 GND GRID GRID2 GRID3 GRID4 GRID5 GRID6 GND GRID7 GRID8 GR GR2 GR3 GR4 GR5 GR7 GR8 R3 0K R2 0K R 0K C3 C4 C5 0 0 0 VCC SG8 SG7 SG6 SG5 SG4 SG3 SG2 SG S2 S5 S8 S S4 S7 S20 S23 S3 S6 S9 S2 S5 S8 S2 S24 K S25 S26 S27 S28 S29 S30 S3 S32 Chart(7) Notice:.theiltercapacitybetweenanGNDshoulnearchipwhenPCBlayout toenhanceiltereort. 2.The300pcapacityconnect,,portcoulreucetheintererence tocommunicationport. 3.becausethebreak-overreucevoltaeoblue-rayiitronabout3V, supplyelectronicshoulchoose5v. 2. Electric parameter Limit parameter(ta = 25, Vss = 0 V) Parameter Symbol Rane Unit Loicpowervoltae -0.5~+7.0 V Loicinputvoltae VI -0.5~ +0.5 V LEDSeriveroutput current LEDGririveroutput current IO -50 ma IO2 +200 ma Powerconsumption PD 400 mw - 4 -
Worktemperature Topt -40~ +80 Stocktemperature Tst -65~+50 Normal work rane(ta = -20 ~ +70,Vss = 0 V) Parameter Symbol Min Typical Max Unit Test conition Loicpowervoltae 5 V - Hihlevelinputvoltae VIH 0.7 - V - Hihlevelinputvoltae VIL 0-0.3 V - Electriceature(Ta=-20~ +70,=4.5~ 5.5V, Vss=0 V Parameter Symbol Min Typical Max Unit Testconition Hihleveloutput current Ioh -20-25 -40 ma Ioh2-20 -30-50 ma Se~Se, Vo=v-2V Se~Se, Vo=v-3V Lowleveloutput current IOL 80 40 - ma Gri~Gri6 Vo=0.3V Lowleveloutput current Capacityorhih leveloutput current Outputallin resistance Iout 4 - - ma VO=0.4V,out Itols - - 5 % VO= 3V, Se~Se RL 0 KΩ K~ Inputcurrent II - - ± μa VI=/VSS Hihlevelinput voltae Lowlevelinput voltae VIH 0.7 VIL - - - V,DIN, 0.3 V,DIN, Delayvoltae VH - 0.35 - V,DIN, - 5 -
Activecurrent consumption LEDDriverController IDDyn - - 5 ma Noloa,showturn-o Switcheature(Ta=-20~ +70,=4.5~ 5.5V) Parameter Symbol Min Typical Max Unit Testconition Oscillation osc - 500 - KHz R=6.5KΩ Transmitelay time tplz - - 300 ns DOUT tpzl - - 00 ns CL=5pF,RL=0KΩ TTZH - - 2 μs Se~Se Risintime TTZH 2 - - 0.5 μs CL= 300pF Gri~Gri4 Se2/Gri7~ Se4/Gri5 Fallintime TTHZ - - 20 μs CL=300pF,Sen, Grin Maxclock requency Fmax - - MHz Dutyratio50% Inputcapacity CI - - 5 pf - Timin eature(ta = -20 ~ +70, = 4.5 ~ 5.5 V) Parameter Symbol Min Typical Max Unit Testconition Clockpulsewith PW 400 - - ns - Gatepulsewith PW - - μs - Databuilin time tsetup 00 - - ns - Datastocktime thold 00 - - ns - time t - - μs Waitintime twait - - μs - 6 -
Timinwavechart: - 7 -
3.PackaeSize LEDDriverController - 8 -