Out of every Arduino tutorial out there, from every site across the board - and I've been to em all (or so it feels like, it's a lot!!) - you are BY FAR, the best at explaining things. Thank you so much and please carry on :))
@robojax5 жыл бұрын
You are very welcome. I am please that you found my tutorials helpful. I appreciate sharing my channel with your friends.
@aminnonplus2 жыл бұрын
Thanks pal ! Love from France
@dr_akotoАй бұрын
THIS IS MY SUCCESSFUL PRACTICAL TUTORIAL...THANKS ROBOJAX
@robojaxАй бұрын
congratulations.
@projardgreen2568 Жыл бұрын
explain more videos like this, the code in detail, I subscribed because of how detailed explenation was.
@ronnytoro33 жыл бұрын
Awesome page ! thanks for all your advices and information that you share!
@tonysicily26874 жыл бұрын
Awesome video, No music Clean video Nice VO Lots of info Thank you, Subscribed, Liked and Saved
@robojax4 жыл бұрын
Much appreciated!
@danmusiceasy Жыл бұрын
Great tutorial, very clearly explained! I just made my first air monitor :) Do you have any tutorials on particle sensors and VOC sensors, or plan to do any in the future?
@robojax Жыл бұрын
I am glad you found it useful. This was the first time I heard VOC sensors. I just checked it, very interesting sensor for Air quality. I might make videos in the future. thanks
@truthseeker77755 жыл бұрын
Thank you so much Robojax. What a great video. I wish you had continued on to tell us how to write the code so that the sensor could turn on or turn off a light or motor when the temperature reached or declined to a certain temperature.=====================================================================================
@robojax5 жыл бұрын
You are welcome. I will make video on that as well.
@gamestv48755 жыл бұрын
Good tutorial.Worked flawlessly. Thanks
@robojax5 жыл бұрын
You are welcome.
@dtn25292 жыл бұрын
The DHT22 sensor enables temperature measurement in the range of -40 to 80°Celsius Does your program accept this? I.e it also shows negative temperatures?
@robojax2 жыл бұрын
of course it does. if you get incorrect reading, either you have not selected the sensor in the code or there is wiring issue. I am assuming you have followed the instruction and installed the library. You may use the code for DHT22 from this video ignoring the WiFi feature kzbin.info/www/bejne/gImmlKCQitKtr5o
@dtn25292 жыл бұрын
Thank you very much for your reply. It is OK. Otherwise, you have very good, clear and understandable instructions. (Sory,google translation) @@robojax
@aminkelate4 жыл бұрын
Thank you bro, you make my day..
@robojax4 жыл бұрын
My pleasure
@alialvi4194 жыл бұрын
kindly tell me that while you run DHT tester ,your uno borad is connected or not?
@robojax4 жыл бұрын
Of course it is connected. I connected to USB but you can connect it ot 6V to 15V power adapter .
@jasperblase13742 жыл бұрын
I know this is a bit of late but when I see the humidity readings on your video, it's very low. Is your room dry or just error from the sensor?
@robojax2 жыл бұрын
I don’t remember what was the humidity but this sensor is very accurate.
@sreejithunnikrishnan84843 жыл бұрын
should we connect a resistor of 10k if its an Arduino mega 2560? or jus direct connection
@robojax3 жыл бұрын
you made me worry with your question. my videos are totally different. I never leave the details out. if you watch it fully, your project should work. So after watching the "wiring explained" section, I saw that I have shown it. you don't need anything expect the wires.
@sreejithunnikrishnan84843 жыл бұрын
@@robojax Ok thanks
@fatimamgaedeh40823 жыл бұрын
Hello, great video and tutorial. My question is, when I have to use a resistor? So, if I want to connect 4 dht22 sensors together when I need a resistor?
@robojax3 жыл бұрын
Hello Fatima, you don't need resistor if you have the module shown in the video. I have the code on our website robojax.com. I added the link to that page on the same page where you get the code. the link to code page is below this video in the description. good luck.
@fatimamgaedeh40823 жыл бұрын
@@robojax Thank you so much, appreciate your reply.
@JohnWick-id6pk5 жыл бұрын
Hi, thank you for the informative video. What do you think would be the cheapest cable tu use the sensor at 3 meters from Raspberry ? Thanks
@robojax5 жыл бұрын
You are welcome. This module doesn't need much power. Any wire will work.
@JohnWick-id6pk5 жыл бұрын
Nice ! So just a basic USB wire is fine ? Thanks
@fauzanfikri43402 жыл бұрын
Hi robojax, can i use this sensor and a mega arduino stand alone without connecting it to a pc ?
@robojax2 жыл бұрын
when we say Arduino it means stand alone. We use PC to just upload it after that we don't need the PC. yes this module works with any Arduino board. including Arduino Mega. Here is Arduino Step by step course with 100 video and codes Arduino Step by Step course that starts here kzbin.info/www/bejne/Y2fUhKV6iqZol5o
@alnoorratansi93645 жыл бұрын
as always I love watching your videos, how do handle negative temp. what changes do you have make in the code ?
@robojax5 жыл бұрын
thank you very much. For negative temperature, it should just work fine. No change it needed.
@michaelmotis35804 жыл бұрын
Thank you bro!! good job! it does work for me
@robojax4 жыл бұрын
You're welcome!
@allan69523 жыл бұрын
Thank you very much !! I have a question. Do you know the difference between the Temperature value and the Heat index value ? Which one is more accurate ?
@robojax3 жыл бұрын
You are welcome. Please see the details for heat index from National Weather Services of USA: www.weather.gov/ama/heatindex#:~:text=The%20heat%20index%2C%20also%20known,sweat%20to%20cool%20itself%20off.
@jamesdumancas95974 жыл бұрын
Hi sir thanks for this helpful video i just wanna ask if the dht 22 can go faster than every 2 seconds loop?
@robojax4 жыл бұрын
Because it measure humidity, it makes it to read slowly and you will not get accurate data less than 2sconds. See page 9 robojax.com/learn/arduino/robojax-DHT22_manual.pdf if you just need temperature measurement, then use another sensor and there are a lot other sensors that can read much faster .
@Sidnoi-w5r5 жыл бұрын
Hello Robojax, Is it possible to have more than one DHT22 in the same project? Thanks
@robojax5 жыл бұрын
Yes. I will going to make a video on that but if you watch this video, it should work for you. kzbin.info/www/bejne/mWqTf6awl7N6bsU
@fpt3806 жыл бұрын
Hello . Thank you for your nice video . I have a question: Are the sensors like LM35 and DH11-22 accurate and reliable? Are it need to calibrate? thank you
@robojax6 жыл бұрын
You are welcome. I have not compared it with LM35. Because this is digital while LM35 is analogue, this should be much better. No calibration is needed. Datasheet/manual has been provided.
@fpt3806 жыл бұрын
Robojax thank you for explain
@iamrrebel3 жыл бұрын
Please I would like to know if this temperature sensor can work on poultry farms. Thank you
@robojax3 жыл бұрын
Hello, it just senses the temperature and humidity and does not care about environment. Just make sure dirt does not cover it.
@mohammednidal52064 жыл бұрын
can we code this along with autonomous obstacle avoiding code??
@robojax4 жыл бұрын
Yes you can.
@UpSpider6 жыл бұрын
Amazing video. Really helpful.
@robojax6 жыл бұрын
You are welcome.
@patrickduhirwenzivugira47295 жыл бұрын
Thank you for the video. Any idea how I can add a wifi module and send the data read as REST API ?
@robojax5 жыл бұрын
You are welcome. I would have to make video that. I have no tested code or components in hand.
@Fubo7773 жыл бұрын
Would it be possible to use two of these sensors simultaneously with Arduino?
@robojax3 жыл бұрын
Hello, yes you can use the idea from this video kzbin.info/www/bejne/gmfInJ9odqeWq7s to use two or more of this and here is how you can see it temperature from this sensor on mobile phone kzbin.info/www/bejne/Z3KXXmmeeaaFh8U
@Fubo7773 жыл бұрын
@@robojax Thank you very much. I'm thinking of making a simple weather station that shows indoor and outdoor humidity and temperature
@jrsbrothers67242 жыл бұрын
if the distance of the sensor is 20 meters with the arduino, can the sensor work?
@robojax2 жыл бұрын
I did the search, found the information for you with the link from manufacturer. read the datasheet and id you did not find, it contact the manufacturer. Use ESP32 or ESP8266 to read it over wifi. Search my channel. Here is how to find Specific KZbin Video in a channel bit.ly/findKZbinVideo
@ilhamrahmatmuharam85014 жыл бұрын
when i running this program and open serial monitor "Failed to read from DHT sensor!" you have an idea ? i have try with different device but same result
@robojax4 жыл бұрын
it means you have either incorrect wiring or dead module.
@cheikhanoumar97882 жыл бұрын
thank you very match
@robojax2 жыл бұрын
You are welcome. The best thank you for me is to subscribe to my channel. Thanks
@shecterelectric4325 жыл бұрын
I have this error when I trie to run it. I t says ´error compling for board Arduino/genuino uno.´ I am using an Arduino uno board with the 1.8.11 version. Do you think you can help me?
@robojax5 жыл бұрын
it means you have not selected the right COM Port for your Arduino. when your Arduino is connected click on Tools->Port and select another port and the try to upload.
@mohdfarezsamin14936 жыл бұрын
Possible to provide the code if a turbidity sensor is used instead of temperature & humidity? my code doesn't seem to work.
@robojax6 жыл бұрын
I would have to have the device, then I would be able to say it it works or not. i just add it to my "to do " list.
@ezstudio3d6 жыл бұрын
I getting "Failed to read from DHT sensor!". I am using the dht22 but mine doesn't have the black and adapter and I use a 10k omh resistor to 5v any suggestions ?
@farenhartman55596 жыл бұрын
I get the same thing! Did you get a solution for this problem?
@ezstudio3d6 жыл бұрын
I did, I bought one with the little black thing that has the resistor and maybe some thing extra www.amazon.com/gp/product/B01N9BA0O4/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
@rianhamman61876 жыл бұрын
The DTH22 sensor isn't working with this setup for me, the sensor is pulling to much power from my arduino, any idea why it would (in the exact same setup as the video)
@robojax6 жыл бұрын
either your are connecting the wires incorrectly or the sensor is bad. The only way to know is to connect another sensor.
@ELKopps11 Жыл бұрын
Mine fails. In troubleshooting if found that "nan" is in temp_hum_val[0] and 0 is in temp_hum_val[1].
@robojax Жыл бұрын
Nan means wiring is incorrect
@zhouri77586 жыл бұрын
Hello Can I take this code and make some changes to work with DHT11
@robojax6 жыл бұрын
have you looked at the code? there is DHT11. just comment (select) the right sensor.
@zhouri77586 жыл бұрын
@@robojax no I have not Thanks
@arjaysibug8436 жыл бұрын
just the same. 22 is just an upgraded version
@videotronicmaker5 жыл бұрын
Thank you.
@robojax5 жыл бұрын
You are welcome.
@aniszed36415 жыл бұрын
thanck you so much
@robojax5 жыл бұрын
You are welcome.
@sachinsadhale17896 жыл бұрын
Plz name the library to be included there are many dht Libraries
@robojax6 жыл бұрын
I have provided the library from original source and from my own with my own code. I mentioned the link in the video and have provided the link under the video description.
@omar_eldewail2 ай бұрын
when I connect it says failed to read from the dht sensor
@robojax2 ай бұрын
so check the wiring. if you have another sensors also try different sensor.
Hi, I have replied to this in one the comments earlier. Please scroll down.
@azwaqar5 жыл бұрын
i get this error "Error compiling for board Arduino/Genuino Mega or Mega 2560" how to solve it????
@robojax5 жыл бұрын
port problem. Try to select the right port.
@azwaqar5 жыл бұрын
Thanks for reply the error was due to missing library I download it and error disappear thank you
@Paul7mac4 жыл бұрын
@@azwaqar which library i have the same problem
@mikahjbvf81665 жыл бұрын
Hi.. why did i get 'Failed to read from DHT sensor!' ?
@robojax5 жыл бұрын
Wiring problem. Check all 3 wires.
@mikahjbvf81665 жыл бұрын
@@robojax ok.. thank you.. i'll try
@stelaririna2 жыл бұрын
Why does it read that my humidity 99.9% and temperature 129.9°C. And both don’t change no matter what
@robojax2 жыл бұрын
It could be wiring problem
@stelaririna2 жыл бұрын
@@robojax and if it’s not a wiring problem, what other cause can it be?
@robojax2 жыл бұрын
Not sure, perhaps wrong model is selected in code.
@stelaririna2 жыл бұрын
@@robojax can the sensor be broken? Cause I checked the wires and the voltage and amps are good, the code is good, I picked the right model, but the reading won’t change no matter what I do
@robertomalatesta66042 жыл бұрын
@@stelaririna na You might try and reload the bootloader. Then run the Blink scketch and if it cycles a few times only or not at all, the board might have gone astray.
@scottwaters72864 жыл бұрын
Why do I get "Sync timeout"?
@robojax4 жыл бұрын
I haven't see it but google search showed this forum.arduino.cc/index.php?topic=91569.0
@chawinchokchaimongkolkij5636 жыл бұрын
DHT22' was not declared in this scope
@robojax6 жыл бұрын
You have not downloaded the library. Make sure to download and add it to the Arduino library folder. or if you have included the library make sure to uncomment the line // #define DHTTYPE DHT22 // DHT 22 by removing the // from the beginning of the line. Watch video for instrcution
@humanfromthefuture44304 жыл бұрын
failed to read dht sensor what happenned
@robojax4 жыл бұрын
incorrect wiring, bad pin connection or bad modue.
@gabrielebarbaraci3161 Жыл бұрын
code is wrong it says F1 is not declared
@robojax Жыл бұрын
you did not folow the instuction or wrong library is used.
@aswathy16092 жыл бұрын
code pls
@robojax2 жыл бұрын
I just watch the video . You skipped the first 40 seconds where I mentioned how to get code.
@jrsbrothers67242 жыл бұрын
if the distance of the sensor is 20 meters with the arduino, can the sensor work?
@robojax2 жыл бұрын
Yes the distance of communication is 20m mentioned here www.aosong.com/en/products-22.html
@jrsbrothers67242 жыл бұрын
@@robojax no need capasitor?
@robojax2 жыл бұрын
why you ask about resistor? if you have this sensor, just watch and you should get all answers.
@jrsbrothers67242 жыл бұрын
@@robojax because the store that sells the sensor recommends if the distance is more than 2 meters requires a capacitor
@robojax2 жыл бұрын
Datasheet is always the most correct information because that is from manufacturer.