STTH1602C
1602C使用说明书
TJDM/DM1602C 字符型液晶显示器规格书
一.概述
TJDM/DM1602C 是一种字符型液晶显示器。可显示 32 个 5x8 点阵的字符, 每个字符是由组成的字符块集。它主要采用动态驱动原理由行驱动—控制 器和列驱动器两部分组成了 80(列)×16(行)的全点阵液晶显示。此显示器 采用了 COB 的软封装方式,通过导电橡胶和压框连接 LCD,连接可靠,使其 寿命长。
========================================================================================================== - 6 - 西安东显电子 http://kydz.web.jonweb.net
L
L
LLLLLLLH
L
L
L L L L L LHX
L
L
L L L L L H I/D SH
L
L
L L L LHDCB
L
L
L L L H S/C R/L X X
L
L
L L H DL N F X X
L L L H A5 A4 A3 A2 A1 A0
L L H A6 A5 A4 A3 A2 A1 A0
L
H
2)归 HOME 位(02H)
格式
0
0
0
0
0
0
1
0
将 AC 清零。将光标或闪烁位返回到显示屏的左上第一字符位上,即 DDRAM 的 00H 单元;或撤消画面的滚动效果,将画面拉回到 HOME 位。
3)输入方式设置(04H~07H)
格式
0
0
0
0
0
LCD1602液晶显示C程序
1、关于1602液晶的电气参数一般市场上的1602液晶使用的驱动器为HD44780U或HD44780S,市场上大部分液晶用的是后者。
HD44780S的供电电压为5V±10%,而HD44780U的供电电压为2.7V~5.5V。
也就是说,绝大部分1602液晶只能工作在5V电压下,其供电电压必须为5V。
经过试验发现,1602液晶的供电虽然必须为5V,但其控制总线和数据总线可以用3.3V电平(因为对于TTL电平,一般大于2.5V以上都算高电平,不过最可靠的是大于3.6V),只不过在3.3V电平下,数据的通信速度会大大降低,这一点需要在写驱动时注意。
需要时,可以将MCU的IO配置为漏极开路方式,用上拉电阻拉到5V电平;实在不能配置为漏极开路方式时,请查阅MCU的电气参数,在允许的条件下,直接使用电阻弱上拉也可以。
2、硬件连接1602液晶可以使用4位或8位通信模式,通信可以是双向的或单向的,双向通信主要是为了读取LCD忙标志和AC地址寄存器和DDRAM和CGRAM中的值,一般用处不大,因为1602不支持点阵绘图功能。
在连接时,注意4位通信方式下,LCD只使用DB7~DB4,一般情况下会使用MCU 某端口的高4位或低4位与之连接,注意写驱动时在必要的情况下对端口的其它几位要保护,防止破坏其数据;当然如果没有使用其它4位时则不必要保护(奇怪,不使用其它4位干嘛用4位通信方式嘛?)。
还要注意的是,如果需要双向通信,则必须选择既能做输入又能做输出的IO口,特别是对于RS、RW和E这三条控制线,若能选择支持位寻址的IO口则可以方便编程。
3、底层驱动问题通用1602液晶的时序如图:(1)、写时序(2)、读时序总的说来,按照这个时序图来编写驱动程序是不会出什么问题的,只是要深刻理解时序图中各参数的涵义。
编程中要特别关注E这根控制线。
写操作的时序应该是:①、RS=0(写指令寄存器)或RS=1(写数据寄存器);②、RW=0(写操作);③、将数据写到数据线上;④、E=1;⑤、E=0 。
电子电路
深圳市明烽威电子有限公司2SK3878代替2611TOS KA5M0380RYDTU FSC2SK4107代替K2698TOS KA7810E FAIRCHILD 2SK4108代替K2837TOS KA7905TU三星TTK2698TOS KA7910TU IR2SK2611TOS袋KA7912TIU FSC2SK4112可代4111TOS KB-48S24-20W DYMK05 30CPH03PBF VIS IHW25N120R2INF30CPQ045PBF IR KIA50N06KIA30CPQ045IR KIA7N60-塑KIA30CPQ060PBF IR L6561ST30CPQ100PBF C IR L6561DTR ST30CPQ150PBF C IR L6562DTR ST30CTQ045PBF C IR L6562N ST30CTQ045STRLPBF IR L6574ST30CTQ060PBF VIS L6574D ST30CTQ060SPBF IR L7805ACV ST30CTQ060 M IR L78M05ST30CTQ100PBF C VIS L78M12CDT-TR ST30EPH03PBF IR L7805CV ST30EPH06PBF C IR L7808国产ST30ETH06PBF IR L78M15ST30TPS12PBF VIS L7812CV ST32CTQ030PBF VIS L7815CV ST32CTQ030STRL IR L7818CV-摩洛哥ST32CTQ030STRLPBF VIS L7824CV ST40cpq045IR 01+L7912CV ST40CPQ045PBF C VIS LL4148-LL34-ST ST40CPQ050IR LM2576T-ADJ NS40CPQ060PBF C VIS LM324DT ST40CPQ100PBF C IR LM358ST40CPQ100 C IR LM386L UTC40CTQ045S IR LM4041C1M3X-1.2MIC40EPF06PBF VIS LM556L UTC40EPF10PBF VIS LT1280ACN ST40EPF12PBF VIS MBR0520IR40EPS08PBF M IR MBR1045ON40EPS12PBF VIS MBR1045-E3/45VISHAY40L15CT IR MBR1045PBF IR40L15CTPBF IR MBR1545CT IR40TPS08PBF VIS MBR1545CT VISHAY40TPS12APBF C IR MBR1545CTG ON40TPS12PBF C IR MBR20100CTG ON42CTQ030PBF IR MBR20100CTKPBF-中国IR43CTQ100PBF IR MBR20200CTG ON42CTQ020IR MBR2045CTG ON48CTQ060STRPBF VIS MBR2060CT-E3/45VISHAY50WQ10FNTRPBF VIS MBR20H100CTG ON60CPQ150PBF VIS MBR20T100CT IR60CTQ150PBF C VIS MBR2545CT IR60EPF10PBF VIS MBR2545CTG ON60EPU04IR MBR3045STG ON63CPQ150PBF IR MBR3045WT IR63CPQ100PBF IR MBR3045WTPBF IR6CWQ04FNTR IR MBR4045CT IR6TQ045PBF VIS MBR4045WTPBF IR70TPS12PBF IR MBR4060PT-E3/46VISHAY70TPS16PBF VIS MBR6045WT IR72CPQ030PBF IR MBR6045WTPBF-中国VISHAY80CPQ150PBF C IR MBR745IR80EPF12PBF VIS MBR745VISHAY8E2TX06-E C VIS MBRB20100CTPBF ON 07+8ETH06PBF IR MBRB20100CTT4G IR8ETX06PBF VIS MBRB20100CTTRLP VISHAY8ETH03STRPBF IR 07+MBRF20100CTG-全塑ON15ETH06SPBF IR MC34063科威8EWS08SPBF VIS MC7812CTG ONBUX48A ML ST MC7905CT ONBYV26E-TAP VIS MC79M12CT ONBYV26C-TAP VIS MCR100-6ONBYV27-200-TAP VIS MCR100-8ONCED13N07华瑞CET MD/TC110A JDQ0019 DSEI12-12A IXYS MDD2N60RH韩国美格纳DSEI30-06A IXYS MDD4N60RH韩国美格纳DSEI30-10A IXYS MDD5N50RH韩国美格纳DSEI30-12A IXYS MDF10N60GTH-全塑韩国美格纳DSEI60-06A IXYS MDF11N60TH-全塑韩国美格纳DSEI8-06A IXYS MDF13N50TH-全塑韩国美格纳DSEI60-12A IXYS MDF13N65BTH韩国美格纳DSEP12-12A IXYS MDF15N60GTH-全塑韩国美格纳DSEP15-06A IXYS MDF18N50TH-全塑韩国美格纳ESAD92-02FUJI MDF2N60TH-全塑韩国美格纳ESAD92M-03FUJI MDF4N60TH-全塑韩国美格纳FDA50N50FSC MDF5N50TH-全塑韩国美格纳FDP18N50FSC MDF7N50TH全塑韩国美格纳FDPF12N60NZ FSC MDF7N60BTH-全塑韩国美格纳FQPF47P06FSC MDF7N65BTH-全塑韩国美格纳FQPF12N60CT FSC MDF8N60TH-全塑韩国美格纳FDPF18N50FSC MDF9N50TH-全塑韩国美格纳FGA15N120ANDTU FSC MDF9N60TH-全塑韩国美格纳FGA25N120ANTDTU FSC MDI2N60TH韩国美格纳FGH40N60SFDTU FSC MDI4N60TH韩国美格纳FGL40N120ANDTU FSC MDI5N50TH韩国美格纳FGL60N100BNTD FSC MDI6N60TH韩国美格纳FJA13009TU FSC MDP10N50TH-铁头韩国美格纳FMH23N50E FUJI MDP11N60TH-铁头韩国美格纳FMH21N50ES(可代FMH23N50E)FUJI MDP12N50TH-铁头韩国美格纳FMV11N60ES FUJI MDP13N50TH-铁头韩国美格纳F0160H03A5B IR MDP18N50TH-铁头韩国美格纳FQA140N10FSC MDP2N60TH- 铁头韩国美格纳FQA24N50FSC MDP4N60TH-铁头韩国美格纳FQA28N50FSC MDP5N50TH-铁头韩国美格纳FQA38N30FSC MDP6N60TH-铁头韩国美格纳FQA40N25FSC MDP7N50TH-铁头韩国美格纳FQA9N90C FSC MDP7N60TH-铁头韩国美格纳FQL40N50FSC MDP8N60TH-铁头韩国美格纳FQP10N60C FSC MDP9N50TH-铁头韩国美格纳FQP12N60C FSC MDP9N60TH-铁头韩国美格纳FQP13N50C FSC MDS200A JDQ00113 FQP2N90FSC ME75N80C松木FQP3N80FSC MJ11015ONFQP4N90FSC MJ11016ONFQP50N06FSC MJ11032ONFQP50N06L FSC MJ15003ONFQP5N60C FSC MJ15004ONFQP5N80FSC MJ15015G ONFQP6N60C FSC MJ15024ONFQP6N80C FSC MJ15025G ONFQP6N90C FSC MJ2955STFQP8N80C FSC ML62153MR ML1FQP9N25C FSC ML62332MR ML2FQP9N50C FSC MO1N60ONFQPF10N60C FSC MO1N60TR ONFDPF13N50NZ FSC MOC3022FAIRCHILD FQPF13N50C FSC MUR1100ERLG ONFQPF3N80C FSC MUR880E ONFQPF4N90C FSC MUR120RLG ONFQPF5N60C FSC MUR1510ONFQPF630FSC MUR1520ONFQPF6N60C FSC MUR1540G ONFQPF6N80C FSC MUR1520G ONFQPF6N90C FSC MUR1560G ONFQPF7N65C FSC MUR1620CT IRFQPF7N80C FSC MUR1620CTG ONFQPF8N60C FSC MUR1660CTG ONFQPF8N80C FSC MUR1620CTR ONFQU2N90TU FSC MUR3020WTPBF-中国IRHFA08PB120IR MUR420RLG ONHFA08PB60IR MUR460G ONHFA08TB60PBF C VIS MUR460RLG ONHFA15PB60IR MUR8100EG ONHFA15PB60PBF IR MUR860G ONHFA15TB60PBF VIS MURF860G ONHFA25PB60PBF C VIS TK4A60DAR TOS-C粉HFA30PA60CPBF VIS NDF04N60ZG ONHFA30TA60CPBF VIS NDF10N60ZG ONHFA50PA60CPBF IR PHB96NQ03LT NXPHFP50N06华汕PS21867-P FUJI HGTG11N120CND FSC PS2501-1-DIP GC001114 HGTG30N60A4D FSC RHRG30120FSCIHW20N120R3=H20R1203INF RHRG75120FSCIPB26CN10NG INF RHRP15120FSCIPP120N06NG INF RHRP1560FSCIR1150IPBF IR RHRP30120FSCIR1150ISTRPBF IR RHRP3060FSCIR1150ISTRPBF IR RHRP8120FAIRCHILD IR1150PBF IR RHRP860FSCIR2010IR IPP200N15N3G INFINEON IR2011S IR S1217MH STIR2011PBF IR SFR9220TM FSCIR2015STR IR SFU9220TU FSCIR2085STR IR SG3525ANG ONIR2086S IR KA3525A FSCIR2101PBF IR SGH10N60RUFDTU FSCIR2101STR IR SGH40N60UFD FSCIR2101STRPBF IR FGH60N60SFDTU FSCIR2102STRPBF IR FGH60N60SMD FSCIR2103STRPBF IR SGH80N60UFD FSCIR2104PBF IR SGL160N60UFD FSCIR2104STRPBF IR SIHFB20N50K-E3VISHAYIR2106IR SIHFIB11N50A-E3VISHAYIR2106S IR SIHFIB9N60A-(IRFIB9N60A)VISHAYIR2106STR IR SIHFIB9N65A-E3VISHAYIR2106STRPBF IR SIHG20N50C-E3VISHAYIR21084PBF IR SIHG47N60S-E3VISHAYIR21084S IR SIHP18N50C-E3VISHAYIR21084STR IR SIHP22N60SPBF VISHAY IR2108S IR SPP11N60C3INFINEON IRS2108STRPBF IR SPP20N60C3INFINEON IR2109IR SPA20N60C3INFINEON IR21094STRPBF IR SPU07N60C3STIR2109PBF IR SGH20N60RUFD FSCIR2109STRPBF IR SPW20N60C3INFINEON IR2110-1PBF IR SPW47N60C3INFINEON IR2110PBF IR SSH10N60B FSCIR2111IR STP4NK80ZFP STIR2110STRPBF IR STF7NK30Z STIR2111PBF IR STF23NM50N STIR2111STR IR STK06N60INFINEON IR2111STRPBF IR STK630F AUKIR2112IR STK7508P AUKIR2112S IR STP10NK50ZP STIR2112STRPBF IR STP10NK60ZFP STIR2113-2PBF IR STP11NK50ZFP STIR2113PBF IR STP12NM50ZFP STIR2113S +09IR STP14NK50ZP STIR2113STRPBF IR STP30NF10-摩洛哥STIR2113STRPBF +05IR STP30NF10-中国STIR2117IR STP3NK60ZFP STIR2117PBF IR STP3NK60Z STIR2117STR IR STP3NK90Z STIR2118STRPBF IR STP3NK90ZFP STIR2121IR STP4NK60ZFP STIR2121PBF IR STP4NK60ZP STIR2125STRPBF IR STP4NK60Z-短脚STIR21271IR STP55NF06-菲律宾/C STIR21271STRPBF IR STP55NF06-摩洛哥STIR2127S IR STP55NF06-中国STIR2132STRPBF IR STP5NK50Z STIR2130JPBF IR STP5NK60Z STIR2130PBF IR STP60NF06-菲律宾STIR2130STRPBF IR STP60NF06-摩洛哥STIR2132JTRPBF IR STP65NF06-中国STIR2136IR STP6NC80Z STIR2136S IR STP6NK60ZP STIR2136STRPBF IR STP75NF75-摩洛哥STIR2151IR STP75NF75-中国STIR2151PBF IR STP7NK80Z STIR2151SPBF IR STP80NF10STIR21531IR STP80NF70STIR21531PBF IR STP80NF70FR STIR21531S IR STP8NK80ZFP STIR21531STR IR STP9NK50ZFP STIR2153PBF IR STP9NK60ZP STIR2153STR IR STP9NK60ZFP STIR2153STRPBF IR STPS2045CTC STIR2155PBF IR STPS20H100CT STIR2156S IR STPS20S100CT STIR2156STRPBF IR STPS30150CT STIR21571STRPBF IR STPS30150CW STIR21593PBF IR STPS3045CTC STIR2161PBF IR STPS3045CWC STIR2161STRPBF IR STPS30H100CT STIR2166S IR STPS30H100CW STIR2166SPBF IR STPS30S45CW STIR2166STR IR STPS6045CW STIR21814STRPBF IR STTH1002CT STIR2181STRPBF IR STTH1602CT STIR21844IR STTH2003CFP STIR21844STR IR STTH2003CT STIR2184PBF IR STTH6003CW STIR2184STR IR STTH8R06D STIR2184STRPBF IR STTH8R06FP STIR21834STR IR STTH1602CT STIR2302IR STW14NK50Z STIR2304IR STW20NK50Z STIR2304STR IR STW20NM60STIR2308STR IR STW25NM60N STIR2520DPBF IR STW26NM60N STIR2502DS IR STW70N10F4STIR2520DSPBF IR STW9NK90Z STIR2520DSTR IR SUP40N10-30-E3VISHAY IR2520DSTRPBF IR SUP70N03VISHAY IR4427PBF IR SUP90N10-8M8P VISHAY IR4427S IR TC9411F TOSHIBA IR4427STRPBF IR TC94A23F-505TOSHIBA IR4428IR TIP122TU FSCIR4428STR IR TIP122ST IRAMS10UP60A IR TIP137ST IRCFL1PBF TIP142ST IRCFL1SPBF TIP147TTU FSCIRF1010EPBF M IR TIP35C STIRF1010EPBF TIP36C STIRF1010NPBF M IR TIP41C STIRFR1010ZTRPBF IR TIP42CTU FAIRCHILD IRF1010ZS IR TIP42C STIRF1010ZSPBF IR TIP50C FSCIRF1018EPBF M IR TLE2072TIIRF1310NPBF P IR TM3045N FSCIRF1310NPBF C IR TOP247YN PIIRF1404PBF C IR TLP250TOSHIBA IRF1404PBF M IR TSU2N60M韩国信安IRF1404S IR UA6585STIRF1404STRLPBF IR UC2845A STIRF1404ZPBF M IR UC3842BN ONIRF1405PBF P IR UC3842BD ONIRF1407PBF C IR UC3843BNG ONIRF1407S IR UC3845BNG ONIRF1407STRL IR UC3844BN ONIRF1407STRLPBF IR UC723UTC001 IRF1607PBF M IR UF830L-TA3-T UTCIRF1902TRPBF IR UM6558STIRF2804PBF P IR US207500CT STIR2804S IR V40100PG-E3/45VISHAYIR2804STRLPBF IR VIPER12A STIR2805PBF P IR VIPER22A STIR2805STRR IR12CWQ03FN IRIR2805STRPBF IR VS-12CWQ06FNTRPBF VISHAYIR2807LPBF IR VS-20CTQ150PBF VISHAY IRF2807PBF C IR VS-48CTQ060PBF VISHAY IRF2807STRPBF IR VS-50WQ03FNTRPBF VISHAY IRF2907ZPBF P IR VS-60APU02PBF VISHAY IRF3007PBF IR VS-60APU04PBF VISHAY IRF3205PBF C IR VS-60APU06PBF VISHAY IRF3205STRPBF IR VS-60EPU06PBF VISHAY IRF3205ZPBF C IR VS-IRFB9N60APBF VISHAY IRF3315PBF M IR WFU1N60WISDON IRF3315STRLPBF IR BU406FSCIRF3415PBF IR FFPF30UA60STU FSCIRF3415STRL IR FQP44N10FSCIRF3703PBF M IR IRG4IBC20KD +04IRIRF3704IR STPS4045CW STIRF3707ZCSTRRPBF IR UC2845BN ONIRF3710PBF C IR UC2845B ONIRF3710PBF P IR UC3844BD1R2G ONIRF3710SPBF IR SB10100FCT强茂IRF3710STRLPBF IR SB1060强茂IRF3710ZPBF IR SB20100CT强茂IRF3711STRPBF IR SB1660F强茂IRF3805PBF P IR MBR20100FCT强茂IRF3808PBF IR ER806FIRF4104PBF IR ER803IRF4905L M IR 04+TK10A60D TOSHIBA IRF4905PBF C IR TK12A50TOSHIBA IRF4905PBF P IR TK5A50D TOSHIBA IRF4905STRLPBF IR MX2SK3562TOSHIBA IRF510PBF C IR2SK3568TOSHIBA IRF520ST2SK3561TOSHIBA IRF520NPBF P /M IR2SK3067TOSHIBA IRF520PBF P IR2SK2608TOSHIBA IRF5210PBF P IR2SK2225瑞萨IRF5210STRLPBF IR MX2SK2225瑞萨IRF5305PBF C IR2SK2996TOSHIBA IRF5305PBF M IR FJ13009TH FSCIRF5305S IR FJP13009-2FSCIRF5305STRPBF IR BTA41-600B STIRF530NPBF M IR BTA06-600C STIRF530NSPBF IR BTA16-600B STIRF530NSTRL IR BTA24-800B STIRF530NSTRLPBF IR BTA26-600B STIRF530PBF C IR HFA08SD60STRPBF VISHAY IRF530 M IR SSH70N10A FSCIRF540NPBF M IR FFA60UP30DNTU FSCIRF540NPBF C粉IR STPS40L15CTD STIRF540NSTRLPBF IR RURG8060FSCIRF540PBF C IR IKW75N60T INFINEON IRF540ZPBF M IR IKW25T120(25N120)INFINEON IRF5852TRPBF C IR IKW20N60T INFINEON IRF6100PBF IR IKW40N120T2INFINEON IRF6217TRPBF IR IKW40T120INFIRF610A FSC IKW40N120H3INFINEON IRF610 M IR RJH60F7ADPK RENESAN IRF620三星FCP16N60FSCIRF620B FSC IRF8734TRPBF IR 09+ IRF620PBF C VIS SPB17N80C3INF 10+ IRF6216TRPBF IR IRF7468TRPBF IRIRF624PBF IR IRF7458TRPBF IRIRF630NPBF M IR IRF7380TRPBF IRIRF630NSTRPBF IR TLP621TOSHIBA IRF630PBF C IR STF30NM60ND STIRF630STRR IR IRFS3607PBF IR 10+ IRLR8743TRPBF IR IRF7501PBF IR 07+IRF634IR IRGPS60B120KD IR IRF634PBF VIS FFA30U60DN FSC IRF640NPFB C IR43CTQ100S IR 03+ IRF640NPBF M IR L6599AD ST IRF640NSTRLPBF IR IDW100E60INF IRF640PBF C IR FQA13N80FSC IRF644NPBF IR STPS30L60CT ST IRF644PBF C VIS STGW39NC60VD ST IRF6623TRPBF IR NCP1252ADR2G SMD IRF7101TRPBF IR FAN7554FSC IRF7457TRPBF IR SPW24N60C3INF IRF7103Q IR IRFR2307ZTRLPBF IR IRF7103TRPBF IR IRLR8103VTR IR IRF7104TRPBF IR IRFR3505TRPBF IR IRF7105TR IR FQA11N90C FSC IRF7105TRPBF IR FDPF10N60NZ FSC IRF710PBF C VIS FDPF7N60NZ FSC IRF7201TR IR TYN612MRG ST C IRF7204TRPBF IR L6598D ST IRF7201TRPBF IR IR2301STR IR IRF7205TRPBF IR IPW90R1K0C3INF-C IRF720PBF C IR IRF7807VD1IR IRF7220TR IR IRF7807ZTRPBF IR-P IRF7220TRPBF IR IRF7807VD1TRPBF IR IRF7240TRPBF IR IRF7809A IR IRF7241TRPBF IR IRF7811AVTR IR IRF7303TRPBF IR IRF7811AVTRPBF IR IRF7319TRPBF IR IRF7811WTRPBF IR IRF7304IR IRF7821TRPBF IR IRF7304TRPBF IR IRF7822TR IR IRF7306TR IR IRF7822TRPBF IR IRF7306TRPBF IR IRF7823TRPBF IR IRF7309TRPBF IR IRF7828TRPBF IR IRF7210TRPBF IR IRF7832TRPBF IR IRF730PBF C IR IRF7832UTRPBF IR IRF730BPBF VIS IRF7832ZTRPBF IR 09 IRF7311TR IR IRF7842TRPBF IR IRF7311TRPBF IR IRF7862PBF IR IRF7313IR IRF7910TRPBF IR IRF7313TRPBF IR-P IRF8010PBF P IR IRF7314TR IR IRF8010STRLPBF IR IRF7314TRPBF IR IRF8010STRR IR IRF7316TRPBF IR IRF820ST IRF7324TRPBF IR-P IRF820PBF C VISIRF7328TRPBF IR IRF830APBF C VIS IRF7329IR IRF830B FSC IRF7329TRPBF IR-P IRF830PBF 粉VIS IRF7335D1TRPBF IR IRF830PBF C VIS IRF7338TRPBF IR IRF830SPBF VIS IRF7341QTRPBF IR IRF840APBF M IR IRF7341TRPBF IR IRF840APBF C VIS IRF7342TRPBF IR IRF840STRPBF VIS IRF7343TRPBF IR IRF840ASPBF VIS IRF7353D2PBF IR IRF840ASTRPBF VIS IRF7379PBF IR IRF840A C IR IRF7379TRPBF IR IRF840LCPBF IR IRF7389TR IR IRF840PBF C VIS IRF7389TRPBF IR IRF8707GTRPBF IR IRF7401TRPBF IR IRF8707TRPBF IR IRF7402TR IR IRF8721PBF IR IRF7403TRPBF IR IRF8736TRPBF IR IRF7404TRPBF IR IRF9510PBF C IR IRF7406PBF IR IRF9520NPBF P IR IRF7406TRPBF IR IRF9520NPBF M IR IRF740PBF C VIS IRF9520NSTRL IR 05+ IRF740SPBF IR IRF9530NPBF 粉P IR IRF7410TRPBF IR IRF9530NPBF M IR IRF7413TR IR IRF9530NSTRLPBF IR-MX IRF7413TRPBF IR IRF9520PBF VIS IRF7415TRPBF IR IRF9530PBF C IR IRF7416TRPBF IR IRF9530STRLPBF VIS IRF7424TRPBF IR IRF9540NPBF C IR IRF7425TRPBF IR IRF9540NPBF M IR IRF7450TRPBF IR IRF9540NSTRRPBF IR IRF7451TRPBF IR IRF9540STRLPBF VIS IRF7452TRPBF IR IRF9640STRPBF VIS IRF7455IR IRF9540PBF C VIS IRF7456TRPBF IR IRF9620FSC IRF7459TRPBF IR IRF9620PBF VIS IRF7460TRPBF IR IRF9630PBF C VIS IRF7467TRPBF IR IRF9640PBF C VIS IRF7469TRPBF IR IRF9952TR IR IRF7476TRPBF IR IRF9952TRPBF IR IRF7492TRPBF IR IRF9953TRPBF IR IRF7493TRPBF IR IRF9Z24NPBF M IR IRF7494TRPBF IR IRF9Z24NPBF 韩IR IRF7495TRPBF IR IRF9Z24SPBF VIS IRF7503TRPBF IR IRF9Z34NPBF M IRIRF7506TRPBF IR IRF9Z34NSPBF IR IRF7509TRPBF IR IRF9Z34NSTRPBF IR IRF7530TR IR IRFB11N50APBF C VIS IRF7604PBF IR IRFB13N50APBF M IR IRF7606TR IR IRFB18N50KPBF IR IRF7707IR IRFB20N50KPBF VIS IRF7751TRPBF IR IRFB23N15DPBF P IR IRF7805IR IRFB23N20DPBF IR IRF7805QPBF IR IRFB260NPBF M IR IRF7853TRPBF 10+IR IRFB3077PBF IR IRF7805ZGTRPBF IR IRFB31N20DPBF C IR粉IRF7805ZTRPBF IR IRFB3206PBF P IR IRFRC20TRLPBF IR IRFB3207PBF P IR IRFS23N20DPBF IR IRFB3207ZPBF C IR IRFS4229PBF IR IRFB3306GPBF IR IRFS4310ZPBF IR IRFS3306PBF IR IRFS4310TRLPBF IR IRFB3306PBF P IR IRFS4410PBF IR-CHH IRFB3307ZPBF IR IRFS4410ZPBF IR-CHH IRFB3307PBF IR IRFS4321TRLPBF IR IRFB33N15DPBF M IR IRFS4610TPBF IR IRFB3507PBF M IR IRFS52N15DTRLPBF M IR IRFB3607PBF M IR IRFS830B FSC IRFB3806PBF IR IRFS9630三星IRFB38N20DPBF M IR IRFU024NPBF IR IRFB4019PBF M IR IRFU110PBF IR IRFB4020PBF P IR IRFU120NPBF IR IRFB4110GPBF IR IRFU120PBF VIS IRFB4110PBF M IR IRFU210PBF IR IRFB4115GPBF IR IRFU214PBF IR IRFB4115PBF IR IRFU220NPBF IR IRFB41N15DPBF IR IRFU220PBF C VIS IRFB4212PBF IR IRFU310PBF IR IRFB4227PBF C IR IRFU420APBF VIS IRFB4229PBF C IR IRFU420PBF VIS IRFB42N20DPBF M IR IRFU430APBF VIS IRFB4310PBF C IR IRFU5305PBF IR IRFB4310ZPBF P IR IRFU5410PBF M IR IRFB4321GPBF IR IRFU5505PBF IR IRFB4321PBF C IR IRFU9014PBF VIS IRFB4332PBF M IR IRFU9024NPBF IR IRFB4410PBF IR IRFU9120NPBF IR IRFB4410PBF M IR IRFU9310PBF VIS IRFB4410ZPBF P IR IRFU9024NPBF IR IRFB4610PBF M IRIRFU9120NPBF IR IRFB4710PBF P IR IRFZ24NPBF C IR IRFB52N15DPBF M IR IRFZ24VPBF 韩IR IRFB59N10PBF M IR IRFZ34NPBF M IR IRFB61N15DPBF IR IRFZ44NSTRPBF IR IRFB9N65APBF IR IRFZ44NPBF 粉C IR IRFBC20PBF C VIS IRFZ44NPBF M IR IRFBC30PBF C VIS IRFZ44ZPBF IR IRFBC40APBF VIS IRFZ44VPBF C IR IRFBC40PBF C VIS IRFZ44VSTRRPBF IR IRFBE20PBF C VIS IRFZ46NPBF M IR IRFBE30PBF C VIS IRFZ48NPBF C IR IRFBF30PBF C VIS IRFZ48NPBF M IR IRFBG20PBF C VIS IRFZ48VPBF IR IRFBG30PBF C VIS IRFG4BC20FD-STRL IR IRFC4233B IR IRG4BC20KPBF IR IRFD110PBF IR IRG4BC20UDPBF M IR IRFD120PBF VIS IRG4BC20WPBF M IR IRFD220PBF IR IRG4BC30F IR IRFD320PBF IR IRG4BC30KDPBF IR IRFD9110PBF IR IG4BC30KD-SPBF IR IRFD9120PBF VIS IRG4BC30UDPBF IR IRFI4229PBF IR IRG4BC40U IR IRFI530N IR IRG4IBC30S IR IRFI720GPBF IR IRG4PC20UPBF IR IRFI730G IR IRG4PC30FPBF M IR IRFI820GPBF VIS IRG4PC30KPBF IR IRFI840G IR IRFP37N50APBF VIS IRFI9520GPBF IR 4PC30UDPBF IR IRFI9630GPBF IR IRG4PC40FD IR IRFIBC20GPBF IR IRG4PC40FDPBF M IR IRFIBC30G IR IRG4PC40KDPBF IR IRFIBF30G IR IRG4PC40KPBF IR IRFIZ34N IR IRG4PC40SPBF IR IRFIZ34VPBF IR IRG4PC40UDPBF IR IRFIZ48N IR IRG4PC40UD-2PBF IR IRFIZ48V IR IRG4PC40UPBF M IR IRFL014NTRPBF IR IRG4PC40WPBF M IR IRFL024NTRPBF IR IRG4PC50FD-EPBF IR IRFL024ZTRPBF IR IRG4PC50FDPBF M IR IRFL110TRPBF VIS IRG4PC50FPBF IR IRFL210TRPBF IR IRG4PC50K IR IRFL4105IR IRG4PC50KD IR IRFL4310TRPBF IR IRG4PC50UDPBF M IR IRFL9014TRPBF VISIRG4PC50UPBF IR IRFL9110TRPBF IR IRG4PC50WPBF M IR IRFP044N IR IRG4PF50WD-LF44IR IRFP044NPBF M IR IRG4PF50WDPBF M IR IRFP048NPBF IR IRG4PF50WPBF IR IRFP054NPBF M IR IRG4PH30KD IR IRFP064NPBF M IR IRG4PH30KDPBF IR IRFP1405PBF M IR IRG4PH30KPBF M IR IRFP140NPBF M IR IRG4PH40UD IR IRFP140PBF C VIS IRG4PH40UD2-EP IR IRFP150MPBF C IR IRG4PH50K IR IRFP150NPBF M IR IRG4PH50KDPBF IR IRFP150NPBF C IR IRG4PH50S IR IRFP150PBF C VIS IRG4PH50SPBF IR IRFP2907PBF IR IRG4PH50UDPBF M IR IRFP22N50APBF C VIS IRG4PH50UPBF IR IRFP22N60C3IR IRG4PSC71KPBF IR IRFP22N60KPBF C VIS IRG4PSH71KD IR IRFP23N50LPBF VIS IRG4PSH71KPBF IR IRFP240PBF VIS IRG4PSH71UPBF IR IRFP244PBF M IR IRG4PS71UPBF IR IRFP250MPBF IR IRG4RC10SD IR IRFP250NPBF M IR IRG4RC20F IR IRFP250NPBF C IR IRG7PH35UD1PBF IR IRFP254PBF VIS IRG7PH35UPBF IR IRFP260MPBF IR IRG7PH42UD1-EP IR IRFP260NPBF M IR IRGB15B60KDPBF IR IRFP260NPBF C IR IRGB20B60PD1PBF M IR IRFP264PBF C IR IRGB20B60PDPBF IR IRFP26N60LPBF VIS IRGB4056D IR IRFP27N60KPBF VIS IRGB4086PBF IR IRFP31N50LPBF IR IRGB6B60KPBF IR IRFP3206PBF M IR IRGB8B60K IR IRFP32N50KPBF IR IRGI4045DPBF IR IRFP340PBF IR IRGI4056DPBF IR IRFP3415PBF M IR IRGI4061DPBF M IR IRFP350PBF IR IRGI4086PBF IR IRFP360LCPBF C VIS IRGIB10B60KD1PBF C IR IRFP360PBF C VIS IRGIB15B60KD1PBF IR IRFP3703PBF IR IRGP4062DPBF IR IRFP3710PBF IR IRGP20B60PDPBF IR IRFP4004PBF M IR IRGP35B60PDPBF M IR IRFP4110PBF C IR IRGP4063DPBF M IR IRFP4227PBF IR IRGP4068DPBF IR IRFP4228PBF IRIRGP4072DPBF IR IRFP4229PBF IR IRGP4086IT IRFP4232PBF IR IRGP50B60PD1PBF IR IRFP4233国产IRGP50B60PDPBF IR IRFP4242PBF M IR IRGPS40B120UDPBF IR IRFP4310ZPBF IR IRGPS40B120UPBF IR IRFP4321PBF IR IRGPS60B120KD IR IRFP4332PBF IRIRL2203NPBF IR IRFP4368PBF IRIRL2703PBF M IR IRFP4468PBF M IRIRL2703PBF C IR IRFP448IRIRL3103PBF C IR IRFP450APBF IRIRL3103STRR IR IRFP450LCPBF C VIS IRL3103S M IR IRFP450PBF C VIS-粉IRL3303 M IR IRFP4568PBF IR 粉IRL3705NPBF C IR IRFP460APBF C VIS IRL3705NS IR IRFP460LCPBF C VIS IRL3705NSTRLPBF IR IRFP460PBF C 亮VIS IRL3705ZS IR IRFP460PBF 粉VIS IRL3713PBF M IR IRFP4668PBF IRIRL3713PBF C IR IRFP4710PBF IRIRL3803PBF M IR IRFP4768PBF C IRIRL3803STRPBF IR IRFP90N20DPBF M IRIRL3803S M IR IRFP9140NPBF M IRIRL520N IR IRFP9140PBF C VIS IRL520NPBF P IR IRFP9140 M IRIRL530N IR IRFP9240PBF C VIS IRL530STRRPBF VIS IRFPC50PBF C VIS IRL540N IR IRFPC60LCPBF C VIS IRL540NPBF M IR IRFPE30PBF C VIS IRL540NS IR IRFPE40PBF C VIS IRL540NSTRLPBF IR IRFPE50PBF C VIS IRL640STRLPBF VIS IRFPF40IRIRL7833PBF IR IRFPF40PBF C VIS IRLB3034PBF IR IRFPF50PBF IR IRLB4030PBF IR IRFPF50PBF M IR IRLI3615IR IRFPG30PBF C VIS IRLI3803IR IRFPG50PBF C VIS IRLI540G IR IRFPS37N50APBF IR IRLI640G IR IRFPS3815PBF IR IRLL014NTRPBF IR IRFPS40N50LPBF VIS IRLL024NTRPBF IR IRFPS40N15LPBF VIS IRLL024ZTRPBF IR IRFPS40N60KPBF VIS IRLL110TRPBF IR IRFPS43N50LPBFIRLL2703TRPBF IR IRFPS43N50KPBF IRIRLL2705TRPBF IR IRFR014TRPBF VIS IRLL3303TRPBF IR IRFR024NTRPBF IR IRLML2402TRPBF IR IRFR110TRPBF IR IRLML2502TRPBF IR IRFR1205TRPBF VIS IRLML2803TRPBF IR IRFR120NTRPBF IR C IRLML5103TRPBF IR IRFR120TRPBF IR IRLML5203TRPBF IR IRFR13N15DTRPBF IR IRLML6302TRPBF IR IRFR12N25DTRPBF IR IRLML6401TRPBF IR IRFU6215IR IRLML6402TRPBF IR IRFR13N20D IR IRLMS5703TRPBF IR IRFR13N20DTRPBF IR IRLMS6802TRPBF IR IRFR18N15DPBF IR IRLR014NTRPBF VIS IRFR210BTF FSC IRLR014PBF VIS IRFR210TRPBF IR IRLR024NTRPBF IR IRFR220NTRPBF IR IRLR2908TRPBF IR IRFR224PBF VIS IRLR120NTR IR IRFR2407TRLPBF IR IRLR120NTRPBF IR IRFR2405TRPBF IR IRLR2703TR IR IRFR24N15DPBF IR IRLR2703TRPBF IR IRFR2905ZTRPBF IR IRLR2705IR IRFR310TRPBF VIS IRLR2905TRPBF C IR IRFR320TRPBF VIS IRLR3103TR IR IRFR3418TRL IR IRLR3410TRPBF IR IRFR3303TR IR IRLR3714ZTRPBF IR IRFR3607TRPBF IR IRLR3715ZTRPBF IR IRFR3410TRPBF IR IRLR3717IR IRFR3704TRPBF IR IRLR7821TRPBF IR IRFR3707ZCPBF IR IRLR7833IR IRFR3707ZTRPBF IR IRLR7833TRPBF IR IRFR3709ZTR IR IRLR7843TR IR IRFR3709ZTRPBF IR IRLR8113IR IRFR3710ZTRLPBF IR IRLR8203PBF IR IRFR3711IR IRLR8726TRPBF IR IRFR3711TR IR IRLR9343TRPBF VISHAY IRFR3910TRPBF IR IRLU024NPBF IR IRFR4104TRPBF IR IRLU024Z IR IRFR420ATRLPBF VIS IRLU024ZPBF IR IRFR420PBF VIS IRLU120NPBF IR IRFR420TRPBF IR IRLU120PBF VISHAY IRFR430ATRPBF VIS IRLZ24NPBF-墨西哥IR IRFR5305PBF IR IRLZ34N IR IRFR5305TRPBF IR IRLZ34NPBF-菲律宾IR IRFR5410TRPBF IR IRLZ34NPBF-墨西哥IR IRFR5505GTRPBF IRIRLZ34NPBF-中国IR IRFR5505TRPBF VIS IRLZ44IR IRFR6215TRPBF IR IRLZ44NPBF-墨西哥IR IRFR9014TRPBF IR IRLZ44NS IR IRFR9024NTRPBF IR IRLZ44PBF IR IRFR9110TRPBF VIS IRS2003STRPBF IR IRFR9120NTRPBF IR IRS20124STRPBF IR IRFR9210TRPBF VIS IRS2092STRPBF IR IRFR9220TRPBF IR IRS20955STRPBF IR IRFR9310TRLPBF IR IRS20957STRPBF IR。
RT1602C液晶显示器
RT1602CMECHANICAL DATAItem NominalDimensionsPIN CONNECTIONSUnit PIN Symbol Level FunctionModule Size(W×H×T) Viewing Area(W×H) Character Size(W×H) Dot Size(W×H) 80.0×36.0×12.564.5×14.03.00×5.020.52×0.54mm 1 GND -mm 2 VDD -mm 3 V0 -mm 4 RS H/L5R/W H/L地(0V)电源(+5V)LCD电源1: 数据; 0: 指令1: 读; 0: 写ABSOLUTE MAXIMUM RATINGS 6 E H/L 使能端ItemOperatingV oltage Operating Current LEDV oltageLED Current Operating Temp. Symbol Min Type Max Unit 7 DB0 H/LVDD 4.5 5.0 5.5V 8 DB1 H/LIDD 1.1 1.3 1.6mA 9 DB2 H/LV LED 4.5 5.0 5.5V 10 DB3 H/LI LED 75 140 200mA 11 DB4 H/LTopr -20- +70℃12DB5 H/LTsto -30- +80℃13DB6 H/L14 DB7 H/L(数据I/O)数据线(数据I/O)ELECTRICAL CHARACTERISTICS15 BL1 -背光正电源(+5V)ItemInput Hight V oltage Input Low V oltage Output Hight V oltage Output Low V oltage Symbol Min Type Max Unit 16BL2 -V IH 2.2-VDD VV IL 0-0.6VV OH 2.4-VDD VV OL 0-0.4V背光负电源(0V)BLOCK DIAGRAMVSS VDD V016COM LCD PANEL16 Characters x 2 LinesPOWER SUPPLYVDDRS R/W EDB0DB7BL1 BL2LCDControllerLSILED Backlight40SEG40SEG V0VSSSegment driver BL1BL210~20K引脚说明:第1脚:GND 为地电源;第2脚:VDD 接5V 正电源;第3脚:V0 为液晶显示器对比度调整端,接正电源时对比度最弱,接地电源时对比度最高,对比度过高时会产生“鬼影”,使用时可以通一个10K 的电位器调整对比度;第4脚:RS 为寄存器选择,高电平时选择数据寄存器、低电平时选择指令寄存器;第5脚:RW 为读写信号线,高电平时进行读操作,低电平时进行写操作。
STTH1602C中文资料
IM
60 50 40
T
80 70
δ=tp/T
tp
60 50
Tj=150°C
P = 15W
30
40
Tj=25°C
30 20 10 0 0.0 0.1 0.2 0.3 0.4
P = 8W P = 3W
20 10
VFM(V)
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4
IRM(A)
16 14 12 10
IF=8A VR=160V
Fig. 8: Dynamic parameters versus junction temperature.
Qrr;IRM[Tj]/Qrr;IRM[Tj=125°C]
1.4 1.2 1.0 0.8
IRM IF=8A VR=160V
8
Tj=125°C
Pulse test: * tp = 5ms, δ < 2% ** tp = 380µs, δ < 2%
2 2 2 2
Maximum Per diode Per device Per diode Per device 3.0 1.9 5.5 4.5 0.8 3.5
Unit °C/W
°C/W
Min.
Typ.
trr(ns)
80 70 60 50 40 30 20 10
Tj=25°C IF=8A VR=160V
Tj=125°C
dIF/dt(A/µs)
0 10
dIF/dt(A/µs)
100 1000
Fig. 7: Peak reverse recovery current versus dIF/dt (typical values, per diode).
stth1602ct的二极管构造
主题:stth1602ct的二极管构造1. stth1602ct的二极管概述a. stth1602ct是一种超快速反向恢复二极管,具有高电流密度和低反向漏电流的特点。
b. 由ON Semiconductor公司生产,主要应用于电源变换器、逆变器、电力因素修正等领域。
2. stth1602ct的结构a. stth1602ct采用硅碳化(SiC)材料制成,具有较高的击穿电压和较低的导通压降。
b. 其二极管主体结构为P型材料和N型材料的结合,通过P-N结实现正向导通和反向封锁。
3. stth1602ct的制造工艺a. stth1602ct的制造工艺采用金属有机化学气相沉积(MOCVD)技术,确保材料纯度和晶格结构的稳定性。
b. 通过离子注入、金属蒸发、光刻、扩散等工艺,形成P-N结的结构,同时保证接触电极的导电性和稳定性。
4. stth1602ct的特性a. stth1602ct具有超快的反向恢复时间和低反向漏电流,适用于高频开关电源等高性能电子设备。
b. 其击穿电压较高,可用于高压直流/交流变换器等高压应用场合。
c. 采用环保材料和工艺,具有较好的可靠性和环境适应性。
5. stth1602ct的应用a. 在电力电子领域,stth1602ct广泛应用于电能质量改善、电力因素修正、电力变换等领域。
b. 在电动车辆、充电桩、再生能源等领域,stth1602ct也被广泛应用于高效能耗和高性能要求的电子设备中。
6. 总结stth1602ct作为一种高性能的超快速反向恢复二极管,具有优异的制造工艺和稳定的材料特性,适用于多种高压、高频、高性能的电子设备中。
其结构和特性使其在电力电子、电动车辆、充电桩等领域发挥着重要作用,为高效能耗和稳定性能的电子设备提供了重要支持。
7. stth1602ct的性能优势a. stth1602ct采用SiC材料制造,相比传统硅基二极管,具有更低的导通压降和更快的反向恢复时间。
这使得在高频、高密度功率转换系统中,stth1602ct能够实现更高的效率和更低的能量损耗。
功能完整的1602LCD时钟实验
功能完整的1602LCD时钟实验摘要本设计基于单⽚机技术原理,以单⽚机芯⽚STC89C52作为核⼼控制器,通过硬件电路的制作以及软件程序的编制,设计制作出⼀个多功能数字时钟系统。
单⽚机扩展的LCD显⽰器⽤来显⽰年、⽉、⽇、时、分、秒计数单元中的值。
整个设计包括两⼤部分: 硬件部分和软件部分,以单⽚机为核⼼, 配以⼀定的外围电路和软件。
硬件是整个系统的基础, 软件部分则要合理、充分地⽀持和使⽤系统的硬件, 从⽽完成系统所要完成的任务。
本设计采⽤LCD液晶显⽰,电路简单使⽤⼴泛。
该时钟系统主要由时钟模块、闹钟模块、液晶显⽰模块、键盘控制模块以及信号提⽰模块组成。
能够准确显⽰时间(显⽰格式为年:⽉:⽇:时时:分分:秒秒,24⼩时制),可随时进⾏时间调整,具有闹钟时间设置、闹钟开/关、⽌闹功能。
设计以硬件软件化为指导思想,充分发挥单⽚机功能,⼤部分功能通过软件编程来实现,电路简单明了,系统稳定性⾼。
单⽚机在这种情况下诞⽣了基于单⽚机电⼦时钟。
关键词:单⽚机 LCD1602 数字钟This design based on the single chip microcomputer principle, taking single-chip chip STC89C52 as core controller, through the hardware circuit and software production procedure formulation, designed and produced a multi-function digital clock system. SCM extended LCD display used to display date and time, minutes and seconds counting unit of values. The whole design includes two parts, hardware and software of, based on singlechip, match with certain peripheral circuit and software. Hardware is based in the whole system, the software part then be reasonable and fully support and use the system hardware, thus completing system to complete the task. This design USES the LCD, simple circuit is widely used. This clock system mainly by the clock module, alarm module, LCD module, keyboard control module and signal hint module. To accurately display the time (display format for years: month: day: always: component: seconds seconds, 24-hour system), available for time to adjust, with alarm time setting, alarm clock on/off, stop joking function. Design with hardware and software into guiding ideology, give full play to the SCM functions, most functions through software programming realize, circuit straightforward, stability of the system is high. SCM in this case was born based on single-chip electronic clock. Keywords: SCM LCD1602 digital clock前⾔数字钟是采⽤数字电路实现对时,分,秒数字显⽰的计时装置,⼴泛⽤于个⼈家庭,车站, 码头办公室等公共场所,成为⼈们⽇常⽣活中不可少的必需品,由于数字集成电路的发展和⽯英晶体振荡器的⼴泛应⽤,使得数字钟的精度,远远超过⽼式钟表, 钟表的数字化给⼈们⽣产⽣活带来了极⼤的⽅便,⽽且⼤⼤地扩展了钟表原先的报时功能。
LCD_RT1602C的技术资料
L C D_R T1602C的技术资料(总44页)--本页仅作为文档封面,使用时请直接删除即可----内页可以根据需求调整合适字体及大小--字符模块使用手册目录1.概述 . . . . . . . . . . . . . . . . . . . . . . . . 第 1 页2.字符型模块的特点 . . . . . . . . . . . . . . . . . . . 第 1 页3.基本原理 . . . . . . . . . . . . . . . . . . . . . . . 第1-3页4.技术参数 . . . . . . . . . . . . . . . . . . . . . . . 第 4 页5.时序特性 . . . . . . . . . . . . . . . . . . . . . . . 第4-5页6.引脚和指令功能 . . . . . . . . . . . . . . . . . . . . 第6-10页7.使用举例 . . . . . . . . . . . . . . . . . . . . . . . 第11-20页1.概述人们对液晶显示器并不陌生,最常见的有如计算器、电子表、数字万用表、电子游戏机等,显示的主要是数字、专用符号和固定图形,因为是属段式显示,显示内容就无法多变。
随着大量电子仪器、设备的智能化,并且普遍地采用人机交互方式,需要能够显示更为丰富的信息和通用性较强的显示器,而点阵式LCD显示器能够满足这些要求,同时用大规模专用集成电路作为点阵LCD控制驱动,使用者仅仅直接送入数据和指令可实现所需的显示。
这种由LCD 板、PCB 板、控制驱动电路组成的单元叫做点阵液晶显示模块( DOT MATRIC LCD MODULE )。
深圳市瑞特电子有限公司是液晶显示器专业生产厂家,以其雄厚的力量,先进的生产设备及工艺,已开发生产出一系列的LCD 点正阵模块(字符型和图形型)。
SMC1602C
tC
极限值 典型值 -
最大值 25 100 -
单位
测试条件
ns
ns 引脚 E
ns
ns
引脚 E、RS、R/W
ns
ns
ns
引脚 DB0~DB7
ns
ns
ADDR:长沙五一大道 95 号东方商务楼 19 楼.邮编:410001.TEL:0731-4167806,4167808.FAX:4167807
工作温度: 0~50℃
存储温度: -20~70℃
◆接口信号说明:
编号 符号 引脚说明
1
VSS 电源地
2
VDD 电源正极
3
VL 液晶显示偏压信号
4
RS 数据/命令选择端(H/L)
5
R/W 读/写选择端(H/L)
6
E 使能信号
7
D0 Data I/O
8
D1
◆外形尺寸:
Data I/O
编号 9 10 11 12 13 14 15 16
时序参数
符号
E 信号周期 E 脉冲宽度 E 上升沿/下降沿时间 地址建立时间 地址保持时间 数据建立时间(读操作) 数据保持时间(读操作) 数据建立时间(写操作) 数据保持时间(写操作)
tC tPW tR,tF tSP1 tHD1 tD tHD2 tSP2 tHD2
最小值 400 150 30 10 20 40 10
1.6
ADDR:长沙五一大道 95 号东方商务楼 19 楼.邮编:410001.TEL:0731-4167806,4167808.FAX:4167807
长沙太阳人电子有限公司
CHANGSHA SUNMAN ELECTRONICS CO., LTD
Mega16的1602C代码
基于ATMega16的1602C程序一、1602管脚介绍1.Vss 电源地;2.Vdd 电源正极4.5~5.5V 通常使用5V;3.Vl 对比度调节电源调节范围0~5V。
接正电源时对比度最弱,接地对比度最高,但是对比度过高时产生“鬼影”,因此通常使用一个10K电位器来调整对比度,或者直接接一个电阻到地;4.Rs 数据/命令选择高电平选择数据寄存器,低电平选择指令寄存器;5.R/W 读/写选择高电平读取数据,低电平写入数据;6.E 模块使能端写数据需要下降沿触发模块;7~14.D0~D7 三态双向数据口MCU I/O口资源紧张可以使用4位数据线D4~D7接口传送数据;15.Blk 背光源地16.Bla 背光源正极需要背光串接一个限流电阻接Vdd,blk接地,实测该模块背光电流50mA左右。
二、试验接法Vdd、Bla -- VccVss、Vl、Blk -- GndRs -- Pd0R/W -- Pd1E -- Pd2D1~D7 -- Pb0~Pb7三、测试程序/*************************************************LCD演示程序(ICCAVR)学习AVR单片机的LCD显示MUC: ATMEGA16D0~D7: PB0~PB7RS--PD0R/W--PD1E--PD2CLOCK: 8MHz*************************************************/#include <iom16v.h>#define XTAL 8#define RS 0#define RW 1#define E 2#define lcd_data_port PORTB#define lcd_data_dir DDRB#define lcd_data_pin PINB#define lcd_ctrl_port PORTD#define lcd_ctrl_dir DDRD#define lcd_ctrl_pin PIND#define delay() delay_us(80)#define set_bit(x,y) (x|=(1<<y))#define clr_bit(x,y) (x&=~(1<<y))#define get_bit(x,y) (x&(1<<y))#define WDR() asm("wdr") // Watchdog_Reset()#define SEI() asm("sei") // Enable_Interrupt()#define CLI() asm("cli") // Disable_Interrupt()#define NOP() asm("nop") // Null_Operation()#define SLEEP() asm("sleep") // Enter_Sleepmode()//微秒级延时程序void delay_us(int time){unsigned int i=1;do{time--;while(i!=0){i--;}i=1;}while (time>1);}// 毫秒级延时程序void delay_ms(unsigned int time){while(time!=0){delay_us(1000);time--;}}void lcd_port_init(void){lcd_data_dir=0; //设置数据输入模式lcd_data_port=0; //初始化数据lcd_ctrl_dir|=(1<<RS)|(1<<RW)|(1<<E); //设置控制信号输出模式lcd_ctrl_port|=(1<<RS)|(1<<RW)|(1<<E); //设置控制信号高电平}/*****************************************************LCD初始化函数******************************************************/const unsigned char init_tabel[]={0x38,0x0c,0x01,0x06};void lcd_init(void){unsigned char i;lcd_port_init();for(i=0;i<4;i++){write_lcd(init_tabel[i],0);}}/************************************************从LCD读取数据或地址data_type:数据类型1表示数据,0表示指令************************************************/unsigned char read_lcd(unsigned char data_type){unsigned char i;lcd_data_dir=0;lcd_data_port=0; //设置为输入if (data_type==0) //根据数据类型选择命令写与数据写clr_bit(lcd_ctrl_port,RS); //RS=0elseset_bit(lcd_ctrl_port,RS); //RS=1set_bit(lcd_ctrl_port,RW); //R/W=1,读LCD状态set_bit(lcd_ctrl_port,E); //E=1delay(); //延时80usi=lcd_data_pin&0x7f ; //i=PINB&0x7f ;clr_bit(lcd_ctrl_port,E); //E=0delay(); //延时80usreturn i;}/***********************************************写数据或指令到LCDdata:数据或指令字节data_type:数据类型1表示数据,0表示指令***********************************************/void write_lcd(unsigned char data,unsigned char data_type) {lcd_data_dir=0; //lcd_data_port=0; //设置输入clr_bit(lcd_ctrl_port,RS); //RS=0set_bit(lcd_ctrl_port,RW); //R/W=1,读LCD状态set_bit(lcd_ctrl_port,E); //E=1delay(); //延时80uswhile ((lcd_data_pin&0x80)==0x80);//检查LCD是否空闲clr_bit(lcd_ctrl_port,E); //E=0if (data_type==0) //根据数据类型选择命令写与数据写clr_bit(lcd_ctrl_port,RS); //RS=0elseset_bit(lcd_ctrl_port,RS); //RS=1clr_bit(lcd_ctrl_port,RW); //R/W=0,写入LCDlcd_data_dir=0xff; //lcd_data_port=data; //写出数据set_bit(lcd_ctrl_port,E); //E=1delay();clr_bit(lcd_ctrl_port,E); //E=0delay();lcd_data_dir=0; //lcd_data_port=0; //}/*********************************清除LCD显示函数*********************************/void lcd_clear(void){write_lcd(0x01,0);}/*****************************************************将光标转移到DDRAM指定位置处x:0~39,y:0~1*****************************************************/void lcd_gotoxy(unsigned char x,unsigned char y) {unsigned char adder;if (y==1)adder=0xc0+x;// 定位1602 第二行elseadder=0x80+x;// 定位1602 第一行write_lcd(adder,0);}/*********************************单字符输出函数*********************************/void lcd_putc(char c){if (c == '\n')if (read_lcd(0)>15) //如果当前位置已在第二行,write_lcd(02,0); //则从0开始elsewrite_lcd(0xc0,0); //换行elsewrite_lcd(c,1); //写字符到LCD }/*********************************字符串输出函数*********************************/void lcd_puts(char *s){while (*s)lcd_putc(*s++);}void lcd_puts_P(char const *s){while (*s)lcd_putc(*s++);}//void lcd_puts_P(char __flash *s)// {// while (*s)// lcd_putc(*s++);// }/***************************************************** 从指定DDRAM/CGRAM位置读取数据*****************************************************/ unsigned char lcd_read(unsigned char adder) {write_lcd(adder,0);return read_lcd(1);}/************************************************LCD字符移位函数n:移动的次数p:移动方向,'l'或'L'表示左移,'r'或'R'表示右移*************************************************/void lcd_shift(unsigned char n,unsigned char p) {unsigned char i,j=1;switch (p){case 'r':i=0x1c;break;case 'R':i=0x1c;break;case 'l':i=0x18;break;case 'L':i=0x18;break;default:return;}while (j<=n){j++;write_lcd(i,0);}}/***************************************************** 写数据到指定DDRAM/CGRAM位置*****************************************************/void lcd_write(unsigned char adder,unsigned char data) {write_lcd(02,0);write_lcd(adder,0);write_lcd(data,1);}/*****************************************************写数据到DDRAM当前位置*****************************************************/void lcd_write_data(unsigned char data){write_lcd(read_lcd(0)|0x80,0);write_lcd(data,1);write_lcd((read_lcd(0)-1)|0x80,0);}void main(void){MCUCR=0;lcd_init();while(1){lcd_gotoxy(2,0);lcd_puts("TEL:");lcd_gotoxy(2,1);lcd_puts("who am i ?");delay_ms(1000);lcd_clear();lcd_gotoxy(1,0);lcd_puts("http://www.");lcd_gotoxy(1,1);lcd_puts(""); delay_ms(1000);lcd_clear();}}。
1602LCD简单时钟显示实验C语言
tmp=dispbuf[1];
tmp=word[tmp];
lcd_wmd(tmp);
tmp=dispbuf[0];
tmp=word[tmp];
lcd_wmd(tmp);
}
/*********************键盘子程序***********************/
uchar keypro(void)
{
uchar scanl,scanh;
P1=0xf0;
if((P3&0xf0)!=0xf0)
{
delay();
if((P1&0xf0)!=0xf0)
{
scanl=0xfe;
while((scanl&0x10)!=0)
{
P1=scanl;
if((P3&0xf0)!=0xf0)
{
scanh=(P1&0xf0)|0x0f;
return (~scanh)+(~scanl);
}
else scanl=(scanl<<1)|0x01;
}
/*******写命令**********/
void lcd_wmc(uchar i)
{
P0=i;
RS=0;
RW=0;
E=0;
delay();
E=1;
}
/*******写数据***********/
void lcd_wmd(uchar i)
dispbuf[5]=11;
}
//更新显示缓冲区及调用显示程序
if(counter==0)
1602液晶显示程序(时钟)
// ************1602液晶显示程序************ #include<reg52.h>#define uchar unsigned char#define uint unsigned intsbit lcden=P2^2; //液晶使能位sbit lcdrw=P2^1; //液晶读写位sbit lcdrs=P2^0; //数据命令选择位uchar shi,fen,miao;uchar code time1[]="DATA: 2011-4-19";uchar code time2[]="TIME: 00:00:00";void w_cmd(uint date);void w_data(uint date);void w_cht(uchar add,uchar date);//************初始化及相关子函数*********** void delay(uchar x){uchar y,z;for(y=x;y>0;y--)for(z=110;z>0;z--);}void init() //1602液晶初始化{uchar i,j;lcden=0; //初始使能端lcdrw=0; // 写数据选择w_cmd(0x38);w_cmd(0x01);w_cmd(0x0c);w_cmd(0x06);w_cmd(0x80);for(i=0;i<15;i++)w_data(time1[i]);w_cmd(0x80+0x40);for(j=0;j<15;j++)w_data(time2[j]); //上电初始显示数据}void w_cmd(uint date) //“写”命令子程序{lcdrs=0;P0=date;delay(5);lcden=1;delay(5);lcden=0;}void w_data(uint date) //”写“数据子程序{lcdrs=1;P0=date;delay(3);lcden=1;delay(5);lcden=0;}void intrupt() //"TO中断"初始{TMOD=0x01; //选择16位定时器0x01 EA=1; //开总中断ET0=1; //开“T0”中断允许位TH0=(65536-50000)/256;TL0=(65536-50000)%256; //定时器装初值TR0=1;}void w_cht(uchar add,uchar date) //时间改变函数{uchar date1,date2;w_cmd(0x80+0x40+add);date1=date/10;date2=date%10;w_data(0x30+date1);w_data(0x30+date2);}//********主函数**************void main(){init();intrupt();while(1);}//*******T0中断子程序************* void T_rupt() interrupt 1{uchar flag; //定义标志位TH0=(65536-50000)/256;TL0=(65536-50000)%256; //赋初值flag++;if(20==flag){flag=0;miao++;if(60==miao){miao=0;fen++;if(60==fen){fen=0;shi++;if(24==shi){shi=0;}w_cht(7,shi);}w_cht(10,fen);}w_cht(13,miao);}}。
1602液晶显示的学习
1602液晶显示的学习<一>2009-07-22 23:52昨天了解了1602液晶芯片的几个重要的引脚,各自分别的功能。
今天还是从它的说明书开始学习的。
对它的操作基本就是读状态、写指令、读数据、写数据,也就是昨天学的引脚E、R/W、RS所控制的功能。
今天学习了它具体的指令。
P0的八个位对应状态字D7、D6、D5、D4、D3、D2、D1、D0,当D7为0时允许读写操作,D7为1则是禁止,D6~D0是当前数据地址指针的数值。
指令码若是为00111000B(0x38),则是把显示模式设置为16X2显示,5X7点阵,8位数据接口。
显示开关及光标设置:控制器内部有一数据地址指针,可以通过他们来访问内部全部的80H字节的数据。
今天还用到了头文件“stdio.h”里面的一个函数sprintf(),昨天在程序里只会改几个字符,今天知道了原来这个函数是可以有三个形参的。
1602液晶显示的学习<二>2009-07-23 16:361.RAM地址映射与写入1602有80个字节的RAM缓冲区,昨天思来想去没明白既然80个字节,如何显示2排16个字符的单位,今晨茅塞顿开,原来多余的48个字节是缓冲区,正如下图所示,屏幕上一次只能显示32个字,每一个字分别存放在如下的各自单元里,上面的一排字存在00H~0FH里,也就是第0个箱子到第15个箱子里,箱子里放的是字符的ASCII码值。
例如,要在左起第十个字符的位置显示字符"S",只需要把第十个箱子里装入"S"的ASCII码值115 。
下面的一排字存在40H~4FH里,其方法同上。
2.样例程序的的研究配套的光碟上有一些样列,大同小异。
有几个比较关键的函数看明白了便知道1602显示的机理了。
void ShowChar(unsigned char pos,unsigned char c) //这是一个操作显示单个字符的函数,它有两个形参,一个是pos,是传递给写命令的控制字,一个是c,它是传递给写数据的ASCII 码值;{unsigned char p; //开辟一个无符号字符类型的数据单元,可以存放0~255;if (pos>=0x10) //如果pos大于或者等于17(00010000B),则p=pos+0xb0; //p等于pos+176,pos的值域【00010000B,11110000B】,则p的值域是【00000000B,10100000B】∪【11000000B,11110000B】;elsep=pos+0x80; //如果pos小于17(00010000B),p的值等于pos+128,p的值域是【10000000B,10001111】;WriteCommand (p); //把p的值作为实参调用写命令的函数;WriteData (c); //这个参数是个ASCII码值,告诉函数写哪个字;}3.部分状态字貌似WriteCommand (p)这个函数挺复杂,p的值域被我算得那么广泛,然而查资料得知,这个p无非就只有11个值,当然这都是设计芯片的人定的。
1602液晶C源代码
1602液晶源代码C unsigned unsigned unsigned unsigned char char char char code code code code xq4[]={"Thu"}; xq5[]={"Fri"}; xq6[]={"Sat"}; xq7[]={"Sun"};
unsigned char code dis2[] = {" hello clock "}; void delay(unsigned char ms) { unsigned char i; while(ms--) { for(i = 0; i< 250; i++) { _nop_(); _nop_(); _nop_(); _nop_(); } } } bit lcd_bz() { bit result; rs = 0; rw = 1; ep = 1; _nop_(); _nop_(); _nop_(); _nop_(); result = (bit)(P0 & 0x80); ep = 0; return result; } void lcd_wcmd(unsigned char cmd) { while(lcd_bz());//判断 LCD是否忙碌 rs = 0; rw = 0; ep = 0; _nop_(); _nop_(); P0 = cmd; _nop_(); _nop_(); _nop_(); _nop_(); ep = 1; 第 3 页
1602液晶源代码C } xqdis(unsigned xq) { unsigned char xq==1) { i=0; while(i<3) { lcd_wdat(xq1[i]); i++; } } if(xq==2) { i=0; while(i<3) { lcd_wdat(xq2[i]); i++; } } if(xq==3) { i=0; while(i<3) { lcd_wdat(xq3[i]); i++; } } if(xq==4) { i=0; while(i<3) { lcd_wdat(xq4[i]); i++; } } if(xq==5) { i=0; while(i<3) { lcd_wdat(xq5[i]); i++; } } if(xq==6) 第 5 页
泰仕電子工業 TES-1602 (RS-232) 绝缘电阻测试仪 说明书
數位絕緣測試器TES-1602使 用 說 明 書泰 仕 電 子 工 業 股 份 有 限 公 司目 錄項次頁數1. 操作安全須知 (1)2. 規格 (2)2-1 一般規範 (2)2-2 電氣規格 (4)3. 各部位名稱及說明 (6)4. 操作準備 (7)4-1測試棒接法 (7)4-2電池狀況檢查及換新 (7)4-3測試棒檢查 (7)5. 交流電壓測量 (8)6. 低阻測量 (8)7. 絕緣測量 (9)8. 自動關機 (10)9. 小型機電測量 (10)10. 連接電腦 (13)10-1 硬體安裝 (13)10-2 硬體與軟體需求 (13)10-3 軟體安裝 (14)10-4 軟體操作說明 (14)1. 操作安全須知▲ 在測量電阻之前,待測電路必須完全放電,並且與電源電路完全隔離。
▲ 在測量中,不可接觸測試棒之金屬導電部。
▲ 在做完高阻測量之後,待測電路中的電荷儲存必須加以釋放,以防止電擊。
▲ 測試棒及鱷魚夾都必需保持在外觀良好,沒有破損的狀況下使用。
▲ 在高阻測量時,未做好所有連接前,請不要按TEST鍵。
▲ 本電錶須由受過絕緣測量相關知識訓練之人員使用。
安全符號說明使用前請參閱說明高壓危險本錶採雙重絕緣保護符合安規IEC1010-1的安全規範12. 規格2-1 一般規範使用環境條件:三級安規絕緣二級污染2000公尺高度以下適於室內使用相對溼度≦80%RH操作溫度0〜40℃保存清潔要領 :本說明書未詳載的檢查及維修,須由本公司合格人員處理。
清潔以乾布擦拭,請勿使用去污劑、溶劑清潔。
讀值顯示 :80mm x 50mm大型LCD顯示附類比刻劃。
背光顯示 :30秒,以方便光線不良時的操作環境,30秒自動關機。
取樣率 :數位顯示2.5次 / 秒。
類比刻劃10次 / 秒。
過載指示:電錶將顯示“--”。
2低電池指示:自動低電池偵測,當電池電壓低於工作電壓時,LCD將顯示符號。
操作溫濕度:0℃ to 40℃ ( 32℉ to 104℉ )低於 80% 之相對濕度。
单片机红外遥控+步进电机+1602液晶显示c语言源程序
∙单片机红外遥控+步进电机+1602液晶显示c语言源程序∙发布时间:2009-7-25 阅读次数:426 字体大小: 【小】【中】【大】#include#include#include#define uchar unsigned char#define uint unsigned intstatic unsigned int count; //计数unsigned int hour,minute,second,count;sbit RS = P2^3;//Pin4sbit RW = P2^2; //Pin5sbit E = P2^4;//Pin6#define Data P0 //数据端口static int step_index; //步进索引数,值为0-7bit k=0; //红外解码判断标志位,为0则为有效信号,为1则为无效uchar n=0; //用来控制外部中断static bit turn; //步进电机转动方向static bit stop_flag; //步进电机停止标志static int speedlevel; //步进电机转速参数,数值越大速度越慢,最小值为1,速度最快static int spcount; //步进电机转速参数计数void delay(unsigned int endcount); //延时函数,延时为endcount*0.5毫秒void gorun(); //步进电机控制步进函数uchar data date[4]; //date数组为存放地址原码,反码,数据原码,反码char data Test1[]=" ";#define IR_RE P3_2void DelayUs(unsigned char us)//delay us{unsigned char uscnt;uscnt=us>>1;/* Crystal frequency in 12MHz*/while(--uscnt);}/******************************************************************/void DelayMs(unsigned char ms)//delay Ms{while(--ms){DelayUs(250);DelayUs(250);DelayUs(250);}}void WriteCommand(unsigned char c){DelayMs(5);//short delay before operationE=0;RS=0;RW=0;_nop_();E=1;Data=c;E=0;}/****************************************************************/void WriteData(unsigned char c){DelayMs(5); //short delay before operationE=0;RS=1;RW=0;_nop_();E=1;Data=c;E=0;RS=0;}/***********单片机原创作品******************/void ShowChar(unsigned char pos,unsigned char c){unsigned char p;if (pos>=0x10)p=pos+0xb0; //是第二行则命令代码高4位为0xcelsep=pos+0x80; //是第二行则命令代码高4位为0x8WriteCommand (p);//write commandWriteData (c); //write data}/*************************************************************************/ void ShowString (unsigned char line,char *ptr){unsigned char l,i;for (i=0;i<16;i++)ShowChar (l++,*(ptr+i));//循环显示16个字符}/*********************************************************************/ void InitLcd(){DelayMs(15);WriteCommand(0x38); //display modeWriteCommand(0x38); //display modeWriteCommand(0x38); //display modeWriteCommand(0x06); //显示光标移动位置WriteCommand(0x0c); //显示开及光标设置WriteCommand(0x01); //显示清屏}/*--------------------------延时1ms程子程序-----------------------*/ delay1000(){uint i,j;for(i=0;i<1;i++)for(j=0;j<124;j++);}/*---------------------------延时882us子程序-----------------------*/delay882(){uint i,j;for(i=0;i<1;i++)for(j=0;j<109;j++);}/*--------------------------延时2400ms程子程序-----------------------*/delay2400(){uint i,j;for(i=0;i<3;i++)for(j=0;j<99;j++);}void IR_decode(){uchar i,j;while(IR_RE==0);delay2400();if(IR_RE==1) //延时2.4ms后如果是高电平则是新码{delay2400(); //延时4.8ms避开4.5ms的高电平for(i=0;i<4;i++){for(j=0;j<8;j++){while(IR_RE==0); //等待地址码第1位高电平到来delay882(); //延时882ms判断此时引脚电平///CY=IR_RE;if(IR_RE==0){date[i]>>=1;date[i]=date[i]&0x7f;}else if(IR_RE==1){delay1000();date[i]>>=1;date[i]=date[i]|0x80;}} //1位数据接收结束} //32位二进制码接收结束}if (date[2]==0x16)TR0 = 0;else if(date[2]==0x14){TR0 = 1;}else if(date[2]==0x10){if (speedlevel>1)speedlevel--;elsespeedlevel=1;}else if(date[2]==0x1A){if(speedlevel<5)speedlevel++;elsespeedlevel=5;}else if(date[2]==0x11)turn=~turn;}void int0() interrupt 0 using 1{uint i;for(i=0;i<4;i++){delay1000();if(IR_RE==1){k=~k;} //刚开始为4.5ms的引导码,如果4ms内出现高电平则退出解码程序}if(k==0){EX0=0; //检测到有效信号关中断,防止干扰IR_decode(); //如果接收到的是有效信号,则调用解码程序//解码成功,调用显示程序,显示该键值}EX0=1; //开外部中断,允许新的遥控按键}void main(void){InitLcd();//DelayMs(15);sprintf(Test1,"STEP MOTOR SPEED");//the first lineShowString(0,Test1);ShowChar(0x19,r);ShowChar(0x1a,p);ShowChar(0x1b,m);count = 0;step_index = 0;spcount = 0;stop_flag = 0;P1_0 = 0;P1_1 = 0;P1_2 = 0;P1_3 = 0;SP=0x60;EA = 1; //允许CPU中断TMOD = 0x11; //设定时器0和1为16位模式1 ET0 = 1; //定时器0中断允许EX0=1;TH0 = 0xFE;TL0 = 0x0C; //设定时每隔0.5ms中断一次TR0 = 1; //开始计数turn=0;speedlevel=1;while(1){if(turn==0)ShowChar(0x14,+);elseShowChar(0x14,-);if(TR0 ==0){ShowChar(0x15,0);ShowChar(0x16,0);ShowChar(0x17,0);ShowChar(0x18,0);}else{if(speedlevel==1){ShowChar(0x15,3);ShowChar(0x16,0);ShowChar(0x17,0);ShowChar(0x18,0);}else if(speedlevel==2){ShowChar(0x15,1);ShowChar(0x16,5);ShowChar(0x17,0);ShowChar(0x18,0);}else if(speedlevel==3){ShowChar(0x15,1);ShowChar(0x16,0);ShowChar(0x17,0);ShowChar(0x18,0);}else if(speedlevel==4){ShowChar(0x15,0);ShowChar(0x16,7);ShowChar(0x17,5);ShowChar(0x18,0);}else if(speedlevel==5){ShowChar(0x15,0);ShowChar(0x16,6);ShowChar(0x17,0);ShowChar(0x18,0);}}}}//定时器0中断处理void timeint(void) interrupt 1 using 0 {TH0=0xFE;TL0=0x0C; //设定时每隔0.5ms中断一次count++;spcount--;if(spcount<=0){spcount = speedlevel;gorun();}}void delay(unsigned int endcount){count=0;do{}while(count<ENDCOUNT);}void gorun(){if (stop_flag==1){P1_0 = 0;P1_1 = 0;P1_2 = 0;P1_3 = 0;return;}switch(step_index) {case 0: //0P1_0 = 1;P1_1 = 0;P1_2 = 0;P1_3 = 0;break;case 1: //0、1P1_0 = 1;P1_1 = 1;P1_2 = 0;P1_3 = 0;break;case 2: //1P1_0 = 0;P1_1 = 1;P1_2 = 0;P1_3 = 0;break;case 3: //1、2P1_0 = 0;P1_1 = 1;P1_2 = 1;P1_3 = 0;break;case 4: //2P1_0 = 0;P1_1 = 0;P1_2 = 1;P1_3 = 0;break;case 5: //2、3P1_0 = 0;P1_1 = 0;P1_2 = 1;P1_3 = 1;break;case 6: //3P1_0 = 0;P1_1 = 0;P1_2 = 0;P1_3 = 1;break;case 7: //3、0P1_0 = 1;P1_1 = 0;P1_2 = 0;P1_3 = 1;}if (turn==0){step_index++;if (step_index>7) step_index=0;}else{step_index--;if (step_index<0) step_index=7;}}。
基于proteus仿真1602液晶电子时钟(附1602字符液晶详细资料)
基于proteus仿真1602液晶电⼦时钟(附1602字符液晶详细资料)基于proteus仿真1602液晶电⼦时钟(附1602字符液晶详细资料)#include#define uint unsigned int#define uchar unsigned charuchar code table[]={0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a};sbit rs=P2^0;sbit rw=P2^1;sbit e=P2^2;uchar hshi,hge, mshi,mge,shi, ge,num,num1,num2,aa;void delay(uint z){uint x,y;for(x=z;x>0;x--)for(y=110;y>0;y--);}void lcd_com(uchar com) {rs=0;rw=0;P1=com;delay(1);e=1;e=0;}void lcd_dat(uchar dat) {rs=1;rw=0;P1=dat;delay(1);e=1;e=0;}void init(){lcd_com(0x38);delay(1);lcd_com(0x0c);delay(1);lcd_com(0x01);delay(1);TMOD=0X01;TH1=(65536-50000)/256; TL1=(65536-50000)%256;EA=1;ET0=1;TR0=1;}void display(uchar hshi,uchar hge,uchar mshi,uchar mge,uchar shi,uchar ge) {lcd_com(0x80);lcd_dat(table[hshi]);lcd_com(0x81);lcd_dat(table[hge]);lcd_com(0x82);lcd_dat(table[10]);lcd_com(0x83);lcd_dat(table[mshi]);lcd_com(0x84);lcd_dat(table[mge]); lcd_com(0x85);lcd_dat(table[10]); lcd_com(0x86);lcd_dat(table[shi]); lcd_com(0x87);lcd_dat(table[ge]); }void main(){init();while(1){if(aa==20){aa=0;num++;num2=3;num1=34;if(num==60){num=0;num1++;if(num1==60){num1=0;num2++;if(num==24) {num2=0;}}}hshi=num2/10; hge=num2%10; mshi=num1/10;mge=num1%10;shi=num/10;ge=num%10;}display(hshi,hge,mshi,mge,shi,ge);}}void timer0() interrupt 1{TH0=(65536-50000)/256;TH0=(65536-50000)/256;aa++;}所谓1602是指显⽰的内容为16*2,即可以显⽰两⾏,每⾏16个字符。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Base qty 50 50 1000 50 50
Delivery mode Tube Tube Tape & reel Tube Tube
PACKAGE MECHANICAL DATA D2PAK DIMENSIONS REF.
A E L2 C2
Millimeters Min. Max. 4.60 2.69 0.23 0.93 1.70 0.60 1.36 9.35 10.40 5.28 15.85 1.40 1.75 3.20 8° 4.40 2.49 0.03 0.70 1.14 0.45 1.23 8.95 10.00 4.88 15.00 1.27 1.40 2.40 0°
Single pulse
VFM(V)
0.1 1.E-03 1.E-02
tp(s)
1.E-01 1.E+00
Fig. 3-2: Relative variation of thermal impedance junction to case versus pulse duration (TO-220FPAB).
Pulse test: * tp = 5ms, δ < 2% ** tp = 380µs, δ < 2%
2 2 2 2
Maximum Per diode Per device Per diode Per device 3.0 1.9 5.5 4.5 0.8 3.5
Unit °C/W
°C/W
Min.
Typ.
trr(ns)
80 70 60 50 40 30 20 10
Tj=25°C IF=8A VR=160V
Tj=125°C
dIF/dt(A/µs)
0 10
dIF/dt(A/µs)
100 1000
Fig. 7: Peak reverse recovery current versus dIF/dt (typical values, per diode).
Marking STTH1602CT STTH1602CG STTH1602CG STTH1602CR STTH1602CFP
Package TO-220AB D PAK D PAK I PAK TO-220FPAB
2 2 2
Weight 2.23 g 1.48 g 1.48 g 1.49 g 1.70g
Tj=25°C Tj=150°C
Fig. 3-1: Relative variation of thermal impedance junction to case versus pulse duration (TO-220AB, D2PAK, I2PAK).
Zth(j-c)/Rth(j-c)
1.0
IFM(A)
IM
60 50 40
T
80 70
δ=tp/T
tp
60 50
Tj=150°C
P = 15W
30
40
Tj=25°C
30 20 10 0 0.0 0.1 0.2 0.3 0.4
P = 8W P = 3W
20 10
VFM(V)
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4
2/7
STTH1602C
Fig. 1: Peak current versus duty cycle (per diode).
IM(A)
80 70 100 90
Fig. 2-1: Forward voltage drop versus forward current (typical values, per diode).
Qrr(nC)
280 260 240 220 200 180 160 140 120 100 80 60 40 20 0 10 100 1000
Tj=25°C Tj=125°C IF=8A VR=160V
Fig. 6: Reverse recovery time versus dIF/dt (typical values, per diode).
Qrr
0.6 0.4
Tj=25°C
6 4 2
0.2
dIF/dt(A/µs)
0 10 100 1000
0.0 25 50 75
Tj(°C)
100 125 150
Fig. 9: Thermal resistance junction to ambient versus copper surface under tab (Epoxy printed circuit board FR4, eCU: 35µm) for D2PAK.
A1 K A2
Suited for SMPS Low losses Low forward and reverse recovery times Low leakage current High junction temperature Insulated package: TO-220FPAB
K A1
2
A2 K A1
K A1
A2
TO-220FPAB STTH1602CFP
D2PAK STTH1602CG
Parameter Repetitive peak reverse voltage Tc = 150°C Tc = 140°C Tc = 140°C Tc = 130°C TO-220FPAB Tc = 130°C Tc = 100°C Tc = 110°C Tc = 75°C Per diode Per device Per diode Per device Per diode Per device Per diode Per device
Rth(j-a)(°C/W)
80 70 60 50 40 30 20 10
S(Cu)(cm²)
0 0 2 4 6 8 10 12 14 16 18 20
4/7
STTH1602C
Ordering code STTH1602CT STTH1602CG STTH1602CG-TR STTH1602CR STTH1602CFP
0.1
tp(s)
0.0 1.E-03 1.E-02 1.E-01 1.E+00 1.E+01
10 0 50
VR(V)
100 150 200
3/7
STTH1602C
Fig. 5: Reverse recovery charges versus dIF/dt (typical values, per diode).
Max. 6
Unit µA
VR = VRRM 4 IF = 8 A IF = 16 A IF = 8 A IF = 16 A 0.78
60 1.1 1.25 0.89 1.05 V
VF**
To evaluate the maximum conduction losses use the following equation : P = 0.73 x IF(AV) + 0.020 IF2(RMS) DYNAMIC ELECTRICAL CHARACTERISTICS Symbol trr IRM tfr VFP Parameter Reverse recovery time Reverse recovery current Forward recovery time Forward recovery voltage Tj = 25°C Tj = 125°C Tj = 25°C Tj = 25°C Tests conditions IF = 1 A VR = 30V dIF/dt = 100 A/µs IF = 8 A VR = 160V dIF/dt = 200 A/µs IF = 8 A dIF/dt = 100 A/µs VFR = 1.1 x VFmax IF = 8 A dIF/dt = 100 A/µs 2.4 Min. Typ. 21 6.8 Max. 26 8.8 160 Unit ns A ns V
δ
0.5 0.6 0.7 0.8 0.9 1.0
0
Fig. 2-2: Forward voltage drop versus forward current (maximum values, per diode).
IFM(A)
100 90 80 70 60 50 40 30 20 10 0 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4
Value 200 30 8 16 10 20 8 16 10 20 80 - 65 + 175 175
Unit V A A
IFSM Tstg Tj
Surge non repetitive forward current Storage temperature range Maximum operating junction temperature
Zth(j-c)/Rth(j-c)
1.0
Fig. 4: Junction capacitance versus reverse voltage applied (typical values, per diode).
C(pF)
100
F=1MHz VOSC=30mVRMS Tj=25°C
Single pulse
=160V
Fig. 8: Dynamic parameters versus junction temperature.
Qrr;IRM[Tj]/Qrr;IRM[Tj=125°C]
1.4 1.2 1.0 0.8
IRM IF=8A VR=160V
8
Tj=125°C
tp = 10 ms Sinusoidal