How to connect the fan to nRF52840

Hello everyone.

I am going to do a project recently. We are using dht22 to transmit temperature and humidity, and use temperature values ​​to control LEDs.

This project has been completed, but we plan to change the LEDs into fans.

What should I do?

As shown in the picture, How do I connect this fan to the nrf52840?

Thank you!

Related