Two LEDs on a single GPIO pin!

  Рет қаралды 575

Uwe Zimmermann

Uwe Zimmermann

Күн бұрын

You want to connect two LEDs to your microcontroller but you have only one GPIO-pin left?
In this video I present an alternative solution to the one presented by Ralph Bacon in his recent video • #241 Yikes! Only ONE G...

Пікірлер: 6
@k1zmt
@k1zmt Жыл бұрын
For some sort of reason I expected 1-Wire protocol driven switch. Voltage follower is a pretty clever idea!
@RalphBacon
@RalphBacon 2 жыл бұрын
Nicely done! It's certainly an alternative to my solution. I will store this in a filing cabinet in my brain for some time in the future. If it ever comes up in a future video of mine I'll pretend it was all my idea, obviously 🤣 I would have to test your assertion that blue LEDs would light up with just 2.5v but even if they did not it's not a huge loss as I hate those overbright blue LEDs that seem to pop-up everywhere now. Until the next video! 👍🏻
@uwezimmermann5427
@uwezimmermann5427 2 жыл бұрын
Thank you Ralph. Feel free to take it and run with it... it's not my invention either!
@7alfatech860
@7alfatech860 2 жыл бұрын
Very nice to see you building on Ralph's ideas. I do like the idea of using the op-amp, since they are cheap and almost any will do. In addition, the current through the voltage divider will be very low (about 0.125 mA)
@uwezimmermann5427
@uwezimmermann5427 2 жыл бұрын
you could reduce the current through the divider even more by using higher-valued resistors, it would still work well with >100 kΩ. On the other hand power consumption for the whole system is not an issue if you are at the same time running two dozen LEDs.
@avr_stm_pro2955
@avr_stm_pro2955 2 жыл бұрын
👍👍👍
Charlieplexing - 10 LEDs from 4 pins including homebrew pcb
37:40
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 7 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 14 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,4 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 22 МЛН
Your USB-C Cable probably SUCKS! Sooo is that Bad?
10:54
GreatScott!
Рет қаралды 704 М.
How GPIO works | General Purpose Input Output | GPIO Behind The Scene
5:52
Short and sweet:  pull up/pull down resistors explained
6:16
learnelectronics
Рет қаралды 132 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 600 М.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
ATmega328 and PlatformIO - no Arduino!
16:21
Uwe Zimmermann
Рет қаралды 11 М.
Using external libraries with PlatformIO and Arduino
13:10
Uwe Zimmermann
Рет қаралды 3,5 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 418 М.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 266 М.
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН
Telefonu Parçaladım!😱
0:16
Safak Novruz
Рет қаралды 26 МЛН