摘要
详细介绍了如何利用51单片机设计制作智能垃圾箱。它以STC89C52为控制核心,利用传感器检测环境信息进行判断,由单片机驱动程序执行相应的组件,操作来控制箱盖的打开或关闭,无需人工操作箱体上的盖子,从而避免了传统手动开关盖子的不便和危害。
This paper describes in detail how to use 51 MCU to design and make an intelligent dustbin. It uses STC89C52 as control core, using sensors to detect the environmental information to judge, by MCU drivers perform component corresponding to operate to open or close to control the bin, no people has operated the lid on the box body, so as to avoid the inconvenience of the traditional manual switch lid and harm.
作者
熊国栋
Xiong Guodong(School of Computer Engineering,Jingchu Institute of Technology,Jingmen 448000)
出处
《现代计算机》
2022年第24期78-88,共11页
Modern Computer
关键词
单片机
垃圾箱
脉冲电机
C程序
singlechip detector
dustbin
impulse motor
C procedure