摘要
在检测系统中,常采用多路数据分时复用的串行传输方式,并需要将其中的数据提取出来,若采用硬件电路,实现比较复杂。提出了将串行信号中鉴别出来的正脉冲信号送至INT0,利用AT89C2051单片机的外部中断0并通过程序延时来控制采样点的位置,在每个脉冲信号的中间位置采样,达到提取数据的目的。
In detecting system,multi - channel data and time - sharing diplex serial transmission is often used,and the data among them must be extracted. It is complex if hardware is used to finish the work. This paper gives a sampling method of using single chip microcomputer instead of hardware. The INT0 of the AT89C2051 is adopted to accept the pulse sent by the serial port,after the delay program, picking up the pulse during the right moment,
出处
《现代电子技术》
2007年第17期141-142,共2页
Modern Electronics Technique