Hello everyone.
I'm stuck with something that feels very easy but that, in fact, destroys my mind.
I got a 24V power input. I want to modulate it to a 0-24V output, with an ESP32 microcontroller.
I can have a Pin going from 0 to 3.3V.
What i try to achieve is :
- When my Pin is 0V, my power output is 0V.
- When my Pin is 3.3V, my power output is 24V.
I've tried IRL540N transistor and a bunch of others, but for reasons i don't achieve this result. For now i can go from 0 to 2.2V, which is weird, compared to the datasheets.
Someone could please put me on the right way, right documentation/wiki so i get to understand where i get it wrong and how to achieve it ?
Thanks a lot !
snolahc
I'm stuck with something that feels very easy but that, in fact, destroys my mind.
I got a 24V power input. I want to modulate it to a 0-24V output, with an ESP32 microcontroller.
I can have a Pin going from 0 to 3.3V.
What i try to achieve is :
- When my Pin is 0V, my power output is 0V.
- When my Pin is 3.3V, my power output is 24V.
I've tried IRL540N transistor and a bunch of others, but for reasons i don't achieve this result. For now i can go from 0 to 2.2V, which is weird, compared to the datasheets.
Someone could please put me on the right way, right documentation/wiki so i get to understand where i get it wrong and how to achieve it ?
Thanks a lot !
snolahc