摘要
设计了一种基于NRF24L01无线通信的两线制红外光电传感器测频系统。为了减少三线制传感器的用线数量以及改进信号的稳定性,设计一种两线制光电传感器。在设计过程中,首先对三线制传感器的电路进行深入研究后设计了改进后的两线制传感器电路,设计了信号处理电路,将传感器的脉冲信号转换为频率信号,通过RS-485总线传给无线发送模块,再通过无线通信发送给无线接收模块,最后通过上位机软件将所测数据显示出来。经过实验证明,它能够稳定准确地采集信号。经过对两种传感器得到的数据进行比较后得出,两线制传感器所测得的数据的确更稳定,波动小、且只需要两根线,达到了实验的目的。
A two wire infrared photoelectric sensor frequency measuring system based on NRF24 L01 wireless communication is designed.In order to reduce the number of wires used in three-wire sensor and improve the stability of signal,a two-wire photoelectric sensor is designed.In the design process,the improved two-wire sensor circuit is designed after the in-depth study of the three-wire sensor circuit,and then the signal processing circuit is designed to convert the pulse signal of the sensor into frequency signal,which is transmitted to the wireless transmission module through RS-485 bus,and finally transmitted to wireless communication.The receiving module finally displays the measured data through the host computer software.It is proved by experiments that it can collect signals in a stable and accurate manner.After comparing the data obtained by the two sensors,it is concluded that the data measured by the two-wire sensor is more stable,less fluctuation,and only two lines are needed to achieve the purpose of the experiment.
作者
甘伯凡
Gan Bofan(University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《电子测量技术》
2019年第5期81-84,共4页
Electronic Measurement Technology
关键词
两线制
光电传感器
频率采集
无线通信
RS-485总线
two wire system
photoelectric sensor
frequency acquisition
wireless communication
RS-485 bus