The invention discloses a control structure suitable for the renovation of a variety of water-saving toilets, belonging to the application of the single chip microcomputer technology in the control field. The utility model comprises an infrared emitting and receiving device, a pyroelectric emission and receiving device, a 3 lifting key, a 6 lifting key, a water tank water level detection mark and an electric control valve control circuit. Its characteristic is MCU I / O port settings two flags, through the combination of four kinds of grounding and hanging flags, a distinction between emission and receiving of infrared, pyroelectric transmitting and receiving, 3 liters key, 6 liters and 6 liters key key input in the way. This invention will be four ways of water saving toilet renovation in the same control circuit, one way to distinguish the flag bits, the application of the invention, is conducive to water saving toilet control circuit of intensive production.
【技术实现步骤摘要】
本专利技术创造属于单片机技术在控制领域中的应用。
技术介绍
本专利技术创造申请日前,应用于节水型坐便器的四种输入方式红外线感应、热释电感应、3升键6升键及6升键分别通过四种控制电路控制电控阀。不利于集约化生产及单片机资源的利用。
技术实现思路
本专利技术创造的目的就是提供一种标志位区别适用多种节水型坐便器改造的控制结构,本专利技术创造解决其技术问题的技术方案是包括红外线发射与接收装置,热释电发射与接收装置,3升键、6升键、水箱水位检测标志及电控阀控制电路;单片机I/O端口设置二位标志位,通过标志位的接地与悬空的四种组合,区分红外线发射与接收、热释电发射与接收、3升键、6升键及6升键的输入方式中的一种。单片机I/O端口设有二位标志位,单片机根据其接地与悬空的四种组合00、01、10、11区分红外线发射与接收、热释电发射与接收、3升键、6升键及6升键的输入方式中的一种。红外线发射与接收装置由红外发射、接收、调制与解调电路依次连接组成,其输出端与单片机I/O输入端相连接。热释电发射与接收装置中,热释电感应信号经探头输出,经菲涅耳透镜及三极管、运算放大器二级放大、滤波后,与电压比较器连接,电压比较器的输出端与单片机I/O输入端连接。3升键、6升键的一端分别与单片机的输入端及电源正极相连接,另一端接地。水箱设有3升、6升及溢出等3档水位标志,分别与单片机输入端相连接,其公共端接地。单片机I/O输出端与电控制电路的二组极性相反的开关管基极相连接,开关管的集电极分别与电控阀的线圈相连接。本专利技术创造的有益效果是本专利技术创造将节水型便器改造的四种方式集中在同一控制电路 ...
【技术保护点】
一种标志位区别适用多种节水型坐便器改造的控制结构,包括红外线发射与接收装置,热释电发射与接收装置,3升键、6升键、水箱水位检测标志及电控阀控制电路;其特征是单片机I/O端口设置二位标志位,通过标志位的接地与悬空的四种组合,区分红外线发射与接收、热释电发射与接收、3升键、6升键及6升键的输入方式中的一种。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。