It is ideal to drive with ULN and transistors, but the efficiency of optocouplers is not high.
ULN2003 is usually used for driving.
If an NPN transistor is used, one end of the relay is connected to the power supply, and the other end is connected to the collector of the NPN. The emitter is grounded, and the base is connected to the control signal.
Note: The IO port driving capability of the microcontroller is not enough. Add a ULN2003 to drive the relay. One ULN2003 can drive 7 relays, and ULN2803 can drive 8. The maximum driving current is 500mA.
Previous article:The algorithm of digital filtering realized by single chip microcomputer
Next article:PCB Electromagnetic Interference Design for Single Chip Microcomputer
- 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?
- Serial communication details
- TI Power Supply Learning and Growth Road: DC-DC/AC-DC Control Circuit
- 4. [Record] Com335X: Manually create an SD card boot disk
- 4G DTU
- EEWORLD University Hall----At the 2018 Mobile World Congress, Eric Creviston envisions the future of 5G
- 【TouchGFX Design】Download to the development board
- Verilog HDL Advanced Digital Design (Second Edition)
- Air discharge ESD rectification case of Bluetooth speaker
- Paid request for K210 baseboard design
- [FM33LG0 series development board review] 04.PWM, RTC