基于单片机得多功能智能小车设(实物制作)摘要 随着社会得进展,智能化越来越受到人们得关注。本设计通过模拟汽车得自动行驶及避障功能,来实现智能化。本设计主要有三个模块包括信号检测模块、主控模块、电机驱动模块。在此设计中,用S TC8 9C 51 单片机作为主控芯片,处理接收到得各种信号,并作出相应得反馈;用红外对管来进行黑线检测,从而达到循迹与避障得目得;通过编写得程序,保证了电机得左右转动,从而达到小车设计时预定得目标. 由于小车在设计过程中,采纳了模块化得设计思路,所以在进行调试时非常方便。我们可以分别对每一个功能部分来进行调试,驱动部分调试时,只要给电机向前或者向后得信号,就可以调试出其功能。循迹部分调试时,只要通过检测到黑线,推断就是否沿黑线行驶,即可以调试出。在进行避障调试中,我们可以把障碍物放在小车前方,然后瞧小车两个轮子得转向。这种模块化得设计思想不仅简化了设计过程,而且对我们以后得设计也会有一定启发。AB S T R AC T Along w i t h the dev e l o pme n t o f soci e ty, more an d m o re in t elligent a ttention、 Th i s desi gn by si mu lating a car d r i vi ng a nd a u t o matic ob s tac l e avo i dance, t o ac h ieve i n te l ligent、 Thi s des i gn ha s three m ain m od u les inclu di ng driv e m o dul e, s i gn al d e t ecti on modu l e, ma i n con t rol m odu l e, motor、 In t hi s d e sign, wi th STC 8 9C5 1 SC M as t h e ma s t er chip, p roce s sing v arious signa l s r ecei v e d, an d m ake c o rre s po n din g fe edb ac k; us ing In f ra r ed t o t u b e to det e ct th e blac k line, so as to achie v e t he purpose of tr a cking; Through t h e progra m, e n sur e the motor r otati on, so as to a c hi e ve the design of t he c ar when the sc h ed u led t arget、 As th e c ar in the design...