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)
@zetaconvex19873 жыл бұрын
Thanks for that. It's the first really good explanation of open drain output that I've seen.
@Derlis_Jara2 жыл бұрын
short and clear explanation. thanks a lot greattings from Argentina..
@edinhthong51397 жыл бұрын
when we output "1" state it means that it output "0" to the nmos transistor ? as always
@victorzedwings5 жыл бұрын
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?
@leesimon855 жыл бұрын
If set R enough large, current will reduce, the R does not burn. I hope you can understanding.
@jimedgar67892 ай бұрын
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...
@theabhi5hek6 жыл бұрын
Hi sir, Is there any advantage of using this configuration over normal configuration?
@kecko32945 жыл бұрын
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_Awesome8 жыл бұрын
can you please share your udemy course link i am interested and how much it cost
@Fatimarajab5345 жыл бұрын
Thanks for this
@wassimz984 жыл бұрын
Very useful video
@AshishVerma_Awesome8 жыл бұрын
in Diagram of GPIO Mode with Open drain Pullup you have written P instead of N correct that
@tamyboy16 жыл бұрын
thank your sir
@sanjubisanal78388 жыл бұрын
good one...
@georgecoffeycomedy4 жыл бұрын
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.