[Diao Ye learns programming] Arduino hands-on (43) --- single relay module 3

insert image description here

The reference to 37 sensors and modules has been widely circulated on the Internet. In fact, there must be more than 37 sensor modules compatible with Arduino. In view of the fact that I have accumulated some sensors and modules on hand, according to the concept of practice (hands-on try), for the purpose of learning and communication, I am going to do experiments one by one here, and will record them regardless of whether they are successful or not. It is a difficult problem, and I hope to be able to throw bricks and spark jade.

[Arduino] 168 kinds of sensor module series experiment (data + code + graphics + simulation)
Experiment 43: 5V low level trigger single relay module (single module normally closed and normally open type)

insert image description here

insert image description here
Single-channel 5V relay module
1. General-purpose single-channel 5V relay module
1. Module features
(1) Comply with international safety standards, and there is an isolation slot between the control area and the load area;
(2) Double-sided FR-4 circuit board design, high-end stickers (3) It has power supply and relay action indication, it
is bright when it is closed, and it is not bright when it is disconnected; (
4) It is divided into two specifications: low-level trigger and high-level trigger;
(5) The relay can directly control various Equipment and load;
(6) Control DC or AC signal, can control 220V AC load;
(7) There is a normally open and a normally closed contact;
(8) The signal input terminal has a low level (or high level) signal
(9) It is more convenient to connect the blue KF301 terminal to the control line; (
10) Module size: 43 17 18.5MM, net weight: 15g.

insert image description here
2. Electrical parameters
Voltage version static current working current trigger voltage trigger current
5V 4mA 65mA 0-2V 2mA

Relay contact capacity: 250V 10A (AC) or 30V 30A (DC)
Instructions on high-level and low-level triggering methods:
1. High-level triggering refers to the triggering method with voltage between the signal input terminal and the ground , can be understood as a way of short-circuit triggering between the signal input terminal and the positive pole of VCC;
2. Low-level triggering refers to the trigger mode in which the voltage between the signal input terminal and the ground is OV, which can be understood as the signal input terminal and the negative pole of GND A method of short-circuit triggering. The advantage of low-level drive is that when the system is powered on and reset, the load will not work, and the safety is high.

insert image description here
3. Electrical schematic diagram

insert image description here

insert image description here
insert image description here

4. Wiring method

insert image description here

insert image description here
insert image description here

insert image description here

5. Instructions for use

insert image description here
insert image description here

Instructions for use
1. Power supply of the module: the power supply must be DC, and the voltage must be consistent with the voltage of the
relay
. When the trigger terminal has a low-level trigger, the common terminal and the normally-open terminal will be connected
, and the device will work with power. On, the device does not work without power

2. Single-channel wide voltage 5V-30V trigger delay relay module
1. Module highlights -
(1) The time can be adjusted by the potentiometer to meet the use of most occasions.
(2) With MicroUSB 5.0V power supply input, it is very convenient to use.
(3) 5-30V ultra-wide power supply voltage.
(4) Two trigger modes: external trigger and onboard button.
(5) It has a relay pull-in indicator light.
(6) Strong anti-interference ability, the relay will not malfunction under various interferences, and is suitable for industrial control.

insert image description here

2. Module electrical schematic diagram (for reference only)

insert image description here
3. Module characteristics -
(1) Working voltage: any voltage between 5-30V wide voltage, two power supply interfaces of MicroUSB and soldering terminal
(2) Working mode: After the module is powered, the state of the output terminal of the module is: normally open (NO ) is disconnected from the common terminal (COM), and normally closed (NC) is connected to the common terminal (COM). Give a low pulse signal to the external contact trigger (TRIG), or touch the trigger button momentarily, the relay will be switched on, and the working indicator light will be on. At this time, the state of the relay output terminal is: normally open (NO) and common terminal (COM) conduction, The normally closed (NC) is disconnected from the common terminal (COM), and after 0-24 seconds (this time can be adjusted according to your needs), the relay is disconnected, and the relay returns to the state before the trigger.
(3) The time can be adjusted by the potentiometer, the default is 0-24 seconds. If it takes longer, you can replace a larger capacitor (C2) or potentiometer by yourself. Delay time formula: T=1.1RC. For example: if the capacitor is 22uf and the resistor is 1M, then T=1.1 0.000022 1000000=24.2 seconds.
(4) It has a relay pull-in indicator light.
(5) The module can control: 10A 250VAC (AC), 10A 30VDC (DC) below the load.
(6) With relay freewheeling protection.
(7) The signal end of the module is designed with a pull-up and filter circuit, which has strong anti-interference ability and is suitable for industrial control. Many manufacturers have added an optocoupler for isolation, but the module is not isolated from the ground of the trigger signal, so it will not have the effect of anti-interference. After testing, it is found that the stability of the trigger terminal can only be improved to resist interference. No matter the module is in an electromagnetic interference environment or the moment the module is powered on and off, the relay will not malfunction.
(8) Size: 5.4 1.9 1.8cm (length, width and height ) (9) Weight: 16g

4. Applicable occasions——
1. Anti-theft alarm delay, building sound and light control light switch, etc.
2. Delayed connection of on-board equipment to prevent excessive current from burning the on-board equipment when the car is ignited.
3. In the occasions that need to start sequentially, prevent multiple devices from starting at the same time and the current is too large to burn down the electrical appliances.

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_41659040/article/details/132362061