I have a case fan connected to GPIO. When Tinkerboard sleeps, the fan keeps running. How to configure Tinkerboard to power off GPIO when it sleeps? Thanks.
(11-10-2018, 04:38 PM)qaplus Wrote: [ -> ]I have a case fan connected to GPIO. When Tinkerboard sleeps, the fan keeps running. How to configure Tinkerboard to power off GPIO when it sleeps? Thanks.
May I know
1. what image version do you use ?
2. what do you mean sleep ? suspend to RAM ?
3. what is your system power source ? power from micro usb or power from GPIO?
4. The fan power is provided by which GPIO (VCC_5V or VCC_3.3V)?
5. Except for VCC, GND, is there any other pin?
When issuing the poweroff command, the 3.3 V will be off. I doubt it is possible to supply a fan directly from a GPIO port, which will be at low state when the system is ordered to power off.
If the fan is powered by 5 Volts, then there's a
discussion on the forum, which is good to read.
Well in every forum there's a suggestion to search before open a new discussion.
1. I'm using TinkerOS 2.07.
2. Yes, suspend to RAM. Monitor turns off autumatically, but fan keeps running.
3. powered via micro usb
4. fan is powered by VCC 3.3V
5. only VCC and GND are connected.
Thanks!
(11-12-2018, 02:46 AM)jamess Wrote: [ -> ] (11-10-2018, 04:38 PM)qaplus Wrote: [ -> ]I have a case fan connected to GPIO. When Tinkerboard sleeps, the fan keeps running. How to configure Tinkerboard to power off GPIO when it sleeps? Thanks.
May I know
1. what image version do you use ?
2. what do you mean sleep ? suspend to RAM ?
3. what is your system power source ? power from micro usb or power from GPIO?
4. The fan power is provided by which GPIO (VCC_5V or VCC_3.3V)?
5. Except for VCC, GND, is there any other pin?
(11-12-2018, 05:20 AM)Im4Tinker Wrote: [ -> ]When issuing the poweroff command, the 3.3 V will be off. I doubt it is possible to supply a fan directly from a GPIO port, which will be at low state when the system is ordered to power off.
If the fan is powered by 5 Volts, then there's a discussion on the forum, which is good to read.
Well in every forum there's a suggestion to search before open a new discussion.
The fan does turn off if I shutdown TinkerOS. I'd like to see if fan can be turned off when TinkerOS enters sleep mode.
I noticed that the 3.3 V goes low, only when there's a poweroff command, I don't know anything about suspend. For such case you could find that it will remain high, which is understandable because any peripheral connected should be able to keep in a low state but powered.
If you plan to control your fan, then it might be through a PWM output and a bit of skill to configure the PM settings.
Then with the help of that device (on the other discussion) you may have a better performance for your fan. Even a brutal fan shutdown could cause problems to the system that is not able to dissipate heat.