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.

Комментарии • 66

  • @joemama-js6hv
    @joemama-js6hv 5 лет назад +13

    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!

    • @Tyrone-Ward
      @Tyrone-Ward 2 года назад +1

      The use of a transistor, a diode, and a resistor would be my guess to the dislikes. They seem unnecessary.

    • @im_Polyhedrons
      @im_Polyhedrons 2 года назад

      your comment makes me nostalgic for a simpler time, when youtubers could choose to display dislikes.

  • @LeslieLanagan
    @LeslieLanagan 4 года назад +2

    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.

  • @CJICantLie
    @CJICantLie 7 лет назад +4

    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.

  • @bucketofampz
    @bucketofampz 6 лет назад +11

    would love to see the finished product, and how you packaged everything together

  • @GautamKumar-cr7tw
    @GautamKumar-cr7tw 5 лет назад +2

    Now this guy paid attention in his Basic Electrical Class.. Nice

  • @brucelytle1144
    @brucelytle1144 Год назад

    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.

  • @adifoto6362
    @adifoto6362 7 лет назад +3

    Thanks for sharing. i was looking for a way to control my fan.

  • @wallrunner87
    @wallrunner87 7 лет назад +4

    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.

    • @enwi
      @enwi  7 лет назад

      +robert wall That's a great idea.

  • @tractorman7733
    @tractorman7733 7 лет назад +2

    GREAT VIDEO!!!! this is helping me w/ my own pi build ( i started before i found this series )

  • @christiangabor192
    @christiangabor192 5 лет назад

    That ad hoc soldering job at 7:22 with the diode killed me . You could use a tiny protoboard for $1-2 off amazon.

  • @patcallahan1050
    @patcallahan1050 6 лет назад +1

    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....

    • @enwi
      @enwi  6 лет назад +1

      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.

    • @enwi
      @enwi  6 лет назад +1

      +Thomas Terry Yeah, a breadboard is always a good start for prototyping.

  • @pavelperina7629
    @pavelperina7629 2 года назад +1

    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)

  • @troyguinn303
    @troyguinn303 6 лет назад +1

    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.

  • @mirceasabau5973
    @mirceasabau5973 7 лет назад +1

    Great video ! This will help me with my Raspberry Pi Minecraft Server . Thanks for your ideea!

  • @robertlucas6426
    @robertlucas6426 6 лет назад +6

    You should have used a small piece of breadboardfor the transistor circuit .

  • @frixostheodoulou4866
    @frixostheodoulou4866 5 лет назад +1

    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.

    • @enwi
      @enwi  5 лет назад +1

      Thanks for the info, I have updated the script :)

    • @frixostheodoulou4866
      @frixostheodoulou4866 5 лет назад

      @@enwi Great job on the project!! Congrats!!

  • @StefTheBoy
    @StefTheBoy 5 лет назад

    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

  • @MrBobWareham
    @MrBobWareham 3 года назад

    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

  • @poiiihy
    @poiiihy 5 лет назад

    first time i found 2x speed useful

  • @ohmlord
    @ohmlord 7 лет назад +1

    Good job mate! Great video

  • @maninderjeetsingh4595
    @maninderjeetsingh4595 6 лет назад +1

    Good

  • @TetraChannel
    @TetraChannel 6 лет назад

    what type of diode are you using?

  • @aerandir1414
    @aerandir1414 6 лет назад +1

    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 😊

    • @enwi
      @enwi  6 лет назад +1

      +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.

  • @e1woqf
    @e1woqf 6 лет назад +2

    Adjusting the 5V voltage while the pi is connected to it is not a good idea

    • @enwi
      @enwi  6 лет назад

      You're correct, forgot to say that, but actually mentioned it in another vid.

  • @MasaScrabble
    @MasaScrabble 5 лет назад

    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?

  • @redforgaming799
    @redforgaming799 5 лет назад

    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.

    • @enwi
      @enwi  5 лет назад

      Depending on what fans you have that can be quite challenging

    • @redforgaming799
      @redforgaming799 5 лет назад

      ​@@enwi it's fractal design silent r3 50mm 3-pin fan header

    • @enwi
      @enwi  5 лет назад

      So I think you will have to control them with PWM

  • @coryj7728
    @coryj7728 6 лет назад +1

    Anyone else notice at 15:50 it said pre-failure and old age of the drive

    • @poiiihy
      @poiiihy 5 лет назад

      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.

  • @cris_crafter
    @cris_crafter 6 лет назад

    Ich hätte es auf einer kleinen lochraster Platine gelötet. Trotzdem cooles Video! ;)

  • @sahebdin1
    @sahebdin1 3 года назад

    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,

    • @enwi
      @enwi  3 года назад

      Yeah that should work fine

    • @sahebdin1
      @sahebdin1 3 года назад

      @@enwi Thanks for your quick return,

    • @sahebdin1
      @sahebdin1 3 года назад

      @@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 :))

    • @enwi
      @enwi  3 года назад

      Correct

  • @typingcat
    @typingcat 4 года назад

    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...

  • @rodrigo6459
    @rodrigo6459 4 года назад

    Done with a breadboard would have been a LOT cleaner to understand...

  • @toni0034
    @toni0034 6 лет назад

    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)

  • @midimike72
    @midimike72 5 лет назад

    A small breadboard would better. I would scared for my Pi and the hard drive...

  • @mdd0x262
    @mdd0x262 6 лет назад

    why hard drive

  • @0u1s4e7r0
    @0u1s4e7r0 6 лет назад

    Was studierst du?

    • @enwi
      @enwi  6 лет назад

      Informatik

    • @0u1s4e7r0
      @0u1s4e7r0 6 лет назад

      enwi das möchte ich auch später

    • @enwi
      @enwi  6 лет назад

      Dual oder normal?

    • @0u1s4e7r0
      @0u1s4e7r0 6 лет назад

      enwi weiß ich noch nicht, ist aber noch hin, bis ich das wissen muss...

    • @enwi
      @enwi  6 лет назад

      Also ich studiere dual und kann es nur empfehlen ;)

  • @381delirius
    @381delirius 6 лет назад

    music?

    • @enwi
      @enwi  6 лет назад

      +Quentin Upshaw slide - silent partner

    • @381delirius
      @381delirius 6 лет назад

      enwi thanks

  • @DrWilliamHobbs
    @DrWilliamHobbs 6 лет назад +1

    Man hört voll raus, dass du Deutsch sprichst. :D

  • @techmodderaryan
    @techmodderaryan 6 лет назад

    Where do you live

    • @enwi
      @enwi  6 лет назад

      +TechModer aryan In Germany

    • @techmodderaryan
      @techmodderaryan 6 лет назад +2

      enwi I live in india

  • @lukasoliver5223
    @lukasoliver5223 5 лет назад

    Junge, wenn du überhaupt kein Englisch kannst, und somit nach jeder 2ten Sekunde nen Cut setzt mach die Kacke doch einfach auf Deutsch!