K
K
Klaxons2015-09-22 18:15:57
C++ / C#
Klaxons, 2015-09-22 18:15:57

How to manage power in stm32f4?

I want to organize such a scheme:
a touch sensor is connected to port D, vcc from bluetooth is connected to port C,
I read the state of the touch sensor, if the touch is activated, then I supply power to the bluetooth through port C

GPIO_SetBits(GPIOC, GPIO_Pin_11); // вроде даю 5 вольт на порт PC11 куда подключен vcc блютуза

but the bluetooth is not powered
, while the clocking of the port is turned on, and if you mark the LED in it, it will light up

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Buliterov, 2015-09-22
@bullitufa

Do you take off the power of the bluetooth directly from the foot of the mk ??? So you shouldn't do it.
The easiest way is through a transistor. Then the level of nutrition will not be a hindrance.

M
m_t01, 2015-11-21
@m_t01

if the current of one output is not enough, then you can connect 2 or 3 outputs in parallel to increase the current

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question