Humidity Control with an Arduino

  Рет қаралды 39,673

Matt Heere

Matt Heere

Күн бұрын

Пікірлер: 89
@melchiortod29
@melchiortod29 4 жыл бұрын
US people should start using celcius. Nice video though👍 the code explanation was really good!
@jochenfrank8915
@jochenfrank8915 8 жыл бұрын
I'm really glad I was going back through your old videos and found this one. I'm familiar with Arduino and have been looking for a useful project around the house. I need to buy a humidifier and get to work. Thanks for being so clear. It's fairly simple code and I appreciate the inspiration. Great channel, keep up the great content!
@ibuildstuffanddothings
@ibuildstuffanddothings 4 жыл бұрын
i'm late to the party as usual, but finding this has made my day. i just bought an Uno to do this project! Thanks Matt!
@CerealReality
@CerealReality 4 жыл бұрын
We need to see it in action :) You did a great job with this video. I’m trying to get into dev work and I think hobbies that include libraries are good practice. I’ve always wanted an automated humidifier. You should def do a follow up vid on how to make this into a real application like how you would waterproof the case while keeping the sensor exposed. It is kinda funny that the difference between a ten dollar humidifier and an automated eighty dollar led one basically comes down to the humidifier having software (a library) because we all know the board and sensor and led are really cheap.
@ericdecolsales3066
@ericdecolsales3066 3 жыл бұрын
is it possible to connect a arduino with a humidifier and IR controller? I want the ac to turn on by itself and auto turn on the humidifier depending on the rooms humidity. And also, is it possible to remotely control it?
@sadangjohnrayb.4099
@sadangjohnrayb.4099 2 жыл бұрын
Hello, I know its been a while. But can you share the schematics on this project? Thanks
@brukernavnfettsjit
@brukernavnfettsjit 8 жыл бұрын
This gives me so many ideas! Thanks for showing. Your explanation is very clear and thorough. It almost looks simple :) I just found your channel, and I like pretty much all your topics so I subscribed.
@Ticky66MN
@Ticky66MN 8 жыл бұрын
Brilliant! We just bought a humidifier for my daughters room and it just runs until empty too. I blow a fan across wet towels in my office as I work from home up in MN. Brilliant, huh? I wouldn't have the time to figure out how to do what you did but I sure enjoy your videos. You didn't happen to see any off the shelf products to do what did you? Thanks Matt.
@MattHeere
@MattHeere 8 жыл бұрын
+Ticky66MN They exist, but they're designed for reptile enclosures and they tend to be expensive. Your best bet is probably just to get a lamp timer and set the humidifier to run for some part of every hour. With some experimentation you'll be able to dial it in pretty closely - at least until the outdoor conditions change significantly. I still have to solve the run empty problem in my setup. How to measure the water level without altering the water container, and without spending $50, is the conundrum. You could also try to work something up using a humidistat designed for your central heating system. They're available at HD/Lowes for around $25. Problem is that they're designed to switch 24 volts AC to drive a small solenoid valve. You'll still need a 24VAC power supply (wall wart will work) and a 24VAC coil relay to control the humidifier.
@viswanathanramakrishnan7613
@viswanathanramakrishnan7613 4 жыл бұрын
It's a superb video which I was look for all these days. Kindly post the code in a zip format so that I can try at home during these "corona" isolation period. Thanks in advance.
@dblphotography
@dblphotography 8 жыл бұрын
Matt, excellent explanation of a technical subject. How much affect does the proximity of the DHT have on humidity readings. Seems it is close in your test setup. Now you need to do a ground up video from start to finish showing how the software is loaded onto the Nano and then updated. I can see many projects like these for the home and workshop.
@MattHeere
@MattHeere 8 жыл бұрын
+David Lankford It depends on the circulation available. Without the heat pump pushing the air around I'd definitely be too close to get a good picture of the whole room. As is, it works out OK because the fan keeps everything fairly well "mixed up". Of course in a critical application you could use multiple DHT sensors and decide in the code how you want to interpret the results. Reptile enclosures are a common example of this. People measure both the "hot" and "cold" side of the enclosure and try to keep a specific gradient more than a specific temperature. There are tons of videos out there already on getting started with Arduino development, not to mention some really good tutorials and instructions on Arduino.cc. Bob over at +I Like To Make Stuff just did a series on Arduino as well. I do have a couple more projects in mind though, so I'll try and work some different steps into the mix in the future :)
@11brandonminer
@11brandonminer 5 жыл бұрын
Clear and articulate tutorials. Love the channel!
@DonnysRealm
@DonnysRealm 8 жыл бұрын
Great video. Excellent production value as always and in-depth.
@MattHeere
@MattHeere 8 жыл бұрын
+Donny Thanks!
@MrBobWareham
@MrBobWareham 5 жыл бұрын
Nice and good explanation of how it works thanks I think it will be easy to make but I will add an adjustment to the setpoint and change the display to a small led display
@msingh9550
@msingh9550 3 жыл бұрын
Interesting and informative video. Subscribed. Thanks for your time. Is it possible to use BME280 sensor to achieve the same? If yes. Is it possible for you to suggest the changes to be made to the Arduino sketch below?
@AwesomeWoodThings
@AwesomeWoodThings 8 жыл бұрын
Another great project and video! You've taken a concept that can appear complicated and made it simple to understand. Love it! Also, I host a count-down show featuring the hottest maker videos of the week. May I feature a clip of this video on that show?
@MattHeere
@MattHeere 8 жыл бұрын
+Awesome Wood Things Thanks! I'd be honored! Would have cleaned myself up better if I'd known... ;)
@AwesomeWoodThings
@AwesomeWoodThings 8 жыл бұрын
+Matt Heere Ha ha. Great. Thank you. I'll pass along the new show link after it's live (maybe Tuesday). :-)
@AwesomeWoodThings
@AwesomeWoodThings 8 жыл бұрын
+Matt Heere New WTV episode is out... check the latest video on my channel to see this featured. Thanks Matt!!!
@MattHeere
@MattHeere 8 жыл бұрын
Looks good Matt. Thanks for including me!
@prakashsam6968
@prakashsam6968 4 жыл бұрын
thank you very much sir, I created code for temperature also, it worked like a charm.
@TheTubejunky
@TheTubejunky 7 жыл бұрын
Very concise information. Very well explained as well. Great video looks like I'm going back to my Arduino lab. Thanks sir!
@12_fahrulabdulaziz91
@12_fahrulabdulaziz91 7 ай бұрын
can you share the specs of the humidifier? and are you connected with 220v?
@YADA70073
@YADA70073 3 жыл бұрын
What is the best water proof humidity and temperature sensor use in mushroom room?
@arem86
@arem86 7 жыл бұрын
Hey Matt, do you have a fritzing drawing or wiring diagram of how you're hooked up? I'd like to try something similar and would love to use this as a starting point. Thanks.
@electronetiq
@electronetiq 7 жыл бұрын
hello I want to make alarm with DHT22 if the value eq. #Example: 25 for buth H&T please help me how can I do it please >> thanke you
@florinbargaoanu5556
@florinbargaoanu5556 7 жыл бұрын
Very interesting video,but what need to be done in order to set up the humidity tresholds outside the code,in such way that will never depend on a computer.thanks
@johnzucca81
@johnzucca81 8 жыл бұрын
Thank you so much!!You are an awesome teacher and i appreciate it. i am a beginner hope i could learn more from you:)
@schabanow
@schabanow 8 жыл бұрын
Hi Matt, Thank you for your work! Where can I get your sketch?
@schabanow
@schabanow 8 жыл бұрын
Matt thanks again! Code has been copied down from the screen, manually, to the NotePad, line by line. Compilation IS DONE! Two liiiitle miswrites of mine were detected only! (proudly) Now's the hardware turn... You're just SUPERB lecturer. Have a nice day!
@pcorlis
@pcorlis 8 жыл бұрын
Matt, great video as usual. Your talents sure are wide ranging. I sure would like to see more arduino videos in the future. Thanks for sharing. Paul at paulsmessyworkshop
@jacksonpelletier5388
@jacksonpelletier5388 6 жыл бұрын
This is really cool! you never expressed how this idea came to you, have you received some kind of special training?
@MattHeere
@MattHeere 6 жыл бұрын
Shock training :) . I believe the expression goes "Necessity is the mother of invention."
@jacobbranker159
@jacobbranker159 3 жыл бұрын
Excellent video Matt. Could one do precisely this same idea but with a ceramic space heater that lacks a set point temperature? I would assume they're typically AC powered as well. Thanks again for the great video.
@MattHeere
@MattHeere 3 жыл бұрын
You sure could Jacob. Watch the current rating on the relay though. A space heater will draw a lot more power than this humidifier, so you'll need a relay rated at the full 15A your wall outlet can supply. Be sure you're using a modern space heater that had built in tip-over and over temp protection too. Last thing you want is your insurance company pinning a space heater fire on your control circuit!
@ElDuardo01
@ElDuardo01 4 жыл бұрын
Hey Matt! I live in a ~90% humidity area. Im looking for a de humidifier arduino projects. Any info? Thanks!
@tomjdesigns1280
@tomjdesigns1280 5 жыл бұрын
Thank you - lost 3 hrs to figure out hot to set decimal place for sensor reading, was thinking that was down to how library was written and tried so many:(
@jeralynpanglima935
@jeralynpanglima935 3 жыл бұрын
Hai sir Matt I'm a little bit confuse and I'm worried because this is our research project automatic room humidifier and de humidifier controller using arduino uno.
@jeralynpanglima935
@jeralynpanglima935 3 жыл бұрын
With LCD. Can I ask you how may male to male and male to female jumper wire do I need. Thanks !!
@nimaamini9038
@nimaamini9038 4 жыл бұрын
** Suggestion for new video of an automated greenhouse ** Hey, thanks for the great stuffs. I'm sure there are lots of people searching for an automated greenhouse, like I am. Can you make a project on a greenhouse that has a heater, a water pump, hot and cold humidifiers, and a window that gets open when too hot or humid. There are lots of even more complicated greenhouses on youtube, but no one's sharing the code and schematics. Wemos d1 mini or Uno and DHT sensors would be great options for the project. Thanks in advance. Please hit the like if you agree.
@Farrukh.R
@Farrukh.R 6 жыл бұрын
Hi Matt. Can you please explain how you wired the rely with the socket and plug. Thank you.
@MattHeere
@MattHeere 6 жыл бұрын
The relay is in series with the hot lead on the outlet. Neutral and ground connect straight from the wall to my outlet.
@rachaelknight8048
@rachaelknight8048 4 жыл бұрын
i got interested in the arduino i spent over £500 gbp on equipment different shields ,sensors, tft sreens and i cant get owt to work
@wannabewoodsmith4217
@wannabewoodsmith4217 8 жыл бұрын
I will NOT try this at home ....but thanks for the sharing of info !!! I always enjoy your videos now back to watching .....
@TheFalconJetDriver
@TheFalconJetDriver 5 жыл бұрын
That is why I goto my neighbors house to do these types of things.😁
@johnzucca81
@johnzucca81 8 жыл бұрын
would it be alright if you shared you code with me please... i am struggling here..
@deejaykaydee
@deejaykaydee 3 жыл бұрын
I think it's ultrasonic. It doesn't heat the water
@ti4go
@ti4go 7 жыл бұрын
Can you please share the code?
@ExtemporeMuzzzz
@ExtemporeMuzzzz 5 жыл бұрын
Just type it XD
@MrAbopo
@MrAbopo 4 жыл бұрын
// include the library code: #include #include // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //Globals for DHT sensor #define DHTPIN 8 // what pin we're connected to #define DHTTYPE DHT22 // DHT 22 (AM302) DHT dht (DHTPIN, DHTTYPE); //humidity control points #define SETPOINT 22.5 #define DEADBAND 2.5 //These justr make the code easier to read #define HUMIDIFIER 9 //instead of using 9 for pin 9 we'll name it HUMIDIFIER #define ON false //The relay is sort of backwards. A low/0/false is actually ON #define OFF true //The relay is sort of backwards. A high/1/true is actually OFF //The setup routine only executes once, when the Arduino is powered on void setup() { //Tell the Arduino that we will use the HUMIDIFIER pin as an output, and set it to off just to make sure we know where were starting pinMode(HUMIDIFIER, OUTPUT); digitalWrite(HUMIDIFIER, OFF); //We need to initialize the LCD and tell the library what size (columns, rows) our display is lcd.begin(16, 2); //Start the code for the temp/humidity sensor. Libraries have a .begin or .start routine of some kind dht.begin(); //Setup stuff that never changes on the screen lcd.clear(); //Go to charicter zero on line zero lcd.setCursor(0,0); lcd.print("Temp: "); //Go to charicter zero on line one lcd.setCursor(0,1); lcd.print("Humidity: "); } //The loop routine executes over and over untill you unplug the Arduino void loop() { //We don't need readings as fast as the Arduino can cycle. Put in delay so that we only do c delay(10000); //Read the temperature and humidity into floating point variables float h = dht.readHumidity(); float t = dht.readTemperature(); //Check to make sure we got back numbers. If not, print an error if (isnan(h) || isnan(t)) { lcd.setCursor(0,0); lcd.print("Failed to read from dht sensor! "); //Bail - we can't work with things thar aren't numbers! return; } //In the U.S - so convert the Celcius reading to Fahrenheit. float f = dht.convertCtoF(t); //Move the cursor to the end of the word Temp: and print the reading to 2 decimal places lcd.setCursor(6, 0); lcd.print(f,2); //Move the cursor to the end of the word Humidity: and print the reading to 2 decimal places lcd.setCursor(10,1); lcd.print(h,2); //Now vegin the controll logic if(digitalRead(HUMIDIFIER) == ON { //If the humidifier is on, check to see if the humidity is above setpoint if(h > SETPOINT + DEADBAND) { //We've reached the upper limit, so kill the humidifier digitalWrite(HUMIDIFIER, OFF); } } else { //If the humidifier is off, check to see if thr humidity is below serpoint if(h < SETPOINT - DEADBAND) { //We've reached the lower limit, so kick on the humidifier digitalWrite(HUMIDIFIER, ON); } } }
@4funksakes
@4funksakes 5 жыл бұрын
Thanks matt
@ragavansuresh5035
@ragavansuresh5035 6 жыл бұрын
Great build, Thanks for sharing. My only question is, that humidifier doesn't have an ON/Off button right? It kicks on as soon as it gets plugged in?
@MattHeere
@MattHeere 6 жыл бұрын
It has an OFF/LOW/HIGH setting dial. I just leave it on HIGH and let the control system deal with it.
@ragavansuresh5035
@ragavansuresh5035 6 жыл бұрын
Matt Heere got it. Thank you. I have a humidifier that has a button which needs to be pressed to turn on. I'll try to get this model over christmas or something
@johnjackson6340
@johnjackson6340 6 жыл бұрын
Any way you could share the code in the description or email it to me
@lolbdnews3733
@lolbdnews3733 6 жыл бұрын
where i can get it
@audiotechlabs4650
@audiotechlabs4650 8 жыл бұрын
Hey Matt, really, really love your channel. I wish you were my neighbor. Anyway, I saw the geetarz(guitars) in your studio so I guess you are a musician. I know you have done some vids on music stuff, so how about more. Thankz
@MattHeere
@MattHeere 8 жыл бұрын
+Audio Tech Labs Frustrated musician is more like it! I dabble - played almost everything at one point. Was only ever good at the sax. Engineer is what pays the bills :)
@audiotechlabs4650
@audiotechlabs4650 8 жыл бұрын
+Matt Heere Thanks for the reply. What kind of engineer? I used to have a 1st Class Radio Telephone Engineer License. They are not required any more and I'm too old to climb towers. Any and all of your posts are great! Thankz
@MattHeere
@MattHeere 8 жыл бұрын
E.E. by schooling. I have an assortment of FCC licenses as well ranging from my old college operators permit up to my (converted from the old tech plus) HAM license. Nothing professional though.
@audiotechlabs4650
@audiotechlabs4650 8 жыл бұрын
+Matt Heere License Smicense, if you are a E.E. you are pro! Good stuff Matt. Thankz
@layton7430
@layton7430 4 жыл бұрын
Subscribed
@fggolding
@fggolding 2 жыл бұрын
Excelent, I like your viedo
@layton7430
@layton7430 4 жыл бұрын
I want a set up that controls the humidity in the room and the temperature by operating a heater or a wall fan that sucks air from outdoors
@MattHeere
@MattHeere 4 жыл бұрын
Same setup could pretty easily be extended to control multiple things. The heater or fan would just be another output pin hooked up to a second relay. Almost identical logic needed to take a measurement and decide whether or not to turn on/off the new device.
@layton7430
@layton7430 4 жыл бұрын
@@MattHeere thank you for your reply I bought the arduino kit about 4 years ago plus lots of sensors, relays and displays etc and have never done anything with it
@layton7430
@layton7430 4 жыл бұрын
Is it simple to swap the LCD display for the colour display?
@MattHeere
@MattHeere 4 жыл бұрын
@@layton7430 It's not too bad. Different displays have different libraries that drive them, but many of the "draw on the display" functions are similar, so adapting the code is tedious, but simple.
@kishorc2870
@kishorc2870 8 жыл бұрын
cotton warehouse ues in humility controlled system requirements understanding so please send photography
@stonecold313
@stonecold313 6 жыл бұрын
Where have you been,youtube?
@foxyrollouts
@foxyrollouts 8 жыл бұрын
Awesome video, thanks.. is that python code? doesnt look too scary
@MattHeere
@MattHeere 8 жыл бұрын
Arduino "sketches" as they're known are just plain old ANSI C. There are compilers for other languages out there, but C was originally designed to be just one level up from the native chip instructions, so it's actually a really good choice for this kind of work.
@foxyrollouts
@foxyrollouts 8 жыл бұрын
thanks, it seems quite semantic.. not too verbose. Youre a really good presenter, thanx
@ozzstars_cars
@ozzstars_cars 8 жыл бұрын
That's a lot of programming, custom for sure.
@MattHeere
@MattHeere 8 жыл бұрын
+Ozzstar It's funny to me that so many folks react just as you did Ozz. When I look at it, there are only 13 lines that are actually needed for this thing to do the humidity control. The rest is fooling with the display (optional for sure) or just making things look prettier in the editor. I see these types of projects as being WAY more approachable than most of what you and I do on our channels. It doesn't require a shop space, no expensive tools,
@thatguythatdoesstuff7448
@thatguythatdoesstuff7448 8 жыл бұрын
+Matt Heere It seems to me that you're probably not new to code. Someone that has never been introduced to code will see this video and still be completely confused. They'll have no idea what you mean by "variable", "object", "library", "call", "loop" etc. For someone that already has an understanding of some (any) language of code, yes, this is very basic. I've read a number of "Beginner's guide to (code)" written from the standpoint of a person that thinks the very basic concepts of code (especially that particular code) are known to everyone. I think the average person, despite your clear explanation of how it works, could not replicate this without significant research and tutoring.
@chrismitlyng1411
@chrismitlyng1411 7 жыл бұрын
GREAT VIDEO!! I'm interested in controlling a reptile vivarium with an Arduino setup such as this. I am using a piece of equipment that I had purchased from a store to do this now, but I'd like to do it myself and expand along the way. Maybe Bluetooth monitoring to my phone. (?) My question is this.... This is the exact project I need but adding temp control to it. My boa is a tropical snake so I need to maintain both (warmer than my home) temp and high humidity. Can this Arduino handle it all? Another video online had suggested one to control output and one to control function. He did have a touch screen though. Thank you in advance!
@MattHeere
@MattHeere 7 жыл бұрын
The Arduino is more than capable. I'll make a suggestion though: My last two videos on getting up and running using a newer flavor of Arduino called a Photon. If you ultimately want to be able to connect to your setup remotely - especially from your phone - then this thing is the way to go. We have a Columbian Red-Tail that needs a new home, and this automation will absolutely be part of it. Can't promise when I'll get around to it though :)
@NPC-rq9tp
@NPC-rq9tp 6 жыл бұрын
why would dry air be bad for your electronics?...
@MattHeere
@MattHeere 6 жыл бұрын
It isn't directly, but it encourages static build up, and static discharge is most definitely bad for electronics.
@NPC-rq9tp
@NPC-rq9tp 6 жыл бұрын
Matt Heere interesting thanks
@Mongoman-oq9bq
@Mongoman-oq9bq 2 жыл бұрын
Eyes glaze over is true
@fetah7604
@fetah7604 6 жыл бұрын
Can you please share the code?
Arduino Temperature Controlled Fan Speed
24:30
Jacob Dykstra
Рет қаралды 449 М.
Arduino Garden Controller - Automatic Watering and Data Logging
9:13
Practical Engineering
Рет қаралды 3,1 МЛН
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 7 МЛН
Cleaning🤣 #shorts #トイキッズ
00:18
Toy Kids★トイキッズ
Рет қаралды 10 МЛН
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН
Arduino humidity sensors: testing and calibration
11:00
engineer2you
Рет қаралды 28 М.
Creating a quiet and efficient room fan with an Arduino
6:50
Adrian's Digital Basement
Рет қаралды 60 М.
Why is this Space Telescope so Tiny?
19:42
Huygens Optics
Рет қаралды 2 МЛН
463 Why most Arduino Soil Moisture Sensors suck (incl. solution)
10:59
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 196 М.
DIGITAL HUMIDITY CONTROLLER CALIBRATION AND PROGRAMMING
7:47
Myers Mushrooms Farms
Рет қаралды 68 М.
Automate A Fan: Arduino + Relay + Temperature Sensor
11:58
Techplant
Рет қаралды 89 М.
DHT11 Temperature & Humidity sensor with Arduino - Tutorial
5:17
Brainy-Bits
Рет қаралды 661 М.
How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino
7:50
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 7 МЛН