GPIO Output Mode: Working of Open Drain Configuration

  Рет қаралды 55,800

Fastbit Embedded Brain Academy

Fastbit Embedded Brain Academy

Күн бұрын

Пікірлер: 17
@sommmen
@sommmen 7 жыл бұрын
thanks man, pretty clear and with the pictures and all i finnally got it. Really helped that you covered the topic so extensively (covering all states and what not)
@zetaconvex1987
@zetaconvex1987 3 жыл бұрын
Thanks for that. It's the first really good explanation of open drain output that I've seen.
@Derlis_Jara
@Derlis_Jara 2 жыл бұрын
short and clear explanation. thanks a lot greattings from Argentina..
@edinhthong5139
@edinhthong5139 7 жыл бұрын
when we output "1" state it means that it output "0" to the nmos transistor ? as always
@victorzedwings
@victorzedwings 5 жыл бұрын
I dont understand. R already limits the current. Led has additional resistance. FET is shorting line to ground, so current flow through R. When FET is closed resistance of line is R + Led. Is current enough to power Led? If so, why R doesnt burn when shorted to Gnd?
@leesimon85
@leesimon85 5 жыл бұрын
If set R enough large, current will reduce, the R does not burn. I hope you can understanding.
@jimedgar6789
@jimedgar6789 2 ай бұрын
Depending on how bright you want your LED. You can use 10K pull-up with red LED and it will glow, and 10K is definitely enough to prevent damage to the MCU. Depending on the MCU, you can source ~30mA or 0.030A. With Vcc of 5V, you are delivering 0.0005A. We don't worry about burning out R, that probably will never happen. The MCU pin will fry before R does. A 470R, at 5V will give 0.010A. Etc...
@theabhi5hek
@theabhi5hek 6 жыл бұрын
Hi sir, Is there any advantage of using this configuration over normal configuration?
@kecko3294
@kecko3294 5 жыл бұрын
this configuration is used for example on an I2C-Bus to prevent a current flow between two devices if they are set to output mode (one device could give Vcc on the line while one device could give GND on the line -> 3.3V to 5V voltage difference between those two transistors results in a big current which can destroy the devices). If both devices are used in an open drain configuration the output pins can only drive the whole data line to GND and never drive it to a higher voltage by themselves (data line is only on high if both devices would close their transistors). So even if two devices are set to output mode there is no state where there is a voltage difference between the devices so no current will flow.
@AshishVerma_Awesome
@AshishVerma_Awesome 8 жыл бұрын
can you please share your udemy course link i am interested and how much it cost
@Fatimarajab534
@Fatimarajab534 5 жыл бұрын
Thanks for this
@wassimz98
@wassimz98 4 жыл бұрын
Very useful video
@AshishVerma_Awesome
@AshishVerma_Awesome 8 жыл бұрын
in Diagram of GPIO Mode with Open drain Pullup you have written P instead of N correct that
@tamyboy1
@tamyboy1 6 жыл бұрын
thank your sir
@sanjubisanal7838
@sanjubisanal7838 8 жыл бұрын
good one...
@georgecoffeycomedy
@georgecoffeycomedy 4 жыл бұрын
This is not how you drive an LED. The LED should be connected from VCC, through an appropriate current limiting resistor and to the GPIO pin. It then DRAINS into the MCU. In the setup you show, the device would draw more current with the LED off, than with the LED on! That is not a good way to set this up.
@fargogemini694
@fargogemini694 5 жыл бұрын
What what what what what
Open Collectors and Pull-up Resistors
10:16
Vocademy - Electronics Technology
Рет қаралды 10 М.
I2C and SPI on a PCB Explained!
15:34
Altium Academy
Рет қаралды 161 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
Lecture 6: GPIO Output: Lighting up a LED
11:01
Embedded Systems and Deep Learning
Рет қаралды 50 М.
GPIO Ouput Mode with Open Drain state
5:54
Fastbit Embedded Brain Academy
Рет қаралды 7 М.
EEVblog #496 - What Is An FPGA?
37:44
EEVblog
Рет қаралды 775 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,4 МЛН
Latch Circuit - Wake up + 0 Power Consumption (useful circuit)
9:16
How GPIO works | General Purpose Input Output | GPIO Behind The Scene
5:52
Controller Area Network (CAN) programming Tutorial 10: bit wise bus arbitration animation
8:05
I2C introduction: The protocol
15:47
Texas Instruments
Рет қаралды 49 М.
EEVblog #635 - FPGA's Vs Microcontrollers
9:28
EEVblog
Рет қаралды 262 М.
How to work with Open Collector outputs
12:56
Making Stuff with Chris DeHut
Рет қаралды 9 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН