2022-03-05 09:25 PM
Really new to programming these boards, and part of my project is to turn on/off these DC fans . I don't want to add any hardware to incorporate a switch, and was wondering if there was a way to program one of the power pins to be enabled or disabled so that the fans turn on and off strictly through Keil when a certain event happens. Haven't been able to find much about it online, any help is greatly appreciated.
2022-03-06 06:50 AM
Simple reply no.
Maybe when your DC fan current meet for example 60mA , you can control it with GPIO one or more...
2022-03-06 08:07 AM
Generally, DC fans require more current (and voltage) than a GPIO pin can provide. Depends on the fan.