snowbody post at 2015-12-28 19:10:51

temperature controlled cooling fan OPIPC OK

The orange pi PC gets warm and sometimes very hot.
I solved this partly by placing a cooling-fin on the Alwinner H3.

I read on the forum the very helpfull and instructive remarks from tkaiser (bronco).
Basically he advises to not use the highest frequency and voltage by modifying the script.bin file.

However, I'm tinkering with software-defined-radio which is very CPU hungry, so I ordered a fan.
--> High Quality ! Raspberry PI Fan DC 5V 0.13A Cooling Fan for Raspberry Pi Model B+/B Mini Active Cooling Fan

This fan has a 5V connector and is always active and noisy....
Since you can measure the temperature of the chip, why not make use of it?

I used an ULN2003 chip(which was part of5V 4-Phase Stepper Step Motor + Driver Board ULN2003 for Arduino) to interface the GPIO-pin (pa16).
I reckon a simple transistor would do, but I do not have a large stock of supplies
I suspect the GPIO Pins are not able to deal with electro-motors, hence the interface.

I wrote a script (included) which reads the temperature and once >50 degrees it switches on the GPIOPIN, and thus the fan.
It's a c-script which needs to be compiled (see top of script for howto). Mind you I'm not a programmer..., but you may improve it:)
You need to have wiringOP installed.
You need to place the compiled script in the crontab. (crontab -e)
* * * * * /usr/bin/readit (this way it gets executed every minute)

snowbody post at 2016-1-7 00:31:22

In the script I use PIN 16.

I did # gpio readall

there you see at connector pin 40 wiringpi number 16.

Since I use wiringpi in the program, this makes sense

tgenc post at 2016-3-8 15:43:06

hi snowbody.
firstly thank you to for the solution. my recommendation is, add timestamp and cpu heat to /var/log/temp file for trend analysis.

snowbody post at 2016-3-9 17:47:22

@jps I really like your solution! simple and effective

I did install armbiam which solves much of the heating issues.

I applied PWM on the ventilator (see post about PWM for example script)
With data = (0x000E000A) it stilll starts up and spins smoothly with no noise.
With data =   (0x000E000E) it is full throttle.

A good programmer could easily create a beautifull script that varies between those values according to cooling need (temperature)

The only disadvantage is when shutting down, the register gets reset and the ventilator spins full throttle :(                        

strumbol post at 2016-6-17 16:31:51

snowbody replied at 2016-3-9 17:47
@jps I really like your solution! simple and effective

I did install armbiam which solves much of t ...

Hi, I modified your "C" program to read another output pin with 5V, and I connected the fan there. The problem is always going full speed and do not know how to make it stop, or not obey the shutdown pin.
Could you tell me how you did you?

Thank you!

Jina post at 2024-7-5 06:03:16

The decision to get the most out of your equipment forces you to go beyond the standards. I typically strive to make my computer as quiet and efficient as possible, especially when it comes to gaming and utility tasks. After careful inspection, I decided to install a liquid-cooled gadget. Thanks to certain instructions and support from specialists of the online platform where I bought liquid nitrogen cooling for pc everything became simple and clear. After installation, the processor began to work more stable, the temperature dropped and the computer became almost silent.

monkawlac post at 2026-2-5 04:15:42

So, I was slowly putting money aside for a high-end espresso machine, watching the total crawl upwards. A series of tiny, insignificant returns made the goal feel miles away. Out of sheer impatience, I placed one larger bet on Blood Suckers and the bonus game unlocked a payout that sorted it out right away. Having a site that's properly tailored for players from the United Kingdom means fewer hassles with transactions. My spot for this is spinking, which I found through a forum, and its reliability and game fairness are top-notch. That win perked up my mornings for good. Definitely worth a look if your savings target feels like a distant dream.
page: [1]
View full version: temperature controlled cooling fan OPIPC OK