1573 views|15 replies

688

Posts

0

Resources
The OP
 

Is it easy to be disturbed when the pins of the microcontroller are left floating? [Copy link]

 

If the pins of the microcontroller are left floating when not in use, will they be easily disturbed?

This post is from Power technology

Latest reply

If the pins of the microcontroller are left floating when not in use, will they be easily disturbed? Set to enter will!   Details Published on 2023-10-25 10:02
 
 

2w

Posts

0

Resources
2
 

[Will the microcontroller pins be easily disturbed if they are left floating when not in use?]

Normally, that's the case.

This post is from Power technology
 
 
 

206

Posts

5

Resources
3
 

If the floating pin is an input, there may be noise interference. If it is an output or bidirectional, there should be no interference.

This post is from Power technology
 
 
 

9720

Posts

24

Resources
4
 

Floating in input mode can easily cause interference and extra current consumption


This post is from Power technology
 
 
 

2870

Posts

4

Resources
5
 

Usually the default mode of GPIO is output mode. If it is left floating, it should be fine. If it is in input mode, it is hard to say. Therefore, if it is in input mode, pull-up and pull-down resistors should be added, such as: I2C, USART, etc.

This post is from Power technology
 
 
 

6788

Posts

2

Resources
6
 

It is usually okay to leave the pins floating without initialization, after all, not all pins are used.

This post is from Power technology
 
 
 

4817

Posts

4

Resources
7
 

These interference signals may be electromagnetic waves, power supply noise, capacitor charging and discharging processes, etc.

This post is from Power technology
 
 
 

181

Posts

0

Resources
8
 

Will the pins of the microcontroller be easily disturbed if they are left floating when not in use? Usually, pull-up or pull-down resistors are connected to avoid leaving them floating.

This post is from Power technology
 
 
 

48

Posts

2

Resources
9
 
To avoid interference, unused pins are configured as outputs. Special pins that cannot be configured, such as JTAG, are pulled up and down according to normal logic.
This post is from Power technology
 
 
 

6

Posts

0

Resources
10
 

Will the pin of the microcontroller be easily disturbed when it is not in use? Usually the input state of this pin is uncertain and easily disturbed by the outside world. Usually a pull-up or pull-down resistor is connected to avoid it being left floating. If there is an internal pull-up or pull-down resistor, it can be set to pull up or pull down internally. In this way, the external hardware circuit can be NC, saving a resistor.

This post is from Power technology
 
 
 

65

Posts

0

Resources
11
 

I think it depends on the application scenario. If it is low voltage and low power, floating will have little effect. If it is a high power application, it is better to configure it to be internally pulled down, which is better than floating without configuration or high impedance state.


This post is from Power technology
 
 
 

6

Posts

0

Resources
12
 
Thank you for sharing
This post is from Power technology
 
 
 

1463

Posts

0

Resources
13
 
If the pins of the microcontroller are left floating when not in use, they are easily disturbed.
This post is from Power technology
 
 
 

24

Posts

0

Resources
14
 

The floating input in stm32 is very susceptible to external interference. It is recommended to pull up the input or pull down the input, which is more stable.

This post is from Power technology
 
 
 

894

Posts

0

Resources
15
 

If it is set as output, it can be left floating, but it may increase power consumption. For input state, it needs to be pulled up or down. Some processors have pull-up or pull-down resistors inside.

This post is from Power technology
 
 
 

719

Posts

0

Resources
16
 

If the pins of the microcontroller are left floating when not in use, will they be easily disturbed?

Set to enter will!

This post is from Power technology
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list