I want to control a solenoid with a MOSFET (IRLB8721, Logic-Level). This works perfectly fine on Pin 8, but not on Pins 9-13. Why?
The Gate is directly driven by a IO pin from the Arduino, with a pulldown resistor (10k) to GND.
Can the Arduino provide less current on pins 9-13? I don't undestand this behavior.
Datasheet of MOSFET: https://www.infineon.com/assets/row/public/documents/24/49/infineon-irlb8721-datasheet-en.pdf?
Schematic:
Oh. I just found the error: only pin 8 was classified as Output. So the other just activated the internal pullup. Yeah, no wonder it did not work.
But Thanks! You made me look closely at my code again!