This post is from PCB Design
Latest reply
As can be seen from the first picture, if you want to input a high or low level from the OUT, that is, the microcontroller pin, the transistor must not be turned on (otherwise the input signal will be short-circuited to the ground). Therefore, before using it as an input, the microcontroller must write "1" to the I/O port, that is, the pin outputs a high level, that is, the transistor is turned off. At this time, the external signal can be applied to the OUT terminal. When the external signal is high, it is actually not necessary to provide current. The pull-up resistor R2 inside the chip can make the pin high (if the input signal is open, the microcontroller will think that the input is high). If the external signal is low, the input signal needs to "suck away" the current in R2 to the ground (when the microcontroller pin does not have an external pull-up resistor, it is tens of microamperes to 100 microamperes at most. When there is an external pull-up resistor, of course, the current in the external resistor must be added).
Details
Published on 2020-9-22 16:40
| ||
|
||
2
Published on 2020-1-29 11:35
Only look at the author
This post is from PCB Design
| ||
|
||
|
3
Published on 2020-1-29 12:38
Only look at the author
This post is from PCB Design
| ||
|
||
|
This post is from PCB Design
| ||
|
||
|
5
Published on 2020-1-29 14:55
Only look at the author
This post is from PCB Design
| ||
|
||
|
6
Published on 2020-1-29 14:58
Only look at the author
This post is from PCB Design
| ||
|
||
|
7
Published on 2020-1-29 15:03
Only look at the author
This post is from PCB Design
| ||
|
||
|
8
Published on 2020-1-29 15:05
Only look at the author
This post is from PCB Design
| ||
|
||
|
9
Published on 2020-1-29 15:07
Only look at the author
This post is from PCB Design
| ||
|
||
|
10
Published on 2020-1-30 17:19
Only look at the author
This post is from PCB Design
| ||
|
||
|
11
Published on 2020-1-30 17:25
Only look at the author
This post is from PCB Design
| ||
|
||
|
12
Published on 2020-1-30 17:33
Only look at the author
This post is from PCB Design
| ||
|
||
|
13
Published on 2020-1-30 17:36
Only look at the author
This post is from PCB Design
| ||
|
||
|
14
Published on 2020-9-22 16:40
Only look at the author
This post is from PCB Design
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190