I got a servo connected to a wemos/arduino with a capacitor(470uf). Before I didn`t use a cap.
Now with the cap the device use to much power while sleeping(capacitor on the servo). I want to switch off the power to the servo with a MOSFET. I tried this with a BS170 N channel MOSFET. There is a youtube movie with the same settings except for the mainboard. They use an Arduino uno instead a wemos.
When I test the circuit with a led everything is working. When I use a servo instead a led, nothing happen. There is a little sound from the servo(I think not enough voltage).
When I check the voltage without anything hooked on the drain of the mosfet the output is perfect(5V). If I connect a led or a servo the voltage will drop to 3v.
Wemos mini pro has 3.3v output on the gpio pins.
Can someone explain me what I doing wrong? I saw and read some articles about Mosfet. I think it`s not clear enough for me.