1、 STC89C52 processing chip Prime features:
With MCS - 51 SCM product compatibility, 8K bytes in the system programmable Flash memory, 1000 times CaXie cycle, the static operation: 0Hz ~ 33Hz, triple encryption program memory, 32 programmed I/O port, three 16 timer/counter, the eight uninterrupted dual-career UART serial passage, low power consumption, leisure and fall after fall electric power mode can be awakened and continuous watchdog timer and double-number pointer, power identifier. Efficacy: characteristics
STC89C52 is one kind of low power consumption, high CMOS8 bit micro-controller, 8K in system programmable Flash memory. Use high-density nonvolatile storage technology, and industrial 80C51 product instruction and pin fully compatible. The Flash memory chips allows programs in the system, also suitable for programmable conventional programming. In a single chip, have clever 8 bits CPU and online system programmable Flash, increase STC89C52 for many embedded control system to provide high vigorous application and useful solutions. STC89C52 has following standard efficacy: 8k byte Flash RAM, 256 bytes, 32 I/O port, the watchdog timer, two, three pointer numerical 16 timer/counter, a 6 vector level 2 continuous structure, the serial port, working within crystals and horological circuit. In addition, 0Hz AT89S52 can drop to the static logic operation, support two software can choose power saving mode. Idle mode, the CPU to stop working, and allows the RAM, timer/counters, serial, continuous to work. Protection asana pattern, RAM content is survival, vibrators frozen, SCM, until all the work under a continuous or hardware reset. 8-bit microcontrollers 8K bytes in the system programmable Flash AT89S52 devices.
Mouth: P0 P0 mouth is a two-way open drain I/O. As export, each can drive eight TTL logic level. For P0 port to write \"1\input.
When access to external programs and numerical memory, also known as low P0 mouth eight address/numerical reuse. In this mode, with the internal P0 resistor.
In the flash when programming, also used for P0 mouth; absorb instruction bytes In the process, the output command byte calibration. When the program requires external, calibration on pull-up resistors.
Mouth: P1 mouth P1 is an internal resistance of the eight two-way I/O buffers can drive, P1 output four TTL logic level. To write \"1\" P1 port, the internal resistance to port, can push as input mouth. When used as input, external and internal foot because of low resistance, will output current (IIL).
In addition, P1.0 and P1.2 respectively timer/counter 2 external counting input (P1.0 / T2) and when the trigger editor/counter P1.1 input (2), specific T2EX/are shown below. In programming and calibration, flash P1 mouth absorb eight address low byte. Efficacy: the foot.
P1.0 T2 (timer/counter T2 external counting input), clock output
P1.1 T2EX (timer/counter T2 capture/overloaded triggered signals and direction control),
P1.5 MOSI (with) online system programming, P1.6 MISO (with) online system programming, P1.7 SCK (with) online system programming,
Mouth: P2 P2 mouth is an internal resistance of the eight two-way I/O buffers and P2 output can drive four TTL logic level. To write \"1\" P2 port, the internal resistance to port, can push as input mouth. When used as input, external and internal foot because of low resistance, will output current (IIL).
In the external program memory access or use 16bit external numerical memory address read (for example MOVX execution DPTR @), P2 mouth send out high 8 address. In this application, P2 mouth on the internal use strong pull send 1. In using 8-bit address (such as MOVX @ RI) access to external numerical memory, P2 mouth output P2 latches content. In programming and calibration, flash P2 mouth also absorb high eight address byte and some control signal.
P3: a P3 mouth on the inside of the eight two-way pull-up resistors I/O buffers can drive, p2 output four TTL logic level. For P3 port to write \"1\port, can push as input mouth. When used as input, external and internal foot because of low resistance, will output current (IIL). P3 mouth AT89S52 special functions (also as the second efficacy), are shown below. In programming and
calibration, flash also absorb some P3 mouth control signals. Port pin second efficacy: P3.0 RXD (serial input) P3.1 TXD (serial export), P3.2 INTO the discontinuous (0) P3.3 INT1 (1) the discontinuous P3.4 (time/counter TO 0) P3.5 T1 (1) time/counter,
P3.6 WR (external numerical memory write for) P3.7 RD (external numerical memory read for)
In addition, also absorb some used in mp3 mouth FLASH memory programming and calibration of program control signals.
RST, reset input: when the vibrator, RST pin appeared two machine cycle above high level will be reset the chip.
ALE/PROG - when access to external program memory or numerical memory, ALE (address latch allow) output pulses are used to latch address of low eight bytes. Normally, ALE with clock frequencies are 1/6 output pulse signal with fixed, so it can be used for the purpose or output clocks. Timing Those who want an attention is: whenever access to external numerical memory will skip a ALE pulse.
For FLASH memory programming, this pin is used for input programming pulse (.) PROG
If necessary, but through special effect to the zone registers (SFR) 8EH D0 position, the unit can be banned ALE operations. This position is a bit, MOVX and MOVC instructions will be activated. ALE
-- In addition, the foot will be
weak, execute external program MCU hign should be banned, a void. Set ALE PSEN - program storage PSEN allowed (output is outside of the program memory read, choose communication by external program memory when taking AT89C52 instructions (or), each machine cycle PSEN twice, two pulse output is useful, during this period, when access to external numerical memory, will skip PSEN twice. EA/VPP - external access permission, to make the CPU only access to external program memory (address for 0000H - FFFFH), EA end must remain low level (ground). Should notice is: if a LB1 is encrypted, reset when programming will latch
EA end.
As for the high level of the EA (VCCS), the CPU is the implementation of the program memory internal instructions.
FLASH memory when programming, this pin plus + 12 v programming allow power Vpp, of course, that is the part is used to Vpp voltage 12V programming. 2、 China's washing machine market is entering the replacement period, the market potential is huge, people washing requirements are also increasing, the current strength of the main washing machine washing function, into the drainage system, automatic fault diagnosis function, pause and other major functions in many respects still can not meet people's needs. This requires that designers have a higher professional and technical level, able to make more good suggestions and new topics, people will need to become a reality, to design more energy-efficient, more comprehensive and more humane automatic washing machine. The current washing machines are not compatible implement all aspects of the play more plaid laundry manufacturers are focusing on specialty brands of washing machines, highlight one or two different washing machine and other personalized features, to realize the function of the washing machine is controlled by microcomputer the microcontroller small and flexible control, therefore, is designed to give single-chip control system is very practical. The design of the washing machine and the controller also to meet the different needs of some users. SCM control technology will also be used in real life, the most important thing is to learn the use of technology.
In today's world of technology, the era of knowledge explosion hit, as long as people need, it is possible to produce a product to meet the needs of the people. It is this development of the washing machine, it was found that in life some of its inconvenience, it will continue to improve and perfect it in practice, the new washing machine is in this case was born.
Ultrasonic washing machine cavitation ultrasonic vibration generated b
y the
production of gas bubbles in the wash side edges disappear movement, resulting in strong water pressure, then add a small amount of laundry detergent, fiber vibration, phacoemulsification decontamination, water bubbles rise, resulting in a washing tub central flip outward flow, then friction between the clothes, and a very effective role in
full contact with washing detergent production. This washing machine washing tub is small, barrel no moving parts, no mechanical electrical failure, convenient repair. Dictionary uniformity, no wound, not to hurt the fabric, washing effect, water, power. This electromagnetic washing machine washing machine washing tub has four heads, each of the top clamps to grip the stretch clothes, washing each head has a solenoid, the power to micro-vibration hit 2500 times / second, so laundry in the washing liquid. Because no motor, no noise, 50% water, power 75%.
Foam washing machine temperature Osaka, Japan developed a large washing machine to wash clothes without hot foam. Filling the lower part of the detergent in the washing machine, put the clothes after the toggle switch and start blowing the air into the tank foam by heating to 70
Foam wash clothes degrees Celsius, and then into the tub next defoaming apparatus, generally 5 to 10 minutes to wash / 5, 21L / 1kg dryer.
One kind without detergent or detergent washing machine washing machine vacuum developed by the former Soviet Union, a vacuum pump into a vacuum suction laundry bins, buckets of water movement bubble burst and decontamination. Clean and high, does not harm clothes, no noise, and high cost. Actually cold washing boiling principle, within a few seconds, then withdrawn from the upper air washing tub. Thin like air and water, such as boiling, stir in laundry foam whirlpool, 1.5 to 2 minutes to wash clothes, clothes generally 7 to 10 minutes to complete the whole process.
Italian Zanussi jet washing machine detergent company will continue to develop a spray to the laundry washing machine, it seems dry, it can save 20% water, 30% of the province detergent, can save 35%, save time by 10%. This washing machine is completely different from the front-loading washing machine, installed in the sprinkler system of the injection device continuously spray water and detergent on the clothes washed, clothes and stir in stainless steel tanks. Laundry in the liquid, stirring constantly, just as there is no barrel water. However, it permeates through the water flow into a water storage tank is located in the laundry drum bottom. In the tank, the water is re-injected into the recirculated heating up the laundry, the washing tub made periodically dehydration, to drain the water and contaminants, and then rinsed three times, and finally washing dehydration. Some of the problems to be solved
washing machine
Since China started late washing machine factory, plus some technical issues, the end of the reproduction inevitable and some models show some ills. The main shortcomings are:
Noise, hemp and leaking electricity, water or water more than poor or poor drainage, the work cycle is not smooth, vibration, damage to the laundry, washing effect is poor, dehydration automatic insertion of the poor, poor dehydration, weight capacity unreasonable. Specifically, there is a problem in the washing machine structure, quality, and management of raw materials and molds.
中文翻译
1、 STC89C52 处理芯片 首要性能:
与 MCS-51 单片机产物兼容 、 8K 字节在系统可编程 Flash 存储器、 1000 次擦写周期、全静态操作: 0Hz ~33Hz 、三级加密程序存储器、 32 个可编程 I/O 口线 、三个 16位定时器 /计数器 八个间断源、 全双职工 UART 串行通道、 低功耗空闲和掉电模式 、掉电后间断可唤醒 、看门狗定时器 、 双数值指针 、掉电标识符。
功效特性描述:
STC89C52 是一种低功耗、高性能 CMOS8 位微控制器,具有 8K 在 系统可编程 Flash 存储器。使用高密度非易失性存储器技术制造,与工业 80C51 产物指令和引脚完全兼容。片上 Flash 允许程序存储器在系统可编 程,亦适于常规编程器。在单芯片上,拥有灵巧的 8 位 CPU 和在线系统 可编程 Flash ,使患上 STC89C52 为众多嵌入式控制应用系统提供高矫捷、 超有用的解决方案。 STC89C52 具有以下标准功效: 8k 字节 Flash, 256 字节 RAM , 32 位 I/O 口线,看门狗定时器, 2 个数值指针,三个 16 位 定时器 / 计数器,一个 6 向量 2 级间断结构,全双职工串行口, 片内晶振 及钟表电路。另外, AT89S52 可降至 0Hz 静态逻辑操作,支持 2 种软件可 选择节电模式。空闲模式下, CPU 停止工作,允许 RAM 、定时器 /计数器、 串口、间断继续工作。掉电保护体式格局下, RAM 内容被生存,振动器被 冻结,单片机一切工作停止,直到下一个间断或者硬件复位为止。 8 位微 控制器 8K 字节在系统可编程 Flash AT89S52
P0 口: P0 口是一个 8 位漏极开路的双向 I/O 口。作为输出口,每位 能驱动
8 个 TTL 逻辑电平。对于 P0端口写 “1”时,引脚用作高阻抗输入。 当访问外部程序和数值存储器时, P0 口也被作为低 8 位地址 /数值复 用。在这种模式下, P0 具有内部上拉电阻。
在 flash 编程时, P0 口也用来吸收指令字节;在程序校验时,输出指 令字节。程序校验时,需要外部上拉电阻。
P1 口:P1 口是一个具有内部上拉电阻的
8 位双向 I/O 口,p1 输出
缓冲器能驱动四个 TTL 逻辑电平。对于 P1 端口写 “1”时,内部上拉电阻 把端口拉高,此时可以作为输入口使用。作为输入使用时,被外部拉低的 引脚由于内部电阻的原因,将输出电流( IIL )。
此外, P1.0和 P1.2分别作定时器 /计数器 2的外部计数输入 ( P1.0/T2 ) 和时器 /计数器 2 的触发输入( P1.1/T2EX ),具体如下表所示。 在 flash 编程和校验时, P1 口吸收低 8 位地址字节。 引脚号第二功效:
P1.0 T2 (定时器 /计数器 T2 的外部计数输入) ,钟表输出 P1.1 T2EX (定时器 /计数器 T2的捕捉 /重载触发信号和方向控制) P1.5 MOSI (在线系统编程用) P1.6 MISO (在线系统编程用) P1.7 SCK (在线系统编程用)
P2 口: P2 口是一个具有内部上拉电阻的 8 位双向 I/O 口, P2 输出 缓冲器能驱动四个 TTL 逻辑电平。对于 P2 端口写 “1”时,内部上拉电阻 把端口拉高,此时可以作为输入口使用。作为输入使用时,被外部拉低的 引脚由于内部电阻的原因,将输出电流( IIL )。
在访问外部程序存储器或者用 16 位地址读取外部数值存储器 (例如执 行 MOVX @DPTR ) 时, P2 口送出高八位地址。在这种应用中, 使用很强的内部上拉发送
P2 口
1。在使用 8 位地址(如 MOVX @RI )访问外部
数值存储器时, P2 口输出 P2 锁存器的内容。在 flash 编程和校验时, P2 口也吸收高 8 位地址字节和一些控制信号。
P3 口:P3 口是一个具有内部上拉电阻的 8 位双向 I/O 口,p2 输出 缓冲器能
驱动四个 TTL 逻辑电平。对于 P3 端口写 “1”时,内部上拉电阻 把端口拉高,此时可以作为输入口使用。作为输入使用时,被外部拉低的 引脚由于内部电阻的原因,将输出电流( IIL )。 P3 口亦作为 AT89S52 特 殊功效(第二功效)使用,如下表
所示。在 flash 编程和校验时, P3 口也 吸收一些控制信号。 端口引脚第二功效:
P3.0 RXD( 串行输入口 ) P3.1 TXD( 串行输出口 ) P3.2 INTO( 外间断 0) P3.3 INT1( 外间断 1) P3.4 TO(定时 /计数器 0) P3.5 T1(定时 /计数器 1)
P3.6 WR( 外部数值存储器写选通 ) P3.7 RD( 外部数值存储器读选通 )
此外,P3 口还吸收一些用于 FLASH 闪存编程和程序校验的控制信号。 RST—— 复位输入:当振动器工作时, RST 引脚出现两个机器周期以 上高电平将是单片机复位。
ALE/PROG —— 当访问外部程序存储器或者数值存储器时,
ALE (地址
锁存允许)输出脉冲用于锁存地址的低 8 位字节。一般情况下, ALE 仍以 钟表振动频率的 1/6 输出固定的脉冲信号,因此它可对于外输出钟表或者 用于定时目的。要注重的是:每当访问外部数值存储器时将跳过一个 ALE 脉冲。
对于 FLASH 存储器编程期间,该引脚还用于输入编程脉冲( 。
如有必要,可通过对于特殊功效寄存器(
SFR)区中的 8EH 单位的
PROG )
D0 位置位,可禁止 ALE 操作。该位置位后,只有一条 MOVX 和 MOVC 指令才气将 ALE 激活。此外,该引脚会被微弱拉高,单片机执行外部程序 时,应设置 ALE 禁止位无效。
PSEN—— 程序储存允许( PSEN)输出是外部程序存储器的读选通信 号,当 AT89C52 由外部程序存储器取指令(或者数值)时,每一个机器周 期两次 PSEN 有用,即输出两个脉冲,在此期间,当访问外部数值存储器, 将跳过两次 PSEN 信号。
EA/VPP —— 外部访问允许,欲使 CPU 仅访问外部程序存储器(地址 为 0000H-FFFFH ), EA 端必须保持低电平(接地) 。需注重的是:如果加 密位
LB1 被编程,复位时内部会锁存 EA 端状态。
如 EA 端为高电平(接 Vcc 端), CPU 则执行内部程序存储器的指令。 FLASH 存储器编程时,该引脚加上 +12V 的编程允许电源 Vpp ,当然 这必须是该部件是使用 12V 编程电压 Vpp 。
2、目前中国洗衣机市场正进入更新换代期,市场潜力巨大,人们对 于洗衣机
的要求也越来越高,目前的洗衣机主要有强弱洗涤功能、进排水 系统故障自动诊断功能、暂停等几大功能,在许多方面还不能达到人们的 需求。这就要求设计者们有更高的专业和技术水平,能够提出更多好的建 议和新的课题,将人们的需要变成现实,设计出更节能、功能更全面、更 人性化的全自动洗衣机。目前的洗衣机都没有实现全方面的兼容,打多洗 衣的厂家都注重格子品牌的洗衣机的特长,突出一两个与别的洗衣机不同 的个性化的功能,洗衣机的各项功能是由单片机控制实现的,单片机的体 积小,控制功能灵活,因此,设计出给予单片机控制系统就具有很强的实 用性。而本次设计的洗衣机控制器也是为了满足某些用户的不同需要。同 时也将单片机控制技术用到了实际生活中,最重要的是将所学的东西运用 化。
当今世界是技术、知识打爆炸的年代,只要人们有需要,就有可能生 产出某种产品来满足人们的需要。洗衣机的发展正是这样,人们在生活中 发现了它的某些不便,就会在实际中不断地改进和完善它,新型的洗衣机 正是在这种情况下诞生的。
超声波洗衣机超声振动产生空穴现象,在洗涤中通过边生产气泡边消 失的运动,产生强水压,再加入小量洗衣剂,振动纤维,超声乳化去污, 水中气泡上升,产生了洗涤桶中央向外侧翻动的水流,便衣服之间相互摩 擦,并与洗涤剂充分接触产生很有效的洗涤作用。这种洗衣机洗涤桶小, 桶内无运动部件,无机械电气故障,修理方便。词典均匀性好,不缠绕, 不伤布料,洗涤效果好,省水,省电。
电磁洗衣机这种洗衣机洗涤桶内有
4 个洗涤头,上面各有个夹子,把
衣物伸展夹住,每个洗涤头上有个电磁线圈,接通电源发生 2500 次 /秒的 微击振动,使衣物在洗涤液中洗涤。因不用电机驱动,无噪声,省水 50% , 省电 75% 。
高温泡沫洗衣机日本大阪大研制的一种不用高温泡沫来洗涤衣物的洗 机。洗涤剂灌于洗衣机低部,放衣物后拨动开关,开始鼓风,将空气送入 罐中产生泡沫,由加热到 70
摄氏度高温泡沫洗净衣物,然后进入洗衣桶旁边的消泡装置,一般洗 5~10 分钟/5 次, 21L/1kg 干衣。
真空洗衣机原苏联研制的一种不用洗衣粉或洗涤剂的洗衣机,真空泵 将洗衣桶
内吸成真空状态,桶中水运动产生气泡爆破并去污。洗净度高, 不损衣、无噪声、造价高。实际上是采用冷沸腾洗涤原理,在几秒钟内从 洗涤桶的上部那空气抽出。稀薄空气与水如沸腾状,衣物在泡沫漩涡中搅 动, 1.5~2 分钟就能洗净衣物,一般洗衣服 7~10 分钟即可完成全过程。 喷射式洗衣机意大利扎努西公司研制一种将洗涤剂不断喷射向衣物的 洗衣机,似乎无水,可以省水 20%,省洗涤剂 30%,省能 35%,省时间 10%。 这种洗衣机完全不同于前装式滚筒洗衣机,安装在喷淋系统内的喷射装置 持续不断地将水和洗涤剂喷淋在衣物上进行洗涤,并在不锈钢桶内搅动衣 物。衣物在液体中不停地搅动,就像桶内根本没有水一样。然而水却渗透 过衣物流入位于滚筒底部的一个储水槽中。在槽中,水被从新加热再次循 环喷射到衣物上去,洗涤桶做周期性脱水,以排去水和污物,随后漂洗 3 次,最后脱水洗完。 洗衣机待解决的一些问题
由于我国洗衣机厂起步晚,加上技术方面的一些问题,不可避免底再 现有的机型中出现一些弊病。主要弊病有:
噪声大,麻电和漏水,进水不畅或进水不止或排水不畅,工作周期不 平稳、振动大,损伤洗涤物,洗涤效果不佳,脱水插自动性不佳,脱水不 良,重量大,容量不合理。具体来说,洗衣机的问题存在于结构、质量、 原材料和模具及管理方面。
因篇幅问题不能全部显示,请点此查看更多更全内容