laptop pwm control using esp2866?

hello.
my friend gave me a esp2866 a long while ago for me to mess around with but since i have 0 knowledge of how it works and trying to research about it overwhealms me i kinda left it till i really need it
now my laptop pwm controller has gave up the ghost and now the fan spins at 9.5k rpm 24/7(sounds about as loud as it is)
now i am wondering. is it possible to use a esp2866 board as a pwm controller so i can tune down the rpm on the laptop fan to lets say a fixed 65~%?
the plan in my head is kinda like following
the fan is still gonna be powered by the laptop.
the yellow wire aka tacho meter wil be spliced so the motherboard and esp can sense what speed the fan is running to avoid bios errors and boot prevention
and the blue wire for pwm is gonna go to the esp2866 so it can be controlled somehow using magic code?

my laptop has no cd drive anymore so i have enough room to stuff the electronics under the casing
all i know is a 4 pin fan needs 25khz~ signal to beable to be controlled but again not 100% sure since i have dificulties understanding how this stuff works indepth.
i can solder so trying to source some capacitors or resistors from a old computer psu shouldnt be that hard

what stuff would i need to beable to achieve this?
maybe someone perhaps have already gotten code to just simply connect the blue wire to a gpio pin and run it from there?
i've tried googling about making your own diy pwm controller using both arduino stuff or manual circuits but there's just so much variation and such that i cant wrap my head around to what to do anymore.
all i want is the thing to shut up at this point :stuck_out_tongue:

thank you in advance for any info and help you can give me for this

Unless you have a lot of experience I reckon you are more likely to damage your laptop rather than fix the fan. Laptops were never designed to be DIY repairable.

How do you know the PWM controller has failed rather than the temperature sensor. or just a failed connection somewhere?

You could, perhaps attach an external fan that is powered and controlled completely independently of the laptop.

...R

Have you EVER blown the dust and lint out of your laptop? The fan runs fast because the processor senses it is too hot.

Paul

Paul_KD7HB:
Have you EVER blown the dust and lint out of your laptop? The fan runs fast because the processor senses it is too hot.

Yep. Never overlook the obvious!

...R