The motor of the Xiaomi air purifier is speed-regulated by a 24V clock signal. The computer fan is 12v pwm speed adjustable. Therefore, the motherboard cannot directly drive the Xiaomi fan.
This control board uses ATX power supply 4pin power input 12V, and generates 24V through the boost module to feed the Xiaomi fan motor.
Use ESP32 to read the 12v voltage of the ATX power supply to determine whether the computer is turned on.
Read the pwm signal from the motherboard fan interface through ESP32 and convert it into a clock signal to control the Xiaomi fan speed.
The Xiaomi fan speed is obtained through the ESP32 external interrupt, converted and sent to the motherboard fan interface. (Xiaomi fans are 12-pole brushless motors, and ordinary case fans are 4-poles, so conversion is required)
Obtain the hardware data sent by aida64 through the USB serial port through ESP32 and display it on the screen of Xiaomi 2S.
Establish HTTP service through ESP32 to view computer information on the web and remotely control computer switches.
Connect to the third-party IoT platform through ESP32 to connect with Xiaoai classmates.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet