The simplest circuit method of microcontroller pin controlling relay

Publisher:静雅心灵Latest update time:2018-08-12 Source: eefocusKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.



Keywords:MCU Reference address:The simplest circuit method of microcontroller pin controlling relay

Previous article:Single chip microcomputer controls TFT LCD screen to display digital
Next article:STM8S003F3 control LED

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号