摘要
以C8051F020单片机为控制核心、数字罗盘HMR3000为磁北传感器,设计了基于数字罗盘HMR3000的智能寻向系统。硬件部分详述了方位信号通信电路、步进电机驱动电路、键盘电路和LCD显示电路等;软件部分重点研究了系统主程序、方位通信子程序、数据处理子程序和步进电机驱动子程序等。分析了系统误差并提出了使用注意事项。经过调试,该系统具有寻向速度可调、精度较高、方向自动保持等优点。
An intelligent system for searching and pointing to an appointed orientation is designed based on HMR3000. The system uses C8051F020 as the control core and HMR3000 as the magnetic pole sensor. Orientation signal communication circuit, keyboard circuit, stepper motor driving circuit and LCD displaying circuit is presented. Orientation signal communication subroutine, data processing subrontion and stepper motor driving subroutine is emphasesed in the main program.The system can point to the appointed orientation automaticlly and independently with modulatory speed and high precision.