ABB IEFAN90
多年来一直专注于工业自动化领域的高品质工业模组全球贸易。我们专注于PLC组件数控和伺服驱动机器故障?购置更换零件?停产设备麻烦?DCS系统PLC系统机器人系统备件解决方案不要犹豫与我们联系!我们可以提供快速和合格的工业备件援助。************************************************************************ABBIEFAN90ABBIEFAN90ABBIEFAN90*****************************************************************************************************1SHT11简介SHT11是瑞士Scnsirion公司推出的一款数字温湿度传感器芯片。该芯片广泛应用于暖通空调、汽车、消费电子、自动控制等领域。共主要特点如下:◆高度集成,将温度感测、湿度感测、信号变换、A/D转换和加热器等功能集成到一个芯片上;◆提供二线数字串行接口SCK和DATA,接口简单,支持CRC传输校验,传输可靠性高;◆测量精度可编程调节,内置A/D转换器(分辨率为8~12位,可以通过对芯片内部寄存器编程米选择);◆测量精确度高,由于同时集成温湿度传感器,可以提供温度补偿的湿度测量值和高质量的露点计算功能;◆封装尺寸超小(7.62mm×5.08mm×2.5mm),测量和通信结束后,自动转入低功耗模式;◆高可靠性,采用CMOSens工艺,测量时可将感测头完全浸于水中。2SHT11的引脚功能SHT11温湿度传感器采用SMD(LCC)表面贴片封装形式,接口非常简单,引脚名称及排列顺序如图1所示。各引脚的功能如下:◇脚1和4--信号地和电源,其工作电压范围是2.4~5.5V;◇脚2和脚3--二线串行数字接口,其中DA-TA为数据线,SCK为时钟线;◇脚5~8--未连接。3SHT11的内部结构和工作原理温湿度传感器SHT11将温度感测、湿度感测、信号变换、A/D转换和加热器等功能集成到一个芯片上,其内部结构如图2所示。该芯片包括一个电容性聚合体湿度敏感元件和一个用能隙材料制成的温度敏感元件。这两个敏感元件分别将湿度和温度转换成电信号,该电信号首先进入微弱信号放大器进行放大;然后进入一个14位的A/D转换器;最后经过二线串行数字接口输出数字信号。SHT11在出厂前,都会在恒湿或恒温环境巾进行校准,校准系数存储在校准寄存器中;在测量过程中,校准系数会自动校准来自传感器的信号。此外,SHT11内部还集成了一个加热元件,加热元件接通后可以将SHT11的温度升高5℃左右,同时功耗也会有所增加。此功能主要为了比较加热前后的温度和湿度值,可以综合验证两个传感器元件的性能。在高湿(>95%RH)环境中,加热传感器可预防传感器结露,同时缩短响应时间,提高精度。加热后SHT11温度升高、相对湿度降低,较加热前,测量值会略有差异。微处理器是通过二线串行数字接口与SHT11进行通信的。通信协议与通用的I2C总线协议是不兼容的,因此需要用通用微处理器I/O口模拟该通信时序。微处理器对SHT11的控制是通过5个5位命令代码来实现的,命令代码的含义如表1所列。4SHT11应用设计微处理器采用二线串行数字接口和温湿度传感器芯片SHT11进行通信,所以硬件接门设计非常简单;然而,通信协议是芯片厂家自己定义的,所以在软件设计中,需要用微处理器通用I/O口模拟通信协议。4.1硬件设计SHT11通过二线数字串行接口来访问,所以硬件接口电路非常简单。需要注意的地方是:DATA数据线需要外接上拉电阻,时钟线SCK用于微处理器和SHT11之间通信同步,由于接口包含了完全静态逻辑,所以对SCK最低频率没有要求;当工作电压高于4.5V时,SCK频率最高为10MHz,而当工作电压低于4.5V时,SCK最高频率则为1MHz。硬件连接如图3所示。P0970PMP0970PNP0970PPP0970PQP0970PRP0970PSP0970PTP0970PUP0970PVP0970PXP0970PYP0970PZP0970QSP0970QTP0970QUP0970QVP0970QWP0970QXP0970QYP0970QZP0970RAP0970TEP0970UTP0970UYP0970VBP0970VCP0970VDP0970VEP0970VQP0970VSP0970WUP0970WVP0970WWP0970WXP0970WYP0970WZP0970XAP0970XCP0970XDP0970XEP0970XFP0970XGP0970XHP0970XJP0970XKP0970XLP0970XMP0970XNP0970XPP0970XXP0970YAP0970YBP0970YCP0970YDP0970YEP0970YFP0970YGP0970YHP0970YJP0970YKP0971AAP0971ABP0971ACP0971AJP0971AMP0971ANP0971ATP0971AUP0971BAP0971BBP0971BCP0971BJP0971BKP0971BMP0971BNP0971BQP0971BRP0971BUP0971BXP0971CFP0971CTP0971CVP0971CWP0971CXP0971DAP0971DBP0971DEP0971DFP0971DLP0971DMP0971DNP0971DPP0971DQP0971DRP0971DSP0971DTP0971DUP0971DVP0971DXP0971DYP0971DZP0971FBP0971FCP0971FDP0971FEP0971FFP0971FHP0971FJP0971FKP0971FLP0971FMP0971FNP0971FSP0971FTP0971FZP0971GDP0971GEP0971GFP0971GGP0971GHP0971GJP0971GKP0971GLP0971GQP0971GTP0971GXP0971JAP0971JBP0971JCP0971JDP0971JEP0971JFP0971JGP0971JHP0971JKP0971JLP0971JMP0971JNP0971JPP0971JQP0971JRP0971JSP0971JTP0971KTP0971LAP0971LBP0971LCP0971LDP0971LEP0971LFP0971LRP0971LSP0971LTP0971LZP0971MBP0971MCP0971MKP0971MLP0971MQP0971MXP0971MYP0971MZP0971NUP0971NVP0971PAP0971PBP0971PCP0971PDP0971PEP0971PKP0971PNP0971PSP0971PZP0971QLP0971QMP0971QPP0971QRP0971QTP0971QVP0971QXP0971QZP0971RBP0971RDP0971REP0971RFP0971RGP0971RHP0971RJP0971RLP0971RYP0971SDP0971SEP0971SFP0971SHP0971SKP0971SSP0971SUP0971SVP0971SWP0971SXP0971TBP0971TGP0971TRP0971TWP0971TXP0971TYP0971TZP0971UAP0971UBP0971UCP0971UDP0971UEP0971UFP0971UGP0971ULP0971UMP0971UNP0971UPP0971USP0971UUP0971UYP0971UZP0971VBP0971VCP0971VDP0971VEP0971VFP0971VJP0971VKP0971VLP0971VPP0971WAP0971WGP0971WHP0971WKP0971WLP0971WVP0971WZP0971XKP0971XLP0971XMP0971XNP0971XQP0971XSP0971XUP0971XWP0971XXP0971XYP0971XZP0971YAP0971YBP0971YCP0971YDP0971YEP0971YFP0971YGP0971YLP0971YQP0971YVP0971YWP0971YXP0971ZAP0971ZDP0971ZGP0971ZUP0971ZVP0971ZWP0971ZZP0972AJP0972BEP0972DXP0972DYP0972DZP0972EJP0972EKP0972ELP0972EMP0972ENP0972EP)