PID controlled Noctua PWM fan Clock| Learn how to control a PWM fan with an Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2023
  • Use a Noctua pc fan to drive a seven-segment clock!
    In this video, I show a clock whose heartbeat comes from a PID-controlled Noctua fan.
    It's a Noctua NF-A4x10 5v PWM fan.
    We use 2 Atmega328p microcontrollers. One 328 to control the fan speed very accurately with PID algorithm and one 328 to drive an OLED screen which shows an RPM gauge and the setpoint of the fan.
    The seven-segment display is driven by a MAX7219 IC and is controlled by an ATtiny85.
    All is mounted on a PCB and it's fun to watch and play with.
    In the link below you can also find the code for the three microcontrollers on the PCB and stand-alone code to use your Arduino NANO to control a PWM PC fan with PID (minimal parts and easy code).
    I hope this video inspires you to make your own unique devices and that you learn something new!
    Link for all the code: github.com/Rudolf-B/PID-Atmega
    The PID.V2 lib: www.arduino.cc/reference/en/l...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2

  • @isaacclark9825
    @isaacclark9825 10 หลายเดือนก่อน +1

    One cannot help but notice that there is a precise time standard on board that could easily be used instead of the Rube Goldberg method of using the real-time clock to measure motor speed, so that you can try to regulate an inherently unstable source of rotation. The microcontrollers also have their own precision oscillators.
    Okay. I am being silly. Learning about PID is the goal here. Nice lesson

    • @Rudolf-B
      @Rudolf-B  10 หลายเดือนก่อน +1

      You caught me red-handed with my Rube Goldberg motor speed measurement technique! 😄
      It is a little silly device. But it is the feeling and thought that there is so much action going on to just display the time that makes it oddly satisfying to watch while playing around with the fan speed and watching it recover!
      And for the RTC, I just wanted to give him a chance to shine and feel important!🏆
      More crazy (but useful) PCB’s are on the way!
      Thanks for watching!