基于单片机的多功能智能小车设(实物制作)摘要 随着社会的进展,智能化越来越受到人们的关注。本设计通过模拟汽车的自动行驶及避障功能,来实现智能化。本设计主要有三个模块包括信号检测模块、主控模块、电机驱动模块.在此设计中,用 STC89C51 单片机作为主控芯片,处理接收到的各种信号,并作出相应的反馈;用红外对管来进行黑线检测,从而达到循迹和避障的目的;通过编写的程序,保证了电机的左右转动,从而达到小车设计时预定的目标。由于小车在设计过程中,采纳了模块化的设计思路,所以在进行调试时非常方便。我们可以分别对每一个功能部分来进行调试,驱动部分调试时,只要给电机向前或者向后的信号,就可以调试出其功能。循迹部分调试时,只要通过检测到黑线,推断是否沿黑线行驶,即可以调试出。在进行避障调试中,我们可以把障碍物放在小车前方,然后看小车两个轮子的转向。这种模块化的设计思想不仅简化了设计过程,而且对我们以后的设计也会有一定启发。ABSTRACTAlong with the development of society, more and more intelligent attention。 This design by simulating a car driving and automatic obstacle avoidance, to achieve intelligent. This design has three main modules including drive module, signal detection module, main control module, motor. In this design, with STC89C51 SCM as the master chip, processing various signals received, and make corresponding feedback; using Infrared to tube to detect the black line, so as to achieve the purpose of tracking; Through the program, ensure the motor rotation, so as to achieve the design of the car when the scheduled target.As the car in the design process , using a modular design concept,so very convenient during debugging。 We were part of each function for debugging, debugging driving part, as long as the motor forward orbackward signal , you can debug the functionality 。 When debugging tracking part, simply by detecting the black line, to determine whether the black line running along, that you can debug a. Av...