摘要
以STC89C52单片机作为整个系统的控制核心,采用光电检测追光模式设计了一个自动追光系统。在光电检测追踪模式下,光电检测部分采用光敏三极管3DU5C作为光电传感器对光源信号进行采样,通过光敏三极管的比较电路来判断光源的方位,并通过A/D转换芯片ADC0809转换成数字信号,单片机采用L298N驱动电路驱动直流电机以控制小车,从而达到了自动追踪光源的目的。
A light source automatic tracking system using STC89C52 MCU as the control core is designed. In the tracking mode of optical detection, a phototransistor 3DU5C is taken as photoelectric sensor to collect light signal, the light-source position is determined by comparison phototransistor circuit, and the signal is converted into digital signal by A/D conversion chip ADC0809. The digital signal is accepted by MCS-51 microprocessor which drives DC motor to control the car, so as to achieve the purpose of automatic tracking light source.
出处
《机械工程与自动化》
2012年第3期119-121,共3页
Mechanical Engineering & Automation
关键词
光电检测
自动追光系统
设计
photo electric detection
light source automatic tracking system
design