First of all, it should be made clear that the microcontroller cannot directly control the relay, whether it is a 3v relay or a 5v relay.
Reason: For example, the pins of 51 MCU and msp430 MCU cannot be directly connected to the relay. Although the voltage of the pin is sufficient, the current is insufficient, so the coil that should be closed will not close. A transistor needs to be added to amplify the current.
It is said to amplify the current, but in essence it is treating the pin as a switch to control the opening and closing of the actual 3.3v voltage.
The picture below shows a relay module that I designed myself in practice and can work normally.
Previous article:Single chip microcomputer controls TFT LCD screen to display digital
Next article:STM8S003F3 control LED
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- The simulation of multiplication floating point IP in quartus, has anyone used it?
- LED downlight replacement dimmable power supply
- There are some problems with the PFC circuit power-on process. Please consult
- LM358 audio amplifier circuit (loudspeaker)
- CircuitPython OLED Watch/Bracelet
- Research on the process of long and short printed plug products
- [TI recommended course] #[High Precision Laboratory] Magnetic Sensor Technology#
- [National Technology N32G457 Review] V. Soft Switching Power Supply Preparation
- Qorvo Wins Prestigious GTI Award for RF FUSION 5G Chipset Solution
- What diode is in this position?