DIY "SMART" Fan Controller

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • In this video I will try to design and build my own fan controller and try to write the software to make it work as intended.
    I take no responsibility if you try anything I do!
    You can download my code and circuit diagrams here.
    www.dropbox.co...
    Useful links.
    Getting started with Raspberry Pi Pico
    projects.raspb...
    Code to control the fan on the RPI (not the pico)
    gist.github.co...
    Hans-Petter Halvorsen code for reading Thermistors
    halvorsen.blog...
    LCD code examples and much more
    www.rototron.i...
    How to install Blinka and PlatformDetect
    learn.adafruit...
    Adafruit_CircuitPython_CharLCD library and documentation
    github.com/ada...
    docs.circuitpy...
    Useful information on Character based LCD modules and how they work
    www.engineersg...
    www.dinceraydin...
    web.alfredstat...
    8Bit Guy videos about how to program the LCD's manually
    • How a Character LCD wo...
    • How a Character LCD Wo...
    • How a Character LCD Wo...

КОМЕНТАРІ • 17

  • @anemic66
    @anemic66 Рік тому +3

    Wow, that is an awesome little controller

  • @braindrainretrolan
    @braindrainretrolan Рік тому +3

    Nice build! Perfect for LAN Parties

  • @jannenilsson3627
    @jannenilsson3627 Рік тому +2

    Wow! That was a h_ll of a work! I am really impressed

  • @Skracken
    @Skracken Рік тому +2

    Riktigt coolt! Ville alltid ha en LCD till datorn back in the day, men det blev aldrig av

  • @Pickle136
    @Pickle136 Рік тому +2

    enjoyed watching your video of the design. Did you have any thoughts to add more controllers? I imagine it come down to gpio and cpu proc timing.

    •  Рік тому +2

      I did not run out of gpio pins so it should not be a problem to add a lot more fans, tough idk exactly how many it can do but 8 to 16 seems to be the limit when i googled but yea that I have not tested.
      If one wants feedback over ADC one might have to add a chip to multiplex that and that would use 2-3 GPIO pins but allow one to monitor more analog signals like fan voltage and control the fans that way.
      I mainly stooped at what I could fit on a single display because I was already on deep programing waters as it was.
      But a version 2.0 could have more fans and menus and stuff.
      idk how the code would react to more fans but I had no issue adding rpm reading for the second two fans once I had fixed the code to the point where it was expandable beyond the first fan.
      I want some form of feedback if I make a version 2.0.
      It could be Voltage so using ADC for the fans with a voltage divider per fan just like I did with the temp and 5V and 12V, fact the 12V rail resistors should work just fine.
      Or one could run all the fans at 100% duty cycle for a few seconds at boot, record the fan RPM for every fan.
      Once the fan controller knows the max rpm for every fan it should be fairly easy to use that variable with the fan profiles to just sett say 40% rpm at the lowest fans speed, 45% at the second lowest etc etc and have the fan controller change duty cycle to try and match the RPM target.
      A lot of things could be improved just in software and adding more fans should be fairly easy with small software changes.
      The limit here is mainly time and knowledge and money and the only thing I got is time it seems XD

    • @Pickle136
      @Pickle136 Рік тому

      @ yeah i imagine a button could cycle through each attached fan. thanks for the detailed response. Im thinking about putting this on my socket a athlon

  • @JendaLinda
    @JendaLinda Рік тому

    I've never seen HD44780 LCD module that requires negative voltage supply. Those run just from 5 Volts.

    •  Рік тому

      The contrast wont work properly without it from my testing.
      I have this version also, its 20x4 and from the same maker just smaller.
      You can check the data sheet here but its states 6.6V and negative voltage, no GND for the trimpot.
      www.telerex-europe.com/content/files/pdfs/productPdfs/POW/PC2004LRU-AWA-H-Q.pdf
      The problem is that I cant find the datasheet for the bigger 20x4 I have, seems so old there is no info on the internet on that one.
      LCM Driver Voltage is 6.6V for the smaller one tough and I got them from the same place so makes sens the bigger one needs it too.
      Test points are VDD and VO so to get 6.6V with 5V VDD you need negative voltage acording to the pdf and that is also shown page 13, I did show that in the video.
      The smaller 20x4 that I showed has the same contrast issue with 2 lines and 5V, it needs 6.6V for optimal contrast and that is achieved with negative voltage as the pdf seems to suggest.
      My LCD's are old, probably 20 years maybe more, got them from a fellow retro computer enthusiast that in turn collected them some where a LONG time ago back when we built LCD displays for the LPT port for our P4 and Athlon XP machines.
      But I read that negative voltage was a thing for the VO pin and contrast on some displays and the data sheet seems to say you need it.
      Feel free to check that data sheet. I might have missed something but they state 6.6V and Negative supply voltage and VDD is 5V.

  • @PROSTO4Tabal
    @PROSTO4Tabal Рік тому +2

    Can you build one for me as well please ?

    •  Рік тому +3

      I remember watching your YT video a few years ago upgrading the VRAM on a voodoo2!
      I liked that video!
      You dont want to put one together yourself?
      Schematics and code in the description, tough not great but a starting point at least.
      I would like to improve it and make it more compatible with a wider range of fans (need to add some feedback to make a control loop) and just work out some of the dumb code and HW design before I dare make any for other people.
      This one is basically a prototype/learning experience.

    • @PROSTO4Tabal
      @PROSTO4Tabal Рік тому +2

      THank you my friend. Sounds good to me. I had bad accident hand bones fracture and no longer good at soldering. Would be awesome to see follow up updated of this interesting project. I enjoy watching your videos. Thank you@

    •  Рік тому +1

      @@PROSTO4Tabal Would you prefer another 20x4 version or a simpler 16x2?
      I'm thinking a simpler one is cheap and easy with reduced parts and then make it bit more fan compatible.
      Generic version if you will for people to build.
      it's sad to hear that that you had an accident and it sucks losing abilities!
      Not to make it a contest or anything but I was gonna say in the video that I had eye sight issues and the glare is from the LED light on the visor with the magnifying glasses because I was suffering from double vision and heavy blur while making the video and it was the only way I could correct my vision enough to get anything done.
      But people dont want to here that and I cant change the fact that an illness is messing up my eyes faster then I can afford gear to compensate.
      We take our abilities for granted until we star losing them.
      I hope you get better!

  • @michealstokes1776
    @michealstokes1776 Рік тому

    *Promo SM*

  • @Sniperduden
    @Sniperduden Рік тому +1

    Would be nice with a parts list, annars ett coolt projekt. :)

    •  Рік тому +1

      ritningar fins i beskrivnigen nedan med alla värden så bara köpa hem från elfa, mouser eller conrad.
      Skärmar kan jag inte direkt ge en part list över då mina är antika men du kan köpa 4x20 skärmar lite överalt och dom fungerar i grunden lika dant.
      Köp en lcd skärm som ej kräver negative backligth så kan du rationalisera bort hela 555 timer delen och bara köra jord till kontrasten istället för negativ spänning.

    • @Sniperduden
      @Sniperduden Рік тому

      @ Låter kanon, skall kolla