Hi,
I am still a beginner and finally starting my first "real" project (in my very short free time). It is a small LED project, in which several LEDs are powered by a 9V battery and their brightness is controlled via an Arduino Uno and its 6 PWM pins switching the transistors.
I ordered the required parts, including the transistors. I chose MOSFET, because someone recommended those to me. I chose IRFZ24N (https://www.infineon.com/cms/en/product/power/mosfet/n-channel/irfz24n/) not 100% knowing, if these are appropriate.
OK, after many fails of using it, I found this video (in German) MOSFET RICHTIG ansteuern für Lüfterprojekt? Eigene Schaltung ausführlich erklärt | Arduino #6 - YouTube which mentions that N-channel transistors need to be used behind the consumer. In addition the pins and their use is different than I remember from my (more then two decades ago) physic lessons.
Applying this to my early prototype on the breadboard, I got the LEDs finally blinking and can not continue.
Although I know now, how to use the MOSFET, I am curious, WHY I have to use it this way.
More concrete questions:
- Why does the location in the circuit makes such a difference
- I places if initially before the LEDs and had unexpected results
- Is MOSFET right here?
- What other transistor types would also be possible? Do these have advantages
- MOSFETs have the cooling part. Is it somehow getting dangerous? Under which conditions do I expect a significant heat and could this even cause fire?
- Will other transistor types will also get hot?
- When should I chose N-channel over P-channel?