1、 摘 要 目前,计算机正向着小型化、便捷化、普遍化的方向飞速发展。 尤其是个人计算机的发展更为迅速,随着人们生活水平的提高,和 网络技术的日趋成熟,个人计算机的性能也变得越来越强大,形成 了独具特色的家用机。现今,家用机不但有着强大的功能,还兼具 时尚、美观便捷的特性。自动门一般具有使用方便、程序简单、操 作简单、成本低等特点。 本文通过对自动门系统硬件与软件的分析,总结了设计各模块的 功能和特点,对几种实现方案进行了介绍和比较,选择了合适的器 件行了电路设计。 本系统以 STC89C52 为核心,MAX232 作为通信电路,通过编程使 单片机实现舵机的控制和门位置的判断。最后较详细的介绍了系
2、统 调试的基本过程。 关键词:活动门;自动控制;通信电路;STC89C52 Abstract At present, the computer is thinking small, convenient, the generalization of the direction of rapid development. In particular, the development of personal computers more quickly, with the improvement of living standard, and network technology matures,
3、 the performance of personal computers have become more powerful, developed a unique home machine. Today, not only has a strong console features, but also possesses the fashion, beauty and convenient features. Chassis Automatic doors generally have easy to use, simple procedures, simple and low cost
4、. Based on the chassis automatic door system hardware and software analysis, design modules summarized the functions and characteristics of some implementations are introduced and compared, select the appropriate line of the circuit device. STC89C52 as the core system, programmed to enable single chip motor control, and gate position of judge. The MCU can not directly drive DC-click features, the paper gives a common solution, and finally a more detailed description of the basic process of deb