摘要
针对某型平台罗经模拟器的问题,给出了模拟器硬件和软件的设计方案。通过RS-232串口,实现了单片机与上位机的通信,通过数码管驱动芯片CH452L和8255A实现了数码管、指示灯的显示和按键的采集。采用面向对象设计思想进行软件设计,以VB6.0和SQL2000为软件设计平台,通过数据库控制程序的流程,对操作台状态和操作进行实时监控,并提供实时的操作提示和帮助,使模拟器操作响应与实际装备完全一致。
Aiming at the problem of the platform compass training simulator,the design proposal of hardware and software was given. The MCU and PC were communicated by serial communication of RS--232. The system collects the key and displays led by CH452L and 8255A. The soft systerm was designed by object oriented method and based on the platform of VB6.0 and SQL2000.Through controlling the flow process of data base, the system can supply real-time monitor and help to status and operation of operation panel, which makes sure the responses as simulator are the same as the platform compass.
出处
《电子设计工程》
2011年第2期89-91,共3页
Electronic Design Engineering