Lighting power supply control method based on RS232 communication protocol

文档序号:1315510 发布日期:2020-07-10 浏览:14次 中文

阅读说明:本技术 一种基于rs232通信协议的灯光电源控制方法 (Lighting power supply control method based on RS232 communication protocol ) 是由 袭普照 王陈明 于 2020-04-08 设计创作,主要内容包括:本发明涉及电路控制领域,更具体的说涉及一种基于RS232通信协议的灯光电源控制方法。本发明基于中控系统,包括:继电器模块并联接收控制信号,通过继电器控制对应的灯光电路;其中,所述继电器模块包括多个继电器端口和一个RS232串口。本发明基于RS232通信协议,对现有照明电路进行简单的改造,通过改造后可方便实现物联控制。(The invention relates to the field of circuit control, in particular to a lamplight power supply control method based on an RS232 communication protocol. The invention is based on a central control system, comprising: the relay modules are connected in parallel to receive the control signals, and the corresponding light circuits are controlled through the relays; the relay module comprises a plurality of relay ports and an RS232 serial port. The invention is based on RS232 communication protocol, and can simply reform the existing lighting circuit, and conveniently realize the Internet of things control after the reformation.)

1. A lamplight power supply control method based on an RS232 communication protocol is characterized in that the lamplight power supply control method based on a central control system comprises the following steps:

the relay modules are connected in parallel to receive the control signals, and the corresponding light circuits are controlled through the relays;

the relay module comprises a 12V multi-path relay with an RS232 serial port and a plurality of intermediate relays.

2. A lighting power supply control method based on RS232 communication protocol as claimed in claim 1, wherein the control signal is a dc signal provided by a 12V dc power supply.

3. A light power supply control method based on RS232 communication protocol as claimed in claim 2, characterized in that the relay is a 12V relay.

4. A lamplight power supply control method based on an RS232 communication protocol according to claim 3, characterized in that the 12V direct current power supply output end is connected with the intermediate relay.

5. A lamplight power supply control method based on an RS232 communication protocol as claimed in claim 1, wherein the RS232 serial port receives the control signal, and the lamplight power supply control method is based on an instruction of the RS232 communication protocol and is connected with a lamplight circuit through a relay port to achieve the purpose of controlling a switch.

Technical Field

The invention relates to the field of circuit control, in particular to a lamplight power supply control method based on an RS232 communication protocol.

Background

At present, the control of the internet of things is very popular, but because the integration level of the internet of things switch module of each manufacturer is very high, faults are easy to occur, and troubleshooting is not easy after problems occur. Therefore, the existing lighting circuit is expected to be simply transformed, and the Internet of things control can be conveniently realized after the transformation.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides a lamplight power supply control method based on an RS232 communication protocol.

The specific technical scheme of the invention is as follows: a lamplight power supply control method based on an RS232 communication protocol is based on a central control system and comprises the following steps:

the relay modules are connected in parallel to receive the control signals, and the corresponding light circuits are controlled through the relays;

the relay module comprises a 12V multi-path relay with an RS232 serial port and a plurality of intermediate relays.

Preferably, the control signal is a dc signal provided by a 12V dc power supply.

Preferably, the relay is a 12V relay.

Preferably, the 12V dc power supply output terminal is connected to the intermediate relay.

Preferably, the RS232 serial port receives the control signal, and is connected to the lighting circuit through the relay port based on an instruction of an RS232 communication protocol, so as to achieve the purpose of controlling the switch.

In conclusion, the invention has the following beneficial effects:

1. and an RS232 serial port is added, and a multi-path 12V relay module with the RS232 serial port function can complete the on-off control of multi-path electric appliances.

2. The safety protection device is provided with the relay, the on-off of the circuit is realized through the control of the relay, and the safety is improved.

Drawings

Fig. 1 is a schematic diagram of a lighting power supply control method based on RS232 communication protocol according to the present invention.

Detailed Description

The invention will be further explained by means of specific embodiments with reference to the drawings.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:能自动跟踪手术刀的智能无影灯控制系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!