摘要
通过单片机对ADXRS150陀螺仪传感器进行A/D转换,然后ARM9通过IIC总线读取单片机AD转换后得到的角度值。根据角度值,ARM9做出相应指示,通过IIC发送给单片机,单片机控制机器人左右两个电机运动,从而运动出相应轨迹。单片机主要负责陀螺仪数据采集、AD转换、控制电机运动,而ARM负责运动决策、人机交互等。实验表明,该系统运行稳定可靠,陀螺仪数据采集正确无误。
According to A/D conversion of ADXRS150 gyro sensor by Microcontroller,ARM9 reads the perspective of value after MCU AD converted through the IIC bus.ARM9 make the corresponding instructions sent to the microcontroller through the IIC according to the angle value,then MCU controls Robot two motor motion,which sport a corresponding trajectory.MCU is mainly responsible for data collection of gyroscope,AD conversion,control motor movement,and ARM is responsible for sport policy-making,human-computer interaction and so on.Experiments show that the system is stable and reliable,gyroscope data acquisition correct.
出处
《机电产品开发与创新》
2010年第5期71-72,共2页
Development & Innovation of Machinery & Electrical Products