基于MSP430F149单片机的智能路灯控制系统
2018-10-24陈希湘陈誉
陈希湘 陈誉
摘 要: 为了解决城市照明存在的巨大能源浪费问题,提出一款基于MSP430F149单片机智能路灯控制系统。该系统以单片机为控制核心,可对路灯进行定时开关;对发生故障的路灯进行报警;根据交通情况判断是否需要开关路灯;对周围环境中光线强度进行检测,实现了根据环境自动亮灭灯和自动调节灯的亮度,体现了节能的作用;最后通过OLED实时显示监测界面。经测试,该系统工作稳定,具有操作简单、稳定可靠、节能无污染等优点。
关键词: MSP430F149; 路灯控制; 节能; 智能控制; PWM; OLED
中图分类号: TN344?34 文献标识码: A 文章编号: 1004?373X(2018)20?0107?03
Abstract: An intelligent street lamp control system based on the microcontroller MSP430F149 is proposed to resolve the huge energy waste problem of urban lighting. In the system, with the microcontroller as the control core, regular switching of street lamps is realized, faulty street lamps are alarmed, whether to switch street lamps is judged according to the traffic situation, and ambient light intensity is detected, so as to realize automatic lamp switching and lamp brightness adjustment according to the environment, which reflects the function of energy saving. The monitoring interface is displayed in real time by using the OLED. The test results show that the system runs stably, and has the advantages of simple operation, high reliability, energy saving, and non?pollution.
Keywords: MSP430F149; street lamp control; energy saving; intelligent control; PWM; OLED
随着我国经济飞速发展,电力消耗也随之快速增长。电力资源已经成为非常紧缺的资源。如何做到环保节能,已经成为近年来的热门话题。针对我国在城市照明上存在的巨大能源浪费问题,本文提出一套新型的智能路灯控制系统。其作用为:可对路灯进行定时开关;对发生故障的路灯进行报警;对路灯周围环境中光线强度进行检测,判断是否需要开关路灯;深夜时分,路灯的开关可由路上车辆和行人进行智能化的判断,减少夜间光污染和节约电能等。
1 系统的硬件设计
1.1 系统的设计框图
系统主要以MSP430F149单片机为智能控制核心,外围电路主要包括定时开关灯模块、故障检测及报警模块、按键模块、显示模块、自动调节模块等。系统的设计框图如图1所示。
1.2 控制中心的选择
方案一采用STC公司的单片机STC89S51作为主控制芯片。此单片机运算能力强,并且I/O接口比较多,易于扩展外围电路。……
