DS18B20 waterproof temperature sensor with(code explained) | Arduino tutorial 13
ฝัง
- เผยแพร่เมื่อ 14 มิ.ย. 2020
- Part 13 :
* Introduction to ds18b20
* Code tutorial
Code and Circuit : drive.google.com/file/d/1jfTU...
Libraries :
drive.google.com/drive/folder...
Learn Arduino programming even without components (Online Arduino Simulator) :
Tutorial video - • How to learn Arduino u...
-*-*-*-*-*-*-*-*-*-*
Product Links:
Arduino Uno : amzn.to/3C1vKxF
ds18B20 Temperature Sensor :amzn.to/3PfkZwi
*-*-*-*-*-*-*-*-*-*-*
Follow us on Instagram :
/ tech_at_home
Like us on Facebook :
/ tech-at-home-220885266...
#ArduinoTutorials#ds18b20#techathome
Thanks for watching!
*Like Share and Subscribe - วิทยาศาสตร์และเทคโนโลยี
How can I pause the temperature reading without disconnect the wire
Thankyou. Very helpful . After searchig alot, finally i got the easiest code of this sensor.
Welcome
Hi! Thank you for this helpful video, can i ask if it's possible to use a ds18b20 with a buzzer? for ex, the buzzer will activate when it reaches a certain temp. just curious.
welcome!
Yes you can do that. Use if else statements.
Use this as reference, instead of LED you can connect buzzer: th-cam.com/video/Wj9KBcNQwaA/w-d-xo.html
thank you sm I appreciate it!! @@techathome
Thank you so much for this video
Is it possible to add an battery voltage sensor along with the temperature sensor in the same Arduino, How can we combine the both program codes
Yes, you can add in same code.
Connect sensor output to A0 pin and use analogRead(A0)
Reference for using analog devices: th-cam.com/video/lg-QUBLm9eU/w-d-xo.html
Hello bro
why you put data wire into digital output....
i think data wire should be put in analog input.....!!please tell me
Actually it's a digital temperature sensor.
It communicates using single wire,.its communication protocol is like that.
So connected to digital pin.
How do i make it work for AC? I wanted to plug a small fridge and a 40W heater into it to control the temperature of about 13L of liquid sitting inside the fridge.
Instead of connecting to Laptop, use mobile charger to power the Arduino
@@techathome i did not mention anything about a laptop. I know DC and AC are different circuits. I was hoping to learn how to use it with AC current. Instead of buying the inkbird temperature controller, I want to make my own
Im getting a consistent reading of -127. any suggestions?
May be because of resistor
Did you refer the circuit i have given?
Can you make a video of how to make an esc for DC motor using Arduino plll pll
Yes I will make
How do you then control a relay with this temp sensor?
You can check temperature value using IF statements
Relay tutorial : th-cam.com/video/iy3nXFh__rg/w-d-xo.html
I am getting the serial monitor output as negative value
any suggestion please ,I have even changed the resistor
Can we measure temperature of soil
Yes you can
@@techathome Sir, We got a project of automated plant watering project in college can you give some idea or help us to make it a little complex project than your video .
Is it possible to run without resistor
No
Nice
Thank you
Mine is -127 even I followed a 4.7k resistor
Because esc for DC motor well cost 1.5k to 2k that's why
Watch my video about ESC under 1000 rupees :th-cam.com/video/u0QOf-uMD3U/w-d-xo.html
What is resistor function in here
When there is data from the sensor, that will be in active Low state(means logic 0).
So by default we have to pull up that pin to logic 1 using pull up resistor.
Otherwise we cannot see the data.
@@techathome thanks for the reply, understandable
Welcome
why making code in RAR? will not downalod lol
There is code and circuit inside the folder.
Download and extract it using 7zip/ winRar software.
PL PL do video of that bro PL 🙏
👍
@@techathome thanks 😘 bro