介绍了基于ATMEGA16 的激光雷达方舱天窗自动控制系统的工作原理。着重阐述了系统硬件和软件实现的方法。系统以ATMEGA16 单片机为核心,配合使用了一种新型雨水传感器和步进电机等设备,实现了对激光雷达方舱天窗开闭的自动控制。 关键词:单片机; 雨水传感器; 步进电机; 激光雷达方舱; 自动控制 Abstract: The principles and methods of a controlling system based on ATMEGA16 applied for the skylight of lidar house are introduced in this paper and described the realizing approaches of both the hardware and software in particularly. The ATMEGA16 single chip microcomputer is used as the kernel component of this system and the other parts are a new rain sensor and stepping motor, which enable an auto-control management towards the skylight in the Lidar house. Keywords: Single-chip microcomputer; rain sensor; stepping motor; Lidar house; auto-control