摘要
系统采用一块单片机AT89S52作为跷跷板检测和电动车控制的核心,实现了电动车在不同状态下的往返行驶、起始和停止位置的判断,以及行驶时间的显示以及跷跷板平衡点的寻找等功能。
The system adopted a single chip AT89S52 as the core of seesaw detection and electric motor controlling, realized functions as to electric motor car's to and fro in the different status, judgment of starting and stopping location, demonstration of driving time and balance seeking.
关键词
电动车
跷跷板
水银开关
脉宽调制
Electric Motor Car
Seesaw
Silver Switch
Impulse Width Adjustment