Two Wire (black and white wire) Fan which i took out from my cooling pad controlled via USB power
Specification on the box of cooling pad:
i) Voltage 5V DC
ii) Fan Speed(adjustable) 750-1500rpm
iii) Power Input 2W
iv) Curent: 0.4(MAX)
So here are my questions:
Can i connect my fan to my board because it is 5V and esp-32 can provide 5V
How i will connect two wires of fan with my esp32 board
NOT directly (even if it is a low current fan), use a transistor/mosfet circuit (Google for that)
See #1
Most likely PWM will work with the proper circuit. But for that in the ESP32 you need to use some different code as the ESP32 Arduino Core doesn’t support analogWrite() yet. Check out this link for a bit more info…
Thanks for your help.
I googled to use transistor with my fan and i think it is idea of some kind of switch and i have to provide external power source.
So how i will connect these 4 things
The physical hookup is not what we teach here in the forum… the Internet for full of actual tutorials for that.
Besides, the actual controlling code will not be Blynk itself, rather … well Arduino code similar to what I have shown… then once you know that it all works with your code, then Blynk can be added in for the GUI interface… that part we can help teach.