The invention discloses a scavenger fan with multiple control mode universal chip, which belongs to the application field of single-chip technology. The main feature is the eight bit MCU I / O port is provided with 1 control bits, 2 bit and 2 bit control object symbol decoding flag to distinguish line control and remote control two control mode, a four combination of ventilation, air, negative ions, lighting and so on all or part of the control object in a and four different decoding methods in. The flag bit is not implemented by software. When the flag bit is 0, it is equivalent to no flag bit. This invention sets a variety of control methods and objects and various decoding methods as a whole, the control circuit used in the fan, and as a standard for all kinds of fan chip manufacturer direct selection, two times the development of replacing software, is conducive to the space resource intensive production and effective use of single chip.
【技术实现步骤摘要】
本专利技术创造属于单片机应用领域。
技术介绍
本专利技术创造申请日前,不具有多种控制方式的换气扇通用的单片机芯片。一对一的控制方式造成单片机空间资源的浪费也不利于单片机专用芯片的集约化生产。
技术实现思路
本专利技术创造的目的就是提供一种具有多种控制方式的换气扇通用的单片机芯片,克服现有线控、遥控换气扇控制芯片的一对一控制方式,将线控、遥控两种控制方式、换气、吹风、负离子、照明的全部或部分控制对象及PT2111等四种解码方式集中在同一芯片中,通过三组标志位予以区别和对应。本专利技术创造解决共技术问题所采用的技术方案是八位单片机的I/O端口设有1位控制方式标志位,2位控制对象标志位及2位解码方式标志位,用以区分线控、遥控二种控制方式,换气、吹风、负离子、照明等全部或部分控制对象的四种排列组合中的一种及四种不同解码方式中的一种,标志位的设别由软件实现,当标志位为0时等效于不设标志位。1位控制方式标志位1为标志位接地,0为标志位悬空,定义1为线控方式,0为遥控方式,也可根据需要反向定义。2位控制对象组合标志位具有四种组合,即00、01、10、11其中1为接地0为悬空,分 ...
【技术保护点】
一种具有多控制方式的换气扇通用的单片机芯片,其主要特征是八位单片机的I/O端口设有1位控制方式标志位,2位控制对象标志位及2位解码方式标志位,用以区分线控、遥控二种控制方式,换气、吹风、负离子、照明等全部或部分控制对象的四种排列组合中的一种及四种不同解码方式中的一种,标志位的设别由软件实现,当标志位为0时等效于不设标志位。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。