P
P
Pavel2020-08-26 13:56:03
Arduino
Pavel, 2020-08-26 13:56:03

Is it possible to blink an LED through a 3.3V pin?

I bought an arduino and
decided to flash an external LED
. But there were no resistors in this store, the
only output is the 3.3V pin,
but how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Vodakov, 2020-08-26
@WaterSmith

The 3.3V pin is not controlled from the sketch, it's just 3.3V.
You can blink even without a resistor, and even, most likely, your diode will not burn out (but this is not accurate)
Still buy resistors, or solder them from somewhere.
And if you answer literally on your question, put a suitable transistor on the 3.3V pin, connect its base to the control pin. And already to the transistor your diode. But, since you do not have resistors, most likely there will not be a transistor either. And secondly, the transistor must also be protected by a resistor.
Therefore, get some resistors.

G
Grigory Boev, 2020-08-26
@ProgrammerForever

Without a current stabilizer, anything will emit magical white smoke. As they correctly wrote above - 3.3 is just 3.3 after the stabilizer, and not the output of the microcontroller itself.
If not at all, but you want to, then you can connect
1) 4 red LEDs in series (or 3 blue / white)
2) LED plus - to the controller output, minus - to the same 3.3 .
But it's like jumping from a bridge on an elastic band - maybe it's fun for someone, but it will end badly, it's easier to get any 500-2000 Ohm resistor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question