介绍一种基于MiniARM的智能小车的硬件设计方案与驱动程序的开发,采用MiniARM工控板M2005-NU11为核心控制器,MiniARM内嵌μC/OS-Ⅱ操作系统,提供基本的板级驱动.本文基于该软件平台,对直流电机、温度传感器DS18B20、超声波传感器进行驱动程序开发,并将测得的数据通过串行通信传输到计算机.利用系统提供的硬件驱动支持库,无需了解硬件的细节就可通过API函数操作硬件,极大地缩短了开发时间.%The hardware design and driver development of the intelligent car based on MiniARM is presented. MiniARM TPC board M2005-NU11 embedded μC/OS-Ⅱ operating system is used as the core controller, which provides the basic board-level driver. Based on this software platform, the drivers of DC-motors, temperature sensors DS18B20, and ultrasonic sensors are de-veloped; and the measured data are transported to the computer via serial communication. Using the hardware driver support li-brary and API functions, the hardware can be operated without knowing their details, so the development time is reduced greatly.
展开▼