2781 views|7 replies

875

Posts

1

Resources
The OP
 

How to eliminate the current in IO after power failure [Copy link]

After the microcontroller is powered off, the LED light connected to the IO port will still light up for a while (the anode of the LED light is connected to 3.3V, and the cathode is connected to the IO port).

This post is from stm32/stm8

Latest reply

I also want to talk about power-off detection. You have to systematically analyze how your system handles low-voltage conditions, and how to solve the problem if the power supply voltage is really low. The low voltage, reset, and watchdog of some microcontrollers can be linked together, depending on how you want to handle it.   Details Published on 2020-6-20 22:03
 

1w

Posts

25

Resources
2
 

Is this a large capacitor in the system?

This post is from stm32/stm8

Comments

Yes, the original design did not have a capacitor, but when I gave it to someone to solder, I couldn't find one, so I replaced it with a larger capacitor. After the power was turned off, the discharge was slow.  Details Published on 2020-6-16 15:19
 
 

2w

Posts

341

Resources
3
 

First cut off the 3.3V power to see if there is still a delay

Then cut off the power supply to the microcontroller and analyze the problem.

This post is from stm32/stm8

Comments

First, I cut off the external power supply and only left 3.3V power supply. There was a delay. Later, I found that the capacitance of one of the capacitors was increased when it was handed over to the outside for welding, which caused the capacitor to discharge for too long after power failure.  Details Published on 2020-6-16 15:18
 
 

2w

Posts

0

Resources
4
 

It is estimated that there is a large capacitor in the 3.3V circuit, and the large capacitor has not been fully discharged.

This post is from stm32/stm8
 
 
 

875

Posts

1

Resources
5
 
qwqwqw2088 posted on 2020-6-16 11:25 First cut off the 3.3V power to see if there is still a delay, then cut off the power supply to the microcontroller and analyze the problem

First, I cut off the external power supply and only left 3.3V power supply. There was a delay. Later, I found that the capacitance of one of the capacitors was increased when it was handed over to the outside for welding, which caused the capacitor to discharge for too long after power failure.

This post is from stm32/stm8
 
 
 

875

Posts

1

Resources
6
 
dcexpert posted on 2020-6-16 11:11 This is a large capacitor in the system

Yes, the original design did not have a capacitor, but when I gave it to someone else to solder, I couldn't find one, so I replaced it with a larger capacitor. After the power was turned off, the discharge was slow.

This post is from stm32/stm8

Comments

If you keep the large capacitor, you can detect power failure  Details Published on 2020-6-16 15:58
 
 
 

1w

Posts

25

Resources
7
 
Cao Wei 1993 posted on 2020-6-16 15:19 Yes, yes, the original design did not have a capacitor, but when I gave it to someone else to solder, I couldn't find one, so I privately replaced it with a larger capacitor...

If you keep the large capacitor, you can detect power failure

This post is from stm32/stm8
 
 
 

4005

Posts

0

Resources
8
 

I also want to talk about power-off detection. You have to systematically analyze how your system handles low-voltage conditions, and how to solve the problem if the power supply voltage is really low.

The low voltage, reset, and watchdog of some microcontrollers can be linked together, depending on how you want to handle it.

This post is from stm32/stm8
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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