🔶 Temperature & Humidity Control Unit Using a Raspberry Pi Pico

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.ค. 2024
  • Temperature & Humidity Control Unit Using a Raspberry Pi Pico
    ======================================
    Altium Designer + License (Free): www.altium.com/yt/myvanitar
    OctoPart: octopart.com
    ======================================
    Article: www.pcbway.com/blog/technolog...
    ======================================
    Raspberry Pi Pico is a cute piece of hardware. It is equipped with a powerful dual-core RP2040 microcontroller that offers 2M (up to 16M) Flash and 264K SRAM memories. Such specifications make it suitable for a variety of hobby and industrial applications.
    In this article/video, I used a Pico board, a digital SHTC3 sensor, and a 2.4” colorful TFT display to build a graphical temperature and humidity measurement/control unit that can be used to monitor the home, workplace, indoor garden, devices … etc. The board was also equipped with two Relays that allow the user to set the cooling/heating limits and adjust the parameters in the GUI (HMI).
    The trickiest part of this project was the Pico code. I used the Pico C/C++ SDK library and invested a significant amount of time in designing the GUI and debugging the code. I should confess it was not an easy task.
    To design the schematic and PCB, I used Altium designer 22 and installed the missing component libraries using Altium’s manufacturer part search. By using the Octopart website, I was able to quickly gather the necessary component information and generate the BOM. Finally, to get high-quality fabricated boards, I sent the Gerber files to PCBWay.
    It's a cool piece of hardware for anyone, so let’s get started :-)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @MrBobWareham
    @MrBobWareham 9 หลายเดือนก่อน

    That looks very nice with the display, so I have joined your channel to see what other projects you do, Thanks Bob in the UK.

    • @MyVanitar
      @MyVanitar  9 หลายเดือนก่อน

      Thanks and welcome

  • @user-wf7yp9ph3h
    @user-wf7yp9ph3h 9 หลายเดือนก่อน

    What would I need to do to have this plug-n-play ready for controlling roll-up doors in our walnut dryer? I'd need to experiment to see if I'd need to establish a temp range (maybe a minimum?), but the most important thing I'd like to do is read humidity up towards the ceiling of our dryer building, inside the dryer plenum, and automatically and incrementally close the doors as humidity drops below 40%. This allows for greater efficiency and lower dry times during harvest. I'm assuming the relays could trigger the 'up' 'down' 'stop' commands of an electric opener.

    • @MyVanitar
      @MyVanitar  9 หลายเดือนก่อน

      Here, my assumption is ON/OFF for the heater and humidifier/dehumidifier. using a PID or similar might not be necessary. instead, I put a tolerance for variations. so the device won't stick in an ON/OFF cycle too much.

  • @sighyawn54
    @sighyawn54 ปีที่แล้ว

    This is awesome, this is exactly what I want to learn how to do.
    Im watching your other video with the component that has 4 relays for temperature (2) Humidity (1) and Lighting (1)
    this is a great component, i really need to learn more about this, how did you learn to design this?
    1 question, how do you control while also providing electricity to each appliance, the heating/cooling, humidifier, and Lighting?

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      how to learn? the answer is when you find a practical and true resource to learn, stay with it, invest time, and practice. From TH-cam analytics, I see how some people behave. mostly looking to pass their coursework, they watch for 2 minutes and leave. So it is pretty easy to stay above the crowd. For your second question, you must wire each relay as a switch to your load, doesn't matter what voltage your load has, that's it.

  • @miquelmarti6537
    @miquelmarti6537 8 หลายเดือนก่อน

    Could you set the target humidity depending on the temperature? That would be very useful to control the humidifier from a drying room without the need to install an air conditioner. For ex, 40%, 17-19º->50%, >19º->60%

    • @MyVanitar
      @MyVanitar  8 หลายเดือนก่อน

      if I remember correctly, for this project temperature and humidity are controlled independently. By the way, each customer might have a different requirement. if you want a standalone device for yourself or production, pls send me an email

  • @sighyawn54
    @sighyawn54 ปีที่แล้ว

    with a relay do you have to connect the positive from the source of power (for a component [like a power supply]) and the positive of the component itself?

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      Please check the article

  • @IvanEng747
    @IvanEng747 ปีที่แล้ว +1

    An interesting project.
    Tell me, what display are you using and how do you understand the connection is 8 bit parallel?
    But for some reason, the display of graphics is very slow, like a pico microcontroller 133 megahertz, but the image slows down.

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      This was my first test, The connection type is SPI, I had set the SPI clock speed to something low. otherwise it can be much faster with a small change in the SPI clock. Check the article for more details regarding the LCD and Circuit.

    • @IvanEng747
      @IvanEng747 ปีที่แล้ว

      @@MyVanitar are you use logical analyzer?
      You will may see speed of serial interface.
      I think you activate and uses software SPI.
      Very very low drawing image 😞

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      don't you have any comment except this?! I told you I have fixed this, although it's not that much low at all. I know what I'm doing. if you have any other comments, you are welcome to ask

  • @MosheLeizer
    @MosheLeizer ปีที่แล้ว

    Hi, do you plan to publish the code? It will Be very instructing and will help understanding this fine and professionaly built project.

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      unfortunately, the code is not free and the reason is clear

    • @mohammadalhasan4253
      @mohammadalhasan4253 ปีที่แล้ว +1

      ​@@MyVanitar is it for sale? as a final product? I have a clear market for it.
      A solar air heater is sold with a mechanical thermostat and a 12v fan powered by a small ~30w imbeded photovoltiac panel.
      The concept is briliant and works perfectly for our climate but it lacks a critical feature that your device can solve. the panels I plan to control are 300-500€ with available controllers sold 100-200€ but they don't provide the value they promise.
      What do you think?

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว +1

      @@mohammadalhasan4253 Hello, what you see in the video and article works as it is, the above comment asked for the source code. however for commercial product and business talks, please send me an Email directly. Just go to the About section of the channel and there you can find the contact info

    • @MrTechGadget
      @MrTechGadget ปีที่แล้ว

      I am not clear on the reason, can you explain?

    • @frankhovis
      @frankhovis 7 หลายเดือนก่อน

      @@MrTechGadget He's probably not wrote any software that actually works properly. It seems VERY slow updating the display.

  • @hp2073
    @hp2073 ปีที่แล้ว +1

    wow, this is an advanced project. an HMI

  • @achalasamapriya2701
    @achalasamapriya2701 ปีที่แล้ว

    will the code be opensource ??

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      Did you check the article?

    • @achalasamapriya2701
      @achalasamapriya2701 ปีที่แล้ว

      @@MyVanitar yes. but i didn't find the source. only the uf2 file

    • @MyVanitar
      @MyVanitar  ปีที่แล้ว

      source code is not free and the reason is clear