摘要
介绍了自动平衡实验系统的设计,该系统由加速度传感器、ATmega16单片机、步进电机和平衡支架组成。单片机系统实现了对传感器的数据采集、步进电机的控制和上位机的串口通信。通过上位机(Lab-VIEW)与单片机串口通信,能够实现步进电机的"自动水平"和"既定角度转动"两种功能。
In this paper, an auto-balance experiment symtem is designed, which consists of acceler- ometer, ATmegal6 single chip , stepping motor and balance stent. The single chip program is used to collect data from the sensor, control stepping motor and communicate with the master PC. With master PC communicating with single chip by serial port, the system can realize "auto-balance" and "estab- lished angle control" functions.
出处
《实验室科学》
2012年第3期61-64,共4页
Laboratory Science