[go: up one dir, main page]

CN108566698A - A kind of streetlight embedded real-time control apparatus based on Lora - Google Patents

A kind of streetlight embedded real-time control apparatus based on Lora Download PDF

Info

Publication number
CN108566698A
CN108566698A CN201810038152.9A CN201810038152A CN108566698A CN 108566698 A CN108566698 A CN 108566698A CN 201810038152 A CN201810038152 A CN 201810038152A CN 108566698 A CN108566698 A CN 108566698A
Authority
CN
China
Prior art keywords
chip
lora
chip microcomputer
stc15w404s
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810038152.9A
Other languages
Chinese (zh)
Other versions
CN108566698B (en
Inventor
张晶
刘江昆
杜春峰
曾德伟
熊晓雨
李�瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201810038152.9A priority Critical patent/CN108566698B/en
Publication of CN108566698A publication Critical patent/CN108566698A/en
Application granted granted Critical
Publication of CN108566698B publication Critical patent/CN108566698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明涉及一种基于Lora的路灯嵌入式实时控制装置,属于数据采集和灯控技术领域。本发明包括电源模块、单片机模块、Lora无线通信模块、压感带电路、路灯控制模块;所述电源模块分别与单片机模块、压感带电路、路灯控制模块相连,压感带电路与单片机模块相连,单片机模块与Lora无线通信模块和路灯控制模块相连。本发明有效地节省路灯在夜间闲时的路灯电能耗,同时能监测当前道路的车流量,应用领域宽广,还为智慧交通提供了大量的数据。

The invention relates to a Lora-based embedded real-time control device for street lamps, which belongs to the technical field of data acquisition and lamp control. The invention includes a power supply module, a single-chip microcomputer module, a Lora wireless communication module, a pressure-sensitive belt circuit, and a street lamp control module; the power supply module is respectively connected with the single-chip microcomputer module, the pressure-sensitive belt circuit, and the street lamp control module, and the pressure-sensitive belt circuit is connected with the single-chip microcomputer module , the single-chip microcomputer module is connected with the Lora wireless communication module and the street light control module. The invention effectively saves the energy consumption of the street lamps at night when the street lamps are idle, and at the same time can monitor the traffic flow of the current road, has a wide application field, and provides a large amount of data for intelligent traffic.

Description

一种基于Lora的路灯嵌入式实时控制装置A Lora-based embedded real-time control device for street lamps

技术领域technical field

本发明涉及一种基于Lora的路灯嵌入式实时控制装置,属于数据采集和灯控技术领域。The invention relates to a Lora-based embedded real-time control device for street lamps, which belongs to the technical field of data acquisition and lamp control.

背景技术Background technique

随着城市的发展,道路基础设施路灯越来越多,为人们的夜间照明提供极大的便利,但是在便利的同时以消耗大量电能为代价。随着环境污染和能源危机的加剧,节能减耗也越来越重要,传统道路路灯的通常都是彻夜常亮,这样造成能量的浪费。With the development of the city, there are more and more road infrastructure street lights, which provide great convenience for people's night lighting, but at the same time of convenience, they consume a lot of electricity. With the aggravation of environmental pollution and energy crisis, energy saving and consumption reduction are becoming more and more important. Traditional street lights are usually always on all night, which causes energy waste.

传统的路灯多采用卤素灯进行照明,这些灯照片效果并不好,目前在很多路灯出现了采用LED灯作为照明设备,但其仍然无法解决由于路灯在任何时刻都处于供电状态的能量损耗问题。同时,对于车流量的监测也表现出数据不准确的现象,由于双车道或多车道的原因,其中一条车道出现拥堵情况就被判定为路段拥堵,而其中有的车道可能车流量并不大。本发明结合道路的夜间车流量统计及路灯控制为一体,设计一种基于Lora的道路路灯及车流量检测的综合系统。Traditional street lamps mostly use halogen lamps for lighting, and these lamps have poor photo effects. At present, many street lamps use LED lamps as lighting equipment, but it still cannot solve the problem of energy loss due to the street lamps being powered at any time. At the same time, the monitoring of traffic flow also shows inaccurate data. Due to two-lane or multi-lane reasons, if one of the lanes is congested, it is judged as road congestion, and some of the lanes may not have a large traffic flow. The present invention combines nighttime traffic flow statistics and street lamp control of the road into one, and designs a comprehensive system based on Lora-based road street lamps and traffic flow detection.

发明内容Contents of the invention

本发明要解决的技术问题是:本发明提供一种基于Lora的路灯嵌入式实时控制装置,用于解决由于路灯在任何时刻都处于供电状态的能量损耗问题,为智慧交通提供了大量的数据。The technical problem to be solved by the present invention is: the present invention provides a Lora-based embedded real-time control device for street lamps, which is used to solve the problem of energy loss due to the fact that street lamps are powered at any time, and provides a large amount of data for smart traffic.

本发明技术方案是:一种基于Lora的路灯嵌入式实时控制装置,包括电源模块1、单片机模块2、Lora无线通信模块3、压感带电路4、路灯控制模块5;所述电源模块1分别与单片机模块2、压感带电路4、路灯控制模块5相连,压感带电路4与单片机模块2相连,单片机模块2与Lora无线通信模块3和路灯控制模块5相连。The technical scheme of the present invention is: a street lamp embedded real-time control device based on Lora, including a power supply module 1, a single-chip microcomputer module 2, a Lora wireless communication module 3, a pressure sensitive belt circuit 4, and a street lamp control module 5; the power supply module 1 is respectively It is connected to the single-chip microcomputer module 2, the pressure-sensitive belt circuit 4, and the street lamp control module 5. The pressure-sensitive belt circuit 4 is connected to the single-chip microcomputer module 2.

所述单片机模块2、路灯控制模块5均为若干个,The single-chip microcomputer module 2 and the street lamp control module 5 are several,

所述压感带电路4用于采集压力信号并转换成电信号发送给其中一个单片机模块2作为其一个启动触发信号;The pressure-sensitive belt circuit 4 is used to collect pressure signals and convert them into electrical signals and send them to one of the single-chip microcomputer modules 2 as a starting trigger signal;

所述单片机模块2用于把首次采集到的压力启动触发信号发送给Lora无线通信模块3,并且也接收Lora无线通信模块3发送来的启动触发信号,并把该信号再传输给路灯控制模块5;The single-chip microcomputer module 2 is used to send the pressure start trigger signal collected for the first time to the Lora wireless communication module 3, and also receives the start trigger signal sent by the Lora wireless communication module 3, and transmits the signal to the street lamp control module 5 ;

所述Lora无线通信模块3用于接收其中一个接收到压力启动触发信号的单片机模块2发送来的压力启动触发信号,再把此信号发送给其他单片机模块2;The Lora wireless communication module 3 is used to receive the pressure start trigger signal sent by one of the single-chip microcomputer modules 2 that received the pressure start trigger signal, and then send this signal to other single-chip microcomputer modules 2;

所述路灯控制模块5用于根据单片机模块2的启动触发信号驱动MOSFET驱动电路,控制路灯通断。The street lamp control module 5 is used to drive the MOSFET drive circuit according to the start trigger signal of the single chip microcomputer module 2 to control the on and off of the street lamp.

所述电源模块1包括电阻R9、电阻R10、电阻R11、电阻R12、电容C3、电容C4、电容C5、电容C6、电感L1、芯片SX2106;其中220V电压输入接口接电阻R9和电容C3的一端,电阻R9的另一端接电阻R10和电容C4的一端,同时接芯片SX2106的5号管脚VIN,电容C3和电容C4的另一端共接地,电阻R10的另一端接芯片SX2106的4号管脚SHDN,芯片SX2106的1号管脚BST接电容C5的一端,电容C5的另一端与芯片SX2106的6号管脚LX再共同接电感L1的一端,电感L1的另一端接电阻R11和电容C6的一端,之后输出电压3.3V,芯片SX2106的3号管脚FB接电阻R11的另一端和电阻R12的一端,电阻R12的另一端和电容C6的另一端共同接地,芯片SX2106的2号管脚接地。The power module 1 includes a resistor R9, a resistor R10, a resistor R11, a resistor R12, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, an inductor L1, and a chip SX2106; wherein the 220V voltage input interface is connected to one end of the resistor R9 and the capacitor C3, The other end of the resistor R9 is connected to the resistor R10 and one end of the capacitor C4, and at the same time connected to the No. 5 pin VIN of the chip SX2106, the other end of the capacitor C3 and the capacitor C4 are commonly grounded, and the other end of the resistor R10 is connected to the No. , the No. 1 pin BST of the chip SX2106 is connected to one end of the capacitor C5, the other end of the capacitor C5 and the No. 6 pin LX of the chip SX2106 are connected to one end of the inductor L1, and the other end of the inductor L1 is connected to the resistor R11 and one end of the capacitor C6 , then the output voltage is 3.3V, the No. 3 pin FB of the chip SX2106 is connected to the other end of the resistor R11 and one end of the resistor R12, the other end of the resistor R12 and the other end of the capacitor C6 are commonly grounded, and the No. 2 pin of the chip SX2106 is grounded.

所述单片机模块2包括电阻R1、电阻R2、电阻R3、电阻R4、电阻R5、电阻R6、电阻R7、电阻R8、二极管D1、二极管D2、二极管D3、二极管D4、二极管D5、二极管D6、二极管D7、二极管D8、单片机STC15W404S、按键KEY1、按键KEY2、或门芯片;其中单片机STC15W404S的P0.0接Lora无线通信模块3的SCK、单片机STC15W404S的P0.1接Lora无线通信模块3的MOSI、单片机STC15W404S的P0.2接Lora无线通信模块3的CE、单片机STC15W404S的P0.3接Lora无线通信模块3的CSN、单片机STC15W404S的P0.4~P0.7和P1.1~P1.3分别接电阻R1~R8的一端,之后电阻R1~R8的另一端接二极管D1-D8的阴极,之后二极管D1-D8的阳极共同接3.3V电压,单片机STC15W404S的P4.5接Lora无线通信模块3的IRO,单片机STC15W404S的P2.7接Lora无线通信模块3的MOSO,单片机STC15W404S的P3.1接按键KEY1的一端,单片机STC15W404S的P3.0接按键KEY2的一端,按键KEY1和按键KEY2另一端分别接或门芯片的1号和3号管脚,之后或门芯片的2号管脚接地,单片机STC15W404S的VCC接5V电压,单片机STC15W404S的GND接地。Described single-chip microcomputer module 2 comprises resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, resistance R7, resistance R8, diode D1, diode D2, diode D3, diode D4, diode D5, diode D6, diode D7 , diode D8, single-chip microcomputer STC15W404S, key KEY1, key KEY2, or gate chip; where P0.0 of single-chip microcomputer STC15W404S is connected to SCK of Lora wireless communication module 3, P0.1 of single-chip microcomputer STC15W404S is connected to MOSI of Lora wireless communication module 3, single-chip microcomputer STC15W404S Connect P0.2 to CE of Lora wireless communication module 3, connect P0.3 of single-chip microcomputer STC15W404S to CSN of Lora wireless communication module 3, and connect P0.4~P0.7 and P1.1~P1.3 of single-chip microcomputer STC15W404S to resistor R1 respectively One end of ~R8, and then the other end of resistors R1~R8 are connected to the cathodes of diodes D1-D8, and then the anodes of diodes D1-D8 are connected to 3.3V voltage, and P4.5 of the single-chip microcomputer STC15W404S is connected to the IRO of Lora wireless communication module 3. P2.7 of STC15W404S is connected to MOSO of Lora wireless communication module 3, P3.1 of single-chip microcomputer STC15W404S is connected to one end of key KEY1, P3.0 of single-chip microcomputer STC15W404S is connected to one end of key KEY2, and the other ends of key KEY1 and key KEY2 are respectively connected to the OR gate chip The 1st and 3rd pins of the OR gate chip are grounded, the VCC of the single-chip microcomputer STC15W404S is connected to the 5V voltage, and the GND of the single-chip microcomputer STC15W404S is grounded.

所述Lora无线通信模块3包括电容C1、电容C2、天线T1、Lora芯片;Lora芯片采用Ra-01芯片,其中Lora芯片的3号管脚接电容C1和电容C2的一端,电容C1和电容C2的另一端接地,Lora芯片的5号管脚接单片机STC15W404S的P4.5,Lora芯片的13号管脚接单片机STC15W404S的P2.7,Lora芯片的12号管脚接单片机STC15W404S的P0.0,Lora芯片的14号管脚接单片机STC15W404S的P0.1,Lora芯片的4号管脚接单片机STC15W404S的P0.2,Lora芯片的15号管脚接单片机STC15W404S的P0.3,Lora芯片的1号管脚接天线T1,Lora芯片的9号、16号、2号管脚均接地。The Lora wireless communication module 3 includes a capacitor C1, a capacitor C2, an antenna T1, and a Lora chip; the Lora chip adopts a Ra-01 chip, wherein the No. 3 pin of the Lora chip is connected to one end of the capacitor C1 and the capacitor C2, and the capacitor C1 and the capacitor C2 The other end of the Lora chip is grounded, the 5th pin of the Lora chip is connected to the P4.5 of the single-chip STC15W404S, the 13th pin of the Lora chip is connected to the P2.7 of the single-chip STC15W404S, the 12th pin of the Lora chip is connected to the P0.0 of the single-chip STC15W404S, Pin 14 of the Lora chip is connected to P0.1 of the single-chip microcomputer STC15W404S, pin 4 of the Lora chip is connected to P0.2 of the single-chip microcomputer STC15W404S, pin 15 of the Lora chip is connected to P0.3 of the single-chip microcomputer STC15W404S, and No. 1 of the Lora chip The pins are connected to the antenna T1, and the pins 9, 16, and 2 of the Lora chip are all grounded.

所述压感带电路4主要包括一个压阻式压力传感器MPXV5050GP,压力传感器是一个内置于凸出压感带的小型传感器,通过压阻式压力传感器能够感知微小的机械振动,设定两次振动为一次记录,因为是内嵌的,所采集的信息将通过在道路边布线进行信息传输,压阻式压力传感器MPXV5050GP的 2号管脚接5V 电压,3号管脚接地,4号管脚接单片机STC15W404S的P2.0。The pressure-sensitive belt circuit 4 mainly includes a piezoresistive pressure sensor MPXV5050GP. The pressure sensor is a small sensor built into a protruding pressure-sensitive belt. The piezoresistive pressure sensor can perceive tiny mechanical vibrations, and set two vibrations For one record, because it is embedded, the collected information will be transmitted through roadside wiring. Pin 2 of piezoresistive pressure sensor MPXV5050GP is connected to 5V voltage, pin 3 is grounded, and pin 4 is connected to P2.0 of SCM STC15W404S.

所述路灯控制模块5包括MOSFET驱动电路、电压输入驱动电路、MOSFET晶体管M1、M2......M(n-1)、 Mn、LED路灯L1、L2......L(n-1)、Ln;STC15W404S系列单片机PDIP40输出引脚P2.3、P2.4、P2.5、P2.6分别与MOSFET驱动电路的输入端相连,MOSFET驱动电路的输出端分别与MOSFET晶体管M1、M2......M(n-1)、 Mn的栅极相连,MOSFET晶体管的漏极和源极分别与电压输入驱动电路的输出端和LED路灯L1、L2......L(n-1)、Ln的一端相连;LED路灯L1、L2......L(n-1)、Ln的另一端与电压输入驱动电路的另一输出端相连,电压输入驱动电路的输入端分别与市电的火线L和零线N相连,其中,单片机输入输出引脚为不确定引脚,可连接于其它适合于系统的相关引脚。The street lamp control module 5 includes a MOSFET drive circuit, a voltage input drive circuit, MOSFET transistors M1, M2...M(n-1), Mn, LED street lamps L1, L2...L(n -1), Ln; STC15W404S series MCU PDIP40 output pins P2.3, P2.4, P2.5, P2.6 are respectively connected to the input terminals of the MOSFET drive circuit, and the output terminals of the MOSFET drive circuit are respectively connected to the MOSFET transistors M1, M2...M(n-1) and the gate of Mn are connected, and the drain and source of the MOSFET transistor are respectively connected to the output terminal of the voltage input drive circuit and the LED street lamps L1, L2...L (n-1), one end of Ln is connected; the other end of LED street lights L1, L2...L(n-1), Ln is connected with the other output end of the voltage input driving circuit, and the voltage input driving circuit The input terminals are respectively connected to the live wire L and the neutral wire N of the commercial power supply, wherein the input and output pins of the single-chip microcomputer are uncertain pins and can be connected to other relevant pins suitable for the system.

本发明的有益效果是:The beneficial effects of the present invention are:

1、本发明有效地节省路灯在夜间闲时的路灯电能耗,同时能监测当前道路的车流量,应用领域宽广,可拓展到智能生活的方方面面;1. The present invention effectively saves the energy consumption of street lamps at night when they are idle, and at the same time can monitor the traffic flow of the current road. It has a wide application field and can be expanded to all aspects of smart life;

2、本发明基于道路综合系统采集的数据,采集的数据由云端进行共享,相关部门可以获得相应的数据,同时部分数据与互联网公司进行共享,该发明不但可以解决道路拥堵、路灯彻夜全亮等问题,还为智慧交通提供了大量的数据。2. The present invention is based on the data collected by the road comprehensive system. The collected data is shared by the cloud, and relevant departments can obtain corresponding data. At the same time, part of the data is shared with Internet companies. This invention can not only solve road congestion, and street lights are fully lit all night, etc. It also provides a large amount of data for smart transportation.

附图说明Description of drawings

图1是本发明的框架图;Fig. 1 is a frame diagram of the present invention;

图2是发明的单片机模块电路原理图;Fig. 2 is the circuit schematic diagram of the single-chip microcomputer module of invention;

图3是本发明路灯控制模块电路原理图;Fig. 3 is a circuit schematic diagram of the street lamp control module of the present invention;

图4是本发明Lora无线通信模块电路原理图;Fig. 4 is a circuit schematic diagram of the Lora wireless communication module of the present invention;

图5是本发明220V转3.3V电压转换电源模块电路原理图;Fig. 5 is the schematic diagram of the circuit of the 220V to 3.3V voltage conversion power supply module of the present invention;

图6是本发明压感带电路原理图。Fig. 6 is a schematic diagram of the pressure-sensitive belt circuit of the present invention.

图1中各标号:1-电源模块,2-单片机模块,3-Lora无线通信模块,4-压感带电路,5-路灯控制模块。Each label in Fig. 1: 1-power supply module, 2-single-chip microcomputer module, 3-Lora wireless communication module, 4-pressure sensitive belt circuit, 5-street lamp control module.

具体实施方式Detailed ways

下面结合附图和具体实施例,对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

实施例1:如图1-6所示,一种基于Lora的路灯嵌入式实时控制装置,包括电源模块1、单片机模块2、Lora无线通信模块3、压感带电路4、路灯控制模块5;所述电源模块1分别与单片机模块2、压感带电路4、路灯控制模块5相连,压感带电路4与单片机模块2相连,单片机模块2与Lora无线通信模块3和路灯控制模块5相连。Embodiment 1: As shown in Figures 1-6, a Lora-based embedded real-time control device for street lamps includes a power supply module 1, a single-chip microcomputer module 2, a Lora wireless communication module 3, a pressure sensitive belt circuit 4, and a street lamp control module 5; The power module 1 is connected to the single-chip microcomputer module 2, the pressure-sensitive band circuit 4, and the street lamp control module 5 respectively, the pressure-sensitive band circuit 4 is connected to the single-chip microcomputer module 2, and the single-chip microcomputer module 2 is connected to the Lora wireless communication module 3 and the street lamp control module 5.

进一步的,所述单片机模块2、路灯控制模块5均为若干个,Further, there are several single-chip microcomputer modules 2 and street lamp control modules 5,

所述压感带电路4用于采集压力信号并转换成电信号发送给其中一个单片机模块2作为其一个启动触发信号;The pressure-sensitive belt circuit 4 is used to collect pressure signals and convert them into electrical signals and send them to one of the single-chip microcomputer modules 2 as a starting trigger signal;

所述单片机模块2用于把首次采集到的压力启动触发信号发送给Lora无线通信模块3,并且也接收Lora无线通信模块3发送来的启动触发信号,并把该信号再传输给路灯控制模块5;The single-chip microcomputer module 2 is used to send the pressure start trigger signal collected for the first time to the Lora wireless communication module 3, and also receives the start trigger signal sent by the Lora wireless communication module 3, and transmits the signal to the street lamp control module 5 ;

所述Lora无线通信模块3用于接收其中一个接收到压力启动触发信号的单片机模块2发送来的压力启动触发信号,再把此信号发送给其他单片机模块2;The Lora wireless communication module 3 is used to receive the pressure start trigger signal sent by one of the single-chip microcomputer modules 2 that received the pressure start trigger signal, and then send this signal to other single-chip microcomputer modules 2;

所述路灯控制模块5用于根据单片机模块2的启动触发信号驱动MOSFET驱动电路,控制路灯通断。The street lamp control module 5 is used to drive the MOSFET drive circuit according to the start trigger signal of the single chip microcomputer module 2 to control the on and off of the street lamp.

进一步的,所述电源模块1包括电阻R9、电阻R10、电阻R11、电阻R12、电容C3、电容C4、电容C5、电容C6、电感L1、芯片SX2106;其中220V电压输入接口接电阻R9和电容C3的一端,电阻R9的另一端接电阻R10和电容C4的一端,同时接芯片SX2106的5号管脚VIN,电容C3和电容C4的另一端共接地,电阻R10的另一端接芯片SX2106的4号管脚SHDN,芯片SX2106的1号管脚BST接电容C5的一端,电容C5的另一端与芯片SX2106的6号管脚LX再共同接电感L1的一端,电感L1的另一端接电阻R11和电容C6的一端,之后输出电压3.3V,芯片SX2106的3号管脚FB接电阻R11的另一端和电阻R12的一端,电阻R12的另一端和电容C6的另一端共同接地,芯片SX2106的2号管脚接地。Further, the power module 1 includes a resistor R9, a resistor R10, a resistor R11, a resistor R12, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, an inductor L1, and a chip SX2106; wherein the 220V voltage input interface is connected to the resistor R9 and the capacitor C3 One end of the resistor R9, the other end of the resistor R9 is connected to the resistor R10 and one end of the capacitor C4, and at the same time connected to the No. Pin SHDN, No. 1 pin BST of chip SX2106 is connected to one end of capacitor C5, the other end of capacitor C5 and No. One end of C6, after which the output voltage is 3.3V, the No. 3 pin FB of the chip SX2106 is connected to the other end of the resistor R11 and one end of the resistor R12, the other end of the resistor R12 and the other end of the capacitor C6 are commonly grounded, and the No. 2 tube of the chip SX2106 The foot is grounded.

进一步的,所述单片机模块2包括电阻R1、电阻R2、电阻R3、电阻R4、电阻R5、电阻R6、电阻R7、电阻R8、二极管D1、二极管D2、二极管D3、二极管D4、二极管D5、二极管D6、二极管D7、二极管D8、单片机STC15W404S、按键KEY1、按键KEY2、或门芯片;其中单片机STC15W404S的P0.0接Lora无线通信模块3的SCK、单片机STC15W404S的P0.1接Lora无线通信模块3的MOSI、单片机STC15W404S的P0.2接Lora无线通信模块3的CE、单片机STC15W404S的P0.3接Lora无线通信模块3的CSN、单片机STC15W404S的P0.4~P0.7和P1.1~P1.3分别接电阻R1~R8的一端,之后电阻R1~R8的另一端接二极管D1-D8的阴极,之后二极管D1-D8的阳极共同接3.3V电压,单片机STC15W404S的P4.5接Lora无线通信模块3的IRO,单片机STC15W404S的P2.7接Lora无线通信模块3的MOSO,单片机STC15W404S的P3.1接按键KEY1的一端,单片机STC15W404S的P3.0接按键KEY2的一端,按键KEY1和按键KEY2另一端分别接或门芯片的1号和3号管脚,之后或门芯片的2号管脚接地,单片机STC15W404S的VCC接5V电压,单片机STC15W404S的GND接地。Further, the single-chip microcomputer module 2 includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a diode D1, a diode D2, a diode D3, a diode D4, a diode D5, and a diode D6 , diode D7, diode D8, single-chip microcomputer STC15W404S, key KEY1, key KEY2, or gate chip; where P0.0 of single-chip microcomputer STC15W404S is connected to SCK of Lora wireless communication module 3, and P0.1 of single-chip microcomputer STC15W404S is connected to MOSI of Lora wireless communication module 3 , P0.2 of STC15W404S connected to CE of Lora wireless communication module 3, P0.3 of STC15W404S connected to CSN of Lora wireless communication module 3, P0.4~P0.7 and P1.1~P1.3 of STC15W404S respectively Connect one end of the resistors R1~R8, then connect the other end of the resistors R1~R8 to the cathodes of the diodes D1-D8, and then connect the anodes of the diodes D1-D8 to the 3.3V voltage, and connect the P4.5 of the single-chip microcomputer STC15W404S to the Lora wireless communication module 3 IRO, P2.7 of single-chip microcomputer STC15W404S is connected to MOSO of Lora wireless communication module 3, P3.1 of single-chip microcomputer STC15W404S is connected to one end of key KEY1, P3.0 of single-chip microcomputer STC15W404S is connected to one end of key KEY2, and the other end of key KEY1 and key KEY2 are connected respectively The No. 1 and No. 3 pins of the OR gate chip, and then the No. 2 pin of the OR gate chip are grounded, the VCC of the single-chip microcomputer STC15W404S is connected to the 5V voltage, and the GND of the single-chip microcomputer STC15W404S is grounded.

进一步的,所述Lora无线通信模块3包括电容C1、电容C2、天线T1、Lora芯片;Lora芯片采用Ra-01芯片,其中Lora芯片的3号管脚接电容C1和电容C2的一端,电容C1和电容C2的另一端接地,Lora芯片的5号管脚接单片机STC15W404S的P4.5,Lora芯片的13号管脚接单片机STC15W404S的P2.7,Lora芯片的12号管脚接单片机STC15W404S的P0.0,Lora芯片的14号管脚接单片机STC15W404S的P0.1,Lora芯片的4号管脚接单片机STC15W404S的P0.2,Lora芯片的15号管脚接单片机STC15W404S的P0.3,Lora芯片的1号管脚接天线T1,Lora芯片的9号、16号、2号管脚均接地。Further, the Lora wireless communication module 3 includes a capacitor C1, a capacitor C2, an antenna T1, and a Lora chip; the Lora chip adopts a Ra-01 chip, wherein the No. 3 pin of the Lora chip is connected to one end of the capacitor C1 and the capacitor C2, and the capacitor C1 And the other end of capacitor C2 is grounded, the No. 5 pin of the Lora chip is connected to the P4.5 of the single-chip microcomputer STC15W404S, the No. 13 pin of the Lora chip is connected to the P2.7 of the single-chip microcomputer STC15W404S, and the No. 12 pin of the Lora chip is connected to the P0 of the single-chip microcomputer STC15W404S .0, pin 14 of the Lora chip is connected to P0.1 of the single-chip microcomputer STC15W404S, pin 4 of the Lora chip is connected to P0.2 of the single-chip microcomputer STC15W404S, pin 15 of the Lora chip is connected to P0.3 of the single-chip microcomputer STC15W404S The 1st pin of the Lora chip is connected to the antenna T1, and the 9th, 16th, and 2nd pins of the Lora chip are all grounded.

进一步的,所述压感带电路4主要包括一个压阻式压力传感器MPXV5050GP,压力传感器是一个内置于凸出压感带的小型传感器,通过压阻式压力传感器能够感知微小的机械振动,设定两次振动为一次记录,因为是内嵌的,所采集的信息将通过在道路边布线进行信息传输,压阻式压力传感器MPXV5050GP的 2号管脚接5V 电压,3号管脚接地,4号管脚接单片机STC15W404S的P2.0。Further, the pressure-sensitive belt circuit 4 mainly includes a piezoresistive pressure sensor MPXV5050GP. The pressure sensor is a small sensor built into a protruding pressure-sensitive belt. The piezoresistive pressure sensor can sense tiny mechanical vibrations, and set Two vibrations are one record, because it is embedded, and the collected information will be transmitted through the wiring on the side of the road. Pin 2 of the piezoresistive pressure sensor MPXV5050GP is connected to 5V voltage, pin 3 is grounded, and pin 4 is grounded. The pin is connected to P2.0 of the single-chip microcomputer STC15W404S.

进一步的,所述路灯控制模块5包括MOSFET驱动电路、电压输入驱动电路、MOSFET晶体管M1、M2......M(n-1)、 Mn、LED路灯L1、L2......L(n-1)、Ln;STC15W404S系列单片机PDIP40输出引脚P2.3、P2.4、P2.5、P2.6分别与MOSFET驱动电路的输入端相连,MOSFET驱动电路的输出端分别与MOSFET晶体管M1、M2......M(n-1)、 Mn的栅极相连,MOSFET晶体管的漏极和源极分别与电压输入驱动电路的输出端和LED路灯L1、L2......L(n-1)、Ln的一端相连;LED路灯L1、L2......L(n-1)、Ln的另一端与电压输入驱动电路的另一输出端相连,电压输入驱动电路的输入端分别与市电的火线L和零线N相连,其中,单片机输入输出引脚为不确定引脚,可连接于其它适合于系统的相关引脚。Further, the street lamp control module 5 includes a MOSFET drive circuit, a voltage input drive circuit, MOSFET transistors M1, M2...M(n-1), Mn, LED street lamps L1, L2... L(n-1), Ln; STC15W404S series microcontroller PDIP40 output pins P2.3, P2.4, P2.5, P2.6 are respectively connected to the input terminals of the MOSFET drive circuit, and the output terminals of the MOSFET drive circuit are respectively connected to the MOSFET The gates of the transistors M1, M2... M(n-1) and Mn are connected, and the drain and source of the MOSFET transistors are respectively connected to the output terminal of the voltage input drive circuit and the LED street lamps L1, L2.... ..L(n-1), one end of Ln is connected; the other end of LED street lights L1, L2...L(n-1), Ln is connected to the other output end of the voltage input driving circuit, and the voltage input The input terminals of the drive circuit are respectively connected to the live line L and the neutral line N of the commercial power, wherein the input and output pins of the single chip microcomputer are uncertain pins and can be connected to other relevant pins suitable for the system.

电源模块工作原理:在需要电压转换部分,电压输入口输入220V电压,通过SX2106电压转换芯片进行电压变化,其主要功能是稳压降压,之后通过分压电路和滤波电路进行电压转化,转压后的电压为5V的标准输出电压。此外在电压输出口输出的220V电压,接路灯控制模块,直接与路灯控制电路组成回路,通过MOSFET驱动电路控制回路的闭合。The working principle of the power module: In the part that needs voltage conversion, the voltage input port inputs 220V voltage, and the voltage is changed through the SX2106 voltage conversion chip. After the voltage is the standard output voltage of 5V. In addition, the 220V voltage output from the voltage output port is connected to the street lamp control module, directly forms a loop with the street lamp control circuit, and controls the closing of the loop through the MOSFET driving circuit.

Lora无线通信模块工作原理:Loraxin芯片的部分接口与STC15W404S系列单片机相连,单片机通过I/O口,将数字信号发送给芯片Lora对应的管脚,之后通过Lora传输给其他单片机模块同时控制多组路灯驱动电路,实现延时控制,达到节能降耗的目的。The working principle of the Lora wireless communication module: part of the interface of the Loraxin chip is connected to the STC15W404S series single-chip microcomputer. The single-chip microcomputer sends the digital signal to the corresponding pin of the chip Lora through the I/O port, and then transmits it to other single-chip microcomputer modules through Lora. Control multiple groups of street lights at the same time The drive circuit realizes delay control and achieves the purpose of saving energy and reducing consumption.

压感带电路工作原理:安装在道路上的压感带是一个微凸于路面的监测装置,横穿马路,当有物体通过压感带时压阻式压力传感器MPXV5050GP将机械压力信号转换成电信号,之后电信号传至单片机I/O口,该信号作为单片机的一个启动触发信号。The working principle of the pressure-sensitive belt circuit: the pressure-sensitive belt installed on the road is a monitoring device slightly protruding from the road surface. It crosses the road. When an object passes through the pressure-sensitive belt, the piezoresistive pressure sensor MPXV5050GP converts the mechanical pressure signal into an electrical signal. Signal, and then the electrical signal is transmitted to the I/O port of the single-chip microcomputer, and this signal is used as a start trigger signal of the single-chip microcomputer.

路灯控制模块主要是诸多并联的路灯组成,在每一个单独的路灯回路中,设计了一个MOSFET驱动电路,只有驱动电路导通后,回路才闭合,路灯亮。The street lamp control module is mainly composed of many parallel street lamps. In each individual street lamp circuit, a MOSFET drive circuit is designed. Only after the drive circuit is turned on, the circuit is closed and the street lamp is on.

本发明整体工作原理:电源模块将输入220V的电压转化成5V的输出电压,输出电压给单片机模块供能,单片机通过管脚与Lora无线通信模块进行信号传输。同时路灯控制模块直接与220V输入电压相连,通过火线和零线进行供电,而通过控制MOSFET驱动电路控制路灯电路的通断,从而控制路灯的亮灭。通过单片机电路与压感带电路相连,当压感电路中的压力传感器检测到压力信号后,压感电路向单片机发送一个脉冲信号,之后单片机向路灯控制电路发送驱动信号,驱动MOSFET驱动电路,控制路灯通断。为了达到更广范围的控制路灯,一个Lora无线通信模块接收到其中一个单片机模块的驱动信号后可以把驱动信号传输给其他多个单片机模块(包括首先接收到脉冲信号的那个单片机),从而通过其他多个单片机模块控制多个路灯控制模块,通过延时控制的办法,可以让路灯依次通电,达到延时控制路灯的效果。The overall working principle of the present invention: the power supply module converts the input voltage of 220V into an output voltage of 5V, and the output voltage supplies energy to the single-chip microcomputer module, and the single-chip microcomputer performs signal transmission with the Lora wireless communication module through pins. At the same time, the street lamp control module is directly connected to the 220V input voltage, and supplies power through the live wire and the neutral wire, and controls the on-off of the street lamp circuit by controlling the MOSFET drive circuit, thereby controlling the on and off of the street lamp. The single-chip microcomputer circuit is connected with the pressure-sensitive belt circuit. When the pressure sensor in the pressure-sensitive circuit detects the pressure signal, the pressure-sensitive circuit sends a pulse signal to the single-chip microcomputer, and then the single-chip microcomputer sends a driving signal to the street lamp control circuit to drive the MOSFET drive circuit to control Street lights on and off. In order to control street lamps in a wider range, a Lora wireless communication module can transmit the driving signal to other multiple single-chip modules (including the single-chip microcomputer that first received the pulse signal) after receiving the driving signal of one of the single-chip microcomputer modules. Multiple single-chip microcomputer modules control multiple street lamp control modules. Through the method of delay control, the street lamps can be powered on in sequence to achieve the effect of delay control of street lamps.

(1)当需检测车流量时,压力传感器检测到压力信号,经过信号放大后输出信号传至于单片机,在单片机内部进行模数转换之后,输出脉冲信号。每检测到一次压力信号将会产生一个高电平脉冲,并将此信号传输至Lora无线通信模块,Lora无线通信模块将其数据传输至单片机模块,以此确定车流量及实现数据共享,同时单片机内部生成延时信号,通过定时器发出脉冲信号,控制路灯的亮灭。(1) When the traffic flow needs to be detected, the pressure sensor detects the pressure signal, and after the signal is amplified, the output signal is transmitted to the single-chip microcomputer, and the pulse signal is output after the analog-to-digital conversion is performed inside the single-chip microcomputer. Every time a pressure signal is detected, a high-level pulse will be generated and the signal will be transmitted to the Lora wireless communication module. The Lora wireless communication module will transmit its data to the single-chip microcomputer module to determine the traffic flow and realize data sharing. At the same time, the single-chip microcomputer The delay signal is generated internally, and the pulse signal is sent out through the timer to control the on and off of the street lamp.

(2)当需要对路灯状态进行控制时,压力传感器检测到压力信号,经过信号放大后输出信号传至于单片机,在单片机内部进行模数转换之后,单片机内部生成延时信号,通过定时器发出脉冲信号,将输出信号传输至MOSFET驱动电路,控制MOSFET的导通状态,从而控制路灯的亮灭,在每个感应区间内的压力传感器所发出的触发信号对应的控制其后部的路灯亮灭,路灯在亮一段时间之后,通过延时器通断进行灭灯。(2) When it is necessary to control the state of the street lamp, the pressure sensor detects the pressure signal, and after the signal is amplified, the output signal is transmitted to the single-chip microcomputer. After the analog-to-digital conversion is performed inside the single-chip microcomputer, a delay signal is generated inside the single-chip microcomputer, and a pulse is sent through the timer. The signal transmits the output signal to the MOSFET drive circuit to control the conduction state of the MOSFET, thereby controlling the on and off of the street lamp, and the trigger signal sent by the pressure sensor in each sensing area corresponds to controlling the on and off of the street lamp at the rear. After the street light is on for a period of time, it is turned off by the delayer.

(3) 当需要实现路灯的快速亮灭,通过MOSFET晶体管可以快速的启动LED路灯的亮灭,同时因为LED灯本身较传统卤素灯就节能40%左右,通过配合闲时路段车流检测来实现路灯的亮灭,可以在该路段至少节能50%,综合下来节能80%左右。(3) When it is necessary to quickly turn on and off the street lights, the LED street lights can be quickly turned on and off through the MOSFET transistor. At the same time, because the LED lights themselves are about 40% more energy-saving than the traditional halogen lights, the street lights can be realized by cooperating with the traffic flow detection on the idle road. It can save energy by at least 50% on this road section, and about 80% overall.

上面结合附图对本发明的具体实施例作了详细说明,但是本发明并不限于上述实施例,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化。The specific embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned embodiments, and can also be made without departing from the gist of the present invention within the scope of knowledge possessed by those of ordinary skill in the art. Variations.

Claims (7)

1.一种基于Lora的路灯嵌入式实时控制装置,其特征在于:包括电源模块(1)、单片机模块(2)、Lora无线通信模块(3)、压感带电路(4)、路灯控制模块(5);所述电源模块(1)分别与单片机模块(2)、压感带电路(4)、路灯控制模块(5)相连,压感带电路(4)与单片机模块(2)相连,单片机模块(2)与Lora无线通信模块(3)和路灯控制模块(5)相连。1. A Lora-based embedded real-time control device for street lamps, characterized in that it includes a power supply module (1), a single-chip microcomputer module (2), a Lora wireless communication module (3), a pressure sensitive belt circuit (4), and a street lamp control module (5); the power supply module (1) is respectively connected to the single-chip microcomputer module (2), the pressure-sensitive belt circuit (4), and the street lamp control module (5), and the pressure-sensitive belt circuit (4) is connected to the single-chip microcomputer module (2), The single-chip microcomputer module (2) is connected with the Lora wireless communication module (3) and the street lamp control module (5). 2.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述单片机模块(2)、路灯控制模块(5)均为若干个,2. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: there are several single-chip microcomputer modules (2) and street lamp control modules (5), 所述压感带电路(4)用于采集压力信号并转换成电信号发送给其中一个单片机模块(2)作为其一个启动触发信号;The pressure-sensitive belt circuit (4) is used to collect pressure signals and convert them into electrical signals and send them to one of the single-chip microcomputer modules (2) as an activation trigger signal; 所述单片机模块(2)用于把首次采集到的压力启动触发信号发送给Lora无线通信模块(3),并且也接收Lora无线通信模块(3)发送来的启动触发信号,并把该信号再传输给路灯控制模块(5);The single-chip microcomputer module (2) is used to send the pressure start-up trigger signal collected for the first time to the Lora wireless communication module (3), and also receive the start-up trigger signal sent by the Lora wireless communication module (3), and retransmit the signal transmitted to the street light control module (5); 所述Lora无线通信模块(3)用于接收其中一个接收到压力启动触发信号的单片机模块(2)发送来的压力启动触发信号,再把此信号发送给其他单片机模块(2);The Lora wireless communication module (3) is used to receive the pressure start trigger signal sent by one of the single-chip microcomputer modules (2) that received the pressure start trigger signal, and then send this signal to other single-chip microcomputer modules (2); 所述路灯控制模块(5)用于根据单片机模块(2)的启动触发信号驱动MOSFET驱动电路,控制路灯通断。The street lamp control module (5) is used to drive the MOSFET drive circuit according to the start-up trigger signal of the single-chip microcomputer module (2), so as to control the on-off of the street lamp. 3.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述电源模块(1)包括电阻R9、电阻R10、电阻R11、电阻R12、电容C3、电容C4、电容C5、电容C6、电感L1、芯片SX2106;其中220V电压输入接口接电阻R9和电容C3的一端,电阻R9的另一端接电阻R10和电容C4的一端,同时接芯片SX2106的5号管脚VIN,电容C3和电容C4的另一端共接地,电阻R10的另一端接芯片SX2106的4号管脚SHDN,芯片SX2106的1号管脚BST接电容C5的一端,电容C5的另一端与芯片SX2106的6号管脚LX再共同接电感L1的一端,电感L1的另一端接电阻R11和电容C6的一端,之后输出电压3.3V,芯片SX2106的3号管脚FB接电阻R11的另一端和电阻R12的一端,电阻R12的另一端和电容C6的另一端共同接地,芯片SX2106的2号管脚接地。3. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: the power module (1) includes resistors R9, R10, R11, R12, capacitor C3, capacitor C4, capacitor C5, capacitor C6, inductor L1, chip SX2106; the 220V voltage input interface is connected to one end of resistor R9 and capacitor C3, the other end of resistor R9 is connected to resistor R10 and one end of capacitor C4, and connected to pin 5 VIN of chip SX2106, The other end of the capacitor C3 and the capacitor C4 are commonly grounded, the other end of the resistor R10 is connected to the No. The No. pin LX is connected to one end of the inductor L1, the other end of the inductor L1 is connected to the resistor R11 and one end of the capacitor C6, and then the output voltage is 3.3V. The No. 3 pin FB of the chip SX2106 is connected to the other end of the resistor R11 and the resistor R12. One end, the other end of the resistor R12 and the other end of the capacitor C6 are commonly grounded, and pin 2 of the chip SX2106 is grounded. 4.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述单片机模块(2)包括电阻R1、电阻R2、电阻R3、电阻R4、电阻R5、电阻R6、电阻R7、电阻R8、二极管D1、二极管D2、二极管D3、二极管D4、二极管D5、二极管D6、二极管D7、二极管D8、单片机STC15W404S、按键KEY1、按键KEY2、或门芯片;其中单片机STC15W404S的P0.0接Lora无线通信模块(3)的SCK、单片机STC15W404S的P0.1接Lora无线通信模块(3)的MOSI、单片机STC15W404S的P0.2接Lora无线通信模块(3)的CE、单片机STC15W404S的P0.3接Lora无线通信模块(3)的CSN、单片机STC15W404S的P0.4~P0.7和P1.1~P1.3分别接电阻R1~R8的一端,之后电阻R1~R8的另一端接二极管D1-D8的阴极,之后二极管D1-D8的阳极共同接3.3V电压,单片机STC15W404S的P4.5接Lora无线通信模块(3)的IRO,单片机STC15W404S的P2.7接Lora无线通信模块(3)的MOSO,单片机STC15W404S的P3.1接按键KEY1的一端,单片机STC15W404S的P3.0接按键KEY2的一端,按键KEY1和按键KEY2另一端分别接或门芯片的1号和3号管脚,之后或门芯片的2号管脚接地,单片机STC15W404S的VCC接5V电压,单片机STC15W404S的GND接地。4. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: the single-chip microcomputer module (2) includes resistors R1, resistors R2, resistors R3, resistors R4, resistors R5, resistors R6, resistors R7, resistor R8, diode D1, diode D2, diode D3, diode D4, diode D5, diode D6, diode D7, diode D8, single-chip microcomputer STC15W404S, button KEY1, button KEY2, or gate chip; the P0.0 of the single-chip microcomputer STC15W404S is connected SCK of the Lora wireless communication module (3), P0.1 of the single-chip microcomputer STC15W404S connect to MOSI of the Lora wireless communication module (3), P0.2 of the single-chip STC15W404S connect to CE of the Lora wireless communication module (3), P0.3 of the single-chip STC15W404S Connect to the CSN of the Lora wireless communication module (3), P0.4~P0.7 and P1.1~P1.3 of the single-chip microcomputer STC15W404S respectively connect to one end of the resistor R1~R8, and then connect the other end of the resistor R1~R8 to the diode D1- The cathode of D8, and then the anodes of diodes D1-D8 are connected to the 3.3V voltage, P4.5 of the single-chip microcomputer STC15W404S is connected to the IRO of the Lora wireless communication module (3), and P2.7 of the single-chip STC15W404S is connected to the MOSO of the Lora wireless communication module (3). , P3.1 of the single-chip microcomputer STC15W404S is connected to one end of the key KEY1, P3.0 of the single-chip microcomputer STC15W404S is connected to one end of the key KEY2, and the other ends of the key KEY1 and the other end of the key KEY2 are respectively connected to pins 1 and 3 of the OR gate chip, and then the OR gate chip The 2nd pin of the single-chip microcomputer STC15W404S is connected to the 5V voltage, and the GND of the single-chip microcomputer STC15W404S is grounded. 5.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述Lora无线通信模块(3)包括电容C1、电容C2、天线T1、Lora芯片;Lora芯片采用Ra-01芯片,其中Lora芯片的3号管脚接电容C1和电容C2的一端,电容C1和电容C2的另一端接地,Lora芯片的5号管脚接单片机STC15W404S的P4.5,Lora芯片的13号管脚接单片机STC15W404S的P2.7,Lora芯片的12号管脚接单片机STC15W404S的P0.0,Lora芯片的14号管脚接单片机STC15W404S的P0.1,Lora芯片的4号管脚接单片机STC15W404S的P0.2,Lora芯片的15号管脚接单片机STC15W404S的P0.3,Lora芯片的1号管脚接天线T1,Lora芯片的9号、16号、2号管脚均接地。5. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: the Lora wireless communication module (3) includes a capacitor C1, a capacitor C2, an antenna T1, and a Lora chip; the Lora chip uses Ra- 01 chip, where pin 3 of the Lora chip is connected to one end of capacitor C1 and capacitor C2, and the other end of capacitor C1 and capacitor C2 is grounded, pin 5 of the Lora chip is connected to P4.5 of the microcontroller STC15W404S, and pin 13 of the Lora chip The pin is connected to the P2.7 of the single-chip microcomputer STC15W404S, the No. 12 pin of the Lora chip is connected to the P0.0 of the single-chip microcomputer STC15W404S, the No. 14 pin of the Lora chip is connected to the P0.1 of the single-chip microcomputer STC15W404S, and the No. 4 pin of the Lora chip is connected to the single-chip microcomputer STC15W404S Pin 15 of the Lora chip is connected to P0.3 of the microcontroller STC15W404S, pin 1 of the Lora chip is connected to the antenna T1, and pins 9, 16, and 2 of the Lora chip are all grounded. 6.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述压感带电路(4)主要包括一个压阻式压力传感器MPXV5050GP,压力传感器是一个内置于凸出压感带的小型传感器,通过压阻式压力传感器能够感知微小的机械振动,设定两次振动为一次记录,因为是内嵌的,所采集的信息将通过在道路边布线进行信息传输,压阻式压力传感器MPXV5050GP的 2号管脚接5V 电压,3号管脚接地,4号管脚接单片机STC15W404S的P2.0。6. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: the pressure-sensitive belt circuit (4) mainly includes a piezoresistive pressure sensor MPXV5050GP, and the pressure sensor is a built-in protruding The small sensor of the pressure-sensitive belt can sense tiny mechanical vibrations through the piezoresistive pressure sensor, and set two vibrations as one record. Because it is embedded, the collected information will be transmitted through the wiring on the side of the road. Pin 2 of the resistive pressure sensor MPXV5050GP is connected to 5V, pin 3 is grounded, and pin 4 is connected to P2.0 of the single-chip microcomputer STC15W404S. 7.根据权利要求1所述的基于Lora的路灯嵌入式实时控制装置,其特征在于:所述路灯控制模块(5)包括MOSFET驱动电路、电压输入驱动电路、MOSFET晶体管M1、M2......M(n-1)、Mn、LED路灯L1、L2......L(n-1)、Ln;STC15W404S系列单片机PDIP40输出引脚P2.3、P2.4、P2.5、P2.6分别与MOSFET驱动电路的输入端相连,MOSFET驱动电路的输出端分别与MOSFET晶体管M1、M2......M(n-1)、 Mn的栅极相连,MOSFET晶体管的漏极和源极分别与电压输入驱动电路的输出端和LED路灯L1、L2......L(n-1)、Ln的一端相连;LED路灯L1、L2......L(n-1)、Ln的另一端与电压输入驱动电路的另一输出端相连,电压输入驱动电路的输入端分别与市电的火线L和零线N相连。7. The Lora-based embedded real-time control device for street lamps according to claim 1, characterized in that: the street lamp control module (5) includes a MOSFET drive circuit, a voltage input drive circuit, MOSFET transistors M1, M2... . ..M(n-1), Mn, LED street lights L1, L2...L(n-1), Ln; STC15W404S series MCU PDIP40 output pins P2.3, P2.4, P2.5, P2.6 are respectively connected to the input terminals of the MOSFET driving circuit, the output terminals of the MOSFET driving circuit are respectively connected to the gates of the MOSFET transistors M1, M2...M(n-1), Mn, and the drains of the MOSFET transistors and the source are respectively connected to the output terminals of the voltage input drive circuit and one end of the LED street lamps L1, L2...L(n-1), Ln; the LED street lamps L1, L2...L(n -1), the other end of Ln is connected to the other output end of the voltage input driving circuit, and the input ends of the voltage input driving circuit are respectively connected to the live line L and the neutral line N of the commercial power.
CN201810038152.9A 2018-01-16 2018-01-16 Street lamp embedded real-time control device based on Lora Active CN108566698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810038152.9A CN108566698B (en) 2018-01-16 2018-01-16 Street lamp embedded real-time control device based on Lora

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810038152.9A CN108566698B (en) 2018-01-16 2018-01-16 Street lamp embedded real-time control device based on Lora

Publications (2)

Publication Number Publication Date
CN108566698A true CN108566698A (en) 2018-09-21
CN108566698B CN108566698B (en) 2024-03-22

Family

ID=63530879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810038152.9A Active CN108566698B (en) 2018-01-16 2018-01-16 Street lamp embedded real-time control device based on Lora

Country Status (1)

Country Link
CN (1) CN108566698B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109630958A (en) * 2018-12-01 2019-04-16 北京博纳菲德科技有限公司 A kind of environment-friendly type night roam lamp control device
CN109661064A (en) * 2018-12-24 2019-04-19 江苏理工学院 A kind of campus wisdom road lamp system realized based on real not time circuit detection unit
US11538333B2 (en) 2019-03-07 2022-12-27 Auo Megainsight (Suzhou) Co., Ltd. Data acquisition circuit board and equipment monitoring system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009124453A1 (en) * 2008-04-11 2009-10-15 东莞勤上光电股份有限公司 Led street lamp master controller, sub-controllers and control system
CN201846504U (en) * 2010-09-26 2011-05-25 石家庄合辐节能科技有限公司 Remotely controllable LED (light-emitting diode) street lamp control circuit based on ZIGBEE wireless communication
CN204948451U (en) * 2015-09-14 2016-01-06 北京七彩亮点科技发展有限责任公司 A kind of intelligent road-lamp equipment
CN107172779A (en) * 2017-06-07 2017-09-15 刘胜泉 An intelligent linkage street lamp controller
CN206611614U (en) * 2017-04-11 2017-11-03 陕西尚品信息科技有限公司 A Simulation Street Light Control System Based on Environment Control
CN207897186U (en) * 2018-01-16 2018-09-21 昆明理工大学 A kind of streetlight embedded real-time control apparatus based on Lora

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009124453A1 (en) * 2008-04-11 2009-10-15 东莞勤上光电股份有限公司 Led street lamp master controller, sub-controllers and control system
CN201846504U (en) * 2010-09-26 2011-05-25 石家庄合辐节能科技有限公司 Remotely controllable LED (light-emitting diode) street lamp control circuit based on ZIGBEE wireless communication
CN204948451U (en) * 2015-09-14 2016-01-06 北京七彩亮点科技发展有限责任公司 A kind of intelligent road-lamp equipment
CN206611614U (en) * 2017-04-11 2017-11-03 陕西尚品信息科技有限公司 A Simulation Street Light Control System Based on Environment Control
CN107172779A (en) * 2017-06-07 2017-09-15 刘胜泉 An intelligent linkage street lamp controller
CN207897186U (en) * 2018-01-16 2018-09-21 昆明理工大学 A kind of streetlight embedded real-time control apparatus based on Lora

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109630958A (en) * 2018-12-01 2019-04-16 北京博纳菲德科技有限公司 A kind of environment-friendly type night roam lamp control device
CN109661064A (en) * 2018-12-24 2019-04-19 江苏理工学院 A kind of campus wisdom road lamp system realized based on real not time circuit detection unit
US11538333B2 (en) 2019-03-07 2022-12-27 Auo Megainsight (Suzhou) Co., Ltd. Data acquisition circuit board and equipment monitoring system

Also Published As

Publication number Publication date
CN108566698B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN201001214Y (en) An intelligent wireless network LED street lamp
CN201075878Y (en) Control apparatus for integration multifunctional road lamp intelligence energy saving
CN201805589U (en) A Lighting Dimming and Energy Saving System Based on Video Monitoring
CN200997701Y (en) Constant-current LED illuminating light with pyroelectric infrared control
CN108566698A (en) A kind of streetlight embedded real-time control apparatus based on Lora
CN202549151U (en) Wireless monitoring and control practical training system of street lamp
CN204707319U (en) Based on the street lamp control system of wireless transmission
CN207897186U (en) A kind of streetlight embedded real-time control apparatus based on Lora
CN202634837U (en) Area return circuit controller in intelligent roadway lighting system
CN204377209U (en) Detect the wireless sensing system of street lamp light intensity
CN204014185U (en) A kind of Internet of Things intelligent road lamp system
CN203423825U (en) Mini-size street lamp node controller
CN204717574U (en) SCM Based energy-saving solar street lamp
CN203984736U (en) A kind of LED controller for road lamp with radio frequency recognition function
CN202455611U (en) A kind of LED intelligent lighting device
CN100490600C (en) Special electronic ballast resistor in gas discharging light long-range controlling system
CN202663597U (en) Intelligent tunnel lamp illumination system
CN202127529U (en) An integrated LED lamp for emergency lighting
CN201523369U (en) Infrared human body sensor switch
CN215187504U (en) A kind of control device of intelligent street light
CN204968190U (en) Automatic dimming system of LED
CN205812395U (en) Public bicycles burglary-resisting system based on ZigBee and GPS technology
CN203327328U (en) Sound and light-controlled LED lamp
CN108463032A (en) For the intelligent lighting circuit of underground parking garage, system and illumination control method
CN203340386U (en) A driving power supply for infrared remote control stepless dimming with night light

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant