Ultimate Raspberry Pi Build #05 - Cooling the Pi with a 12V PC fan
HTML-код
- Опубликовано: 10 сен 2024
- In this video we are going to control a 12V PC fan with a transistor to cool down the Raspberry Pi and PiDrive. For that I wrote a little program that you can find here in the comments.
If you have any questions or suggestions, please leave a comment. Also if you like these videos consider subscribing for more and don't forget to like.
Fan control script - gist.github.co...
Update script - gist.github.co...
Pc fan
- amzn.to/3nJn1Xh
- www.xilence.de/...
For latest updates follow me on:
Instagram - / en_wi
Twitter - / enwilab
Or join my Discord server - / discord
Support me with Amazon. Just click on this Amazon Affiliate link before shopping: www.amazon.de/.... This will not cost you anything, but you can help my channel.
I dont understand the dislikes here. Maybe it's not the most amazing and difficult project of all, but I think your videos are easy to understand and very professional. Please upload soon!
The use of a transistor, a diode, and a resistor would be my guess to the dislikes. They seem unnecessary.
your comment makes me nostalgic for a simpler time, when youtubers could choose to display dislikes.
I have never seen anyone more deserving of the t-shirt that says "Go Away or I Shall Replace You With a Very Small Shell Script." :P~~~ Your videos are so calming and informative. Love them.
Great idea with the shrink wrap on the alligator clips of the helping hands. I always hated how they would pinch/crimp wires they were holding.
would love to see the finished product, and how you packaged everything together
Now this guy paid attention in his Basic Electrical Class.. Nice
I've been using this circuit, but wrote a small program in C, to control the fan with a PID controlled PWM signal to the fan. It keeps the CPU to +- .5°C set to control @ 55C. Quiet fan.
Thanks for sharing. i was looking for a way to control my fan.
Have you considered using PWM to control the fan more granularity? You could also use the sense wire from the fan to check the fan speed to detect if the fan dies.
+robert wall That's a great idea.
GREAT VIDEO!!!! this is helping me w/ my own pi build ( i started before i found this series )
That ad hoc soldering job at 7:22 with the diode killed me . You could use a tiny protoboard for $1-2 off amazon.
I would solder stand-offs on the various boards and fan circuit to a breadboard. Then have wire connections on the breadboard. The fan controller, power regulator, etc. are all in one neat package. Or, instead of a breadboard, use a prototyping hat that'll plug right onto the pi. Also, there's expandability: RTC circuit, GPIO breakout, UPS with battery, RS-232 maybe....
That's a good idea, I already thought about that, but I have something different in mind. The channel announcement beeing a clue to that.
+Thomas Terry Yeah, a breadboard is always a good start for prototyping.
Ok. I expected PWM control, but it's informative at least. I also miss logic behind selecting resistor value and transistor, cause last time i've build something, I spend a few hours selecting proper P-MOS to switch ... i don't know what, I think 5V by 3.3V or something like that. I think I needed to disconnect SPI SD card reader from 5V.
By the way another way how to control fan speed is using transistor as a serial variable resistor, it's easy, but that semi-open transistor gets pretty hot and when you connect three fans in parallel to it, it will overheat and fail (now I'm not sure if Rasberry has integrated DAC to adjust control voltage)
Awesome video; top notch production quality and VERY professional level electronics work. One bit of constructive criticism though; couldn't this process be slightly simplified by using say.. an old desktop PC CPU fan? Or does the pi not have the ability to detect fan speeds in relation to chip temperatures without additional software? Forgive me if my question is a bit basic, I'm fairly new at building/modifying PC's.
Great video ! This will help me with my Raspberry Pi Minecraft Server . Thanks for your ideea!
You should have used a small piece of breadboardfor the transistor circuit .
There is a typo on the fan control script. At line 24 of the fan_control.sh the variable fanstate should be fan_state (fanstate=0 --> fan_state=0). @Op please submit a revised version on github! hope I could be of help.
Thanks for the info, I have updated the script :)
@@enwi Great job on the project!! Congrats!!
hi, kannst du mir dein script für die pwm steuerung zukommen lassen. will später die fans mittels sonoff tm16 über die max bzw min temp steuern... bin leider noch nicht so on der materie
I hope you fitted a Zener clamping diode across the py input to protect if your buck fails? I think I would have used a 5 volt fan
first time i found 2x speed useful
Good job mate! Great video
Good
what type of diode are you using?
Great video, I did the same with the 5v fan that was on the RPi case I bought and didn't find tutorials about it when I did it.
I have a question, the red wire on the fan is VCC (12V) and the yellow wire is the speed sensor signal? On molex, yellow wire is 12V and red wire is 5V so I got a bit confused on the colors 😊
+Maxence Leduc If it's a PC fan the standard color codes for the fan wires are black GND, red 12V and yellow RPM. But you are correct the color codes of a PCs power supply differ. There red is 5V and yellow is 12V.
Adjusting the 5V voltage while the pi is connected to it is not a good idea
You're correct, forgot to say that, but actually mentioned it in another vid.
Geiles Video, die Lüftersteuerung hätte ich gerne für mein GeeekPi Retroflag MEGAPi Case. Weist zu zufällig welchen GPIO pins die da zugeweiesen sind?
Enwi i have 4 12V fans and i want to control them but only the Rpm Can you please help me i can't find anyone else to ask then you.
Depending on what fans you have that can be quite challenging
@@enwi it's fractal design silent r3 50mm 3-pin fan header
So I think you will have to control them with PWM
Anyone else notice at 15:50 it said pre-failure and old age of the drive
Gamer Guy those are the types of the attributes; they don't mean the hard drive is old or failing unless their value exceeds their threshold.
Ich hätte es auf einer kleinen lochraster Platine gelötet. Trotzdem cooles Video! ;)
enwi, thanks a lot for your videos, it helps a lot. I would like to know if I can use a NPN 2N2222 A instead of a NPN 2N2222 ? thanks for your return,
Yeah that should work fine
@@enwi Thanks for your quick return,
@@enwi Firstly thanks for your incredible video, just to add a little information ;
The 0V need to be common with the 0V (GND) Raspberry. In my case i've used a separate12v adaptator, so the 0V of the adaptator need to be common with the 0V (GND) of the Raspberry.
Thanks for all :) and keep it up :))
Correct
I was wondering if I could save money by using a spare PC case fan for RP, but heck no. I would rather pay for a pre-made RP cooler than doing all these...
Done with a breadboard would have been a LOT cleaner to understand...
oh damn, I have the same 'third hand' (or whatever its real name is) and I did the same thing and put shrink tube on the alligator thingys (again, idk the real name xd)
A small breadboard would better. I would scared for my Pi and the hard drive...
why hard drive
Was studierst du?
Informatik
enwi das möchte ich auch später
Dual oder normal?
enwi weiß ich noch nicht, ist aber noch hin, bis ich das wissen muss...
Also ich studiere dual und kann es nur empfehlen ;)
music?
+Quentin Upshaw slide - silent partner
enwi thanks
Man hört voll raus, dass du Deutsch sprichst. :D
hhaahhahah
Where do you live
+TechModer aryan In Germany
enwi I live in india
Junge, wenn du überhaupt kein Englisch kannst, und somit nach jeder 2ten Sekunde nen Cut setzt mach die Kacke doch einfach auf Deutsch!