You are welcome from Canada. The best thank you for me is to subscribe to my channel. Your subscription is stamp of approval and my videos will be suggested to more people and this will help me. I appreciate it. thanks❤️
Couple of things. The extra clips were confusing. Some impossible K and C values indicated without explanation. The other point is that the LM35 is capable (at least two version are) of measureing down to -50 degrees C but the arrangement shown only from 0-150C. There are system examples in the Data Sheet. Negative temperatures require some biasing components or a +/- supply. I have only used this (with a PIC device) for low C temperatures (Chilled Water) but I was hoping to use it to check Freezer temperatures.
I put the word "extra" so it means some extra stuff. This video has introduction to LM35 and needed to be watched and most stuff were explained there. this is just to display it on LCD. the K and C impossible value did not need explanation because when I moved the sensor or heat gun, it got connected/disconnected and the value jumped.
@@robojax I was not being critical just observing. The data sheet shows a way to achieve what I require. using a couple of 1N914 s to lift the LM35 from the deck and bias the output to ground with an 18k 10% resistor. You seem to have struck out some parts of my mail. Why is that? I have purchased your Arduino Course but have yet to get engrossed. I am only at the basic, obvious stuff so far but it is early days. Regarding the temperature capture - main, possibly only reson for playing with an Arduino and I am fast thinking of going back to the PIC solution, I am reluctant to take the NTC Thermister route because there are so many different profiles. But if I have to I shall. I still have several steps of development to get past.
Hello can you please help me. I want to know can we can add a 5v relay which turns ON and OFF based on the temperature (I need the code to how to do that)
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 programs
To measure any voltage you don't need any sensor. watch this video ruclips.net/video/t8xwrVj2aFs/видео.html to learn how to measure any DC voltage. Here is better video for LM35 with wiring diagram which is part of a course ruclips.net/video/vHS6gGLFBh8/видео.html I have explained them fully. simply combine them. meaning nothing should be repeated in the code when you combine for example setup() function should appear once and loop() the same. follow my Arduino course to learn.
yo tengo este problema no matching function for call to 'LiquidCrystal_I2C::begin()' , veo el vídeo una y otra ves pero no encuentro cual es el error que tengo en codigo.
dice que no vio el video omitido. si miras 100 veces y no miras continuamente, perderás la parte importante y nunca funcionarás. No se puede explicar mejor que esto.
@@robojax no me salte nada del vídeo, no es largo como para saltarse partes, lo que no entiendo es porque me pone ese error, ya que mi pantalla funciona con (0x27) y le puse ese pero sigue igual. Y si la respuesta esta en alguna parte del vídeo, solo quisiera saber en que minuto del vídeo, para poder arreglar el error.
Hello Ahmad, i have an issue with this program, when i out the code into the IDE, i got an error with lcd.begin() and that it requires 3 values, when i types 16, 2 it uploaded bu the lcd didnt do anything, everything is working and wired correctly i checked it seperately.
float getTemperature(char type) { float value; float averageTemperature =0; int sensorValue = analogRead(inPin); float voltage = sensorValue * (5.0 / 1023.0); float temperature = voltage / LM35_FACTOR; for(int i=0; i< iteration; i++) { averageTemperature += temperature; } averageTemperature /=iteration; Correct me if I am wrong. THe For Next loop will just ad up the same value of temperature for 1000 times and divide it again with 1000(no. of Itteration) as analog read(inpin) is outside of this for next loop.
you did not explain that this is. No introduction nothing. code and then "if I am wrong". Always put an introduction and so for example: "I believe the code below would be better" or "I am getting error with this code". you can click on the 3 code beside the code and edit it. this way others learn or help you.
than you for letting me know. I just checked it and it is correct float voltage = sensorValue * (5.0 / 1023.0); float temperature = voltage / LM35_FACTOR; for(int i=0; i< iteration; i++) { averageTemperature += temperature; } averageTemperature /=iteration;
@@robojax I had learnt a lot from your videos and codes. Usually, i will just gets into your code and gets the Idea, and recode myself. This is how i get curious about your code. Thank you and keep up the good works.
we are sorry, today we are migrating to a new system and many links are dead. I've just fixed this link. try it and if you faced problem, try it later today or tomorrow. We do our best to fix this issue.
yes you can. here ruclips.net/video/RjyulqVsz2o/видео.html and ruclips.net/video/UmYiHTOz-5k/видео.html first learn how LM35 Works with LCD and then use it with OLED.
Sir please reply that i have the same arduino genuine uno but code uploaded only once and from second time code is not uploading actually my laptop is also toooo old and second handed so i have to change my laptop? Or, l have read trouble shooting and they said that we should burn bootloader but that too is not happening So should I change my laptop?? Sir please reply only you can help a student of your 🙏🙏🙏🙏
Hello, it should work with any Arduino. this is very simple Analog reading. I have mentioned that you need to watch the Introduction to LCD1602 and make sure you can display a text. if you can't do that, you should not come to this video. the link is in the description but here once again. ruclips.net/video/q9YC_GVHy5A/видео.html .
Sir thank you very much for your valuable information regarding temperature measurement through the Arduino board. Sir, I have a simple 16 x 2 LCD instead of an I2C LCD. So please guide me on how can I measure the temperature with a simple LCD. What will be the circuit diagram & code? Please help me.
you are welcome. here is the code for LCD without I2C robojax.com/learn/arduino/?vid=robojax-LCD1602 but you should learn from the current video on how to send the text on display. good luck
you did not mention the error. But usually when the viewer skips the video and do not follow the the instruction, this happened. my videos are unlike any other. you should not have any questions left without answer if you watch it fully.
it says done aploading. but nothing happens to the lcd. still boxes. and when i open the serial monitor. it says robojax lm35 with lcd for arduino. pls help
I mentioned that for this video, you need to watch 1-itroduction to LM35 so you can print temperature on the serial monitor 2-Watch introduction to LCD so you are able to print "hello world" or something on the LCd. then come to this. if you haven't, then the link to those videos are in the description and in the page where the code is. good luck.
Hi Robojax. Please can you help me out with the other project using the Nextion Screen with your Arduino Code your Code ( nexswitch ) i can not get it to load on my two Arduino boards. The erro message is ( expected initializer before numeric constant ) Arduino: 1.8.10 (Windows 10), Board: "Arduino Uno" nexswitch:1:21: error: expected initializer before numeric constant const int SWITCH_ON 1 ^ C:\Users\User\Documents\Arduino\New Projects\NEXTION_ON_OFF_DUALBUTTON exswitch exswitch.ino: In function 'void switch_control()': nexswitch:26:44: error: 'received_data' was not declared in this scope int size = Serial.readBytesUntil(' ', received_data, 4); ^~~~~~~~~~~~~ nexswitch:30:23: error: 'SWITCH_ON' was not declared in this scope if (switch_pos == SWITCH_ON) { ^~~~~~~~~ nexswitch:33:30: error: 'SWITCH_OFF' was not declared in this scope } else if (switch_pos == SWITCH_OFF) { ^~~~~~~~~~ exit status 1 expected initializer before numeric constant This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Sir plzz make a video on moving four servo motor using Potentiometer you had made a video 2 servo but sir plzz make a video on 4 servo and give the code plzz i am from india plzz help sir
hi, this is temperature sensor? shouldn't this comment be posted under a servo video? Here are my videos on servo. I have got over 20 videos I believe ruclips.net/user/robojaxTVsearch?query=servo
Hello Mr Ahmed, I would like to ask you about an error I find in my arduino code. It keeps giving the same error over and over again in the line lcdDisplay (getTemperature ('C'), 'C');. I tap verify and it says that 'getTemperature' was not declared in this scope. Could you please help me fix that error? Thanks for your time, Apostolos.
It means you skipped the video and did not follow the instruction. You have not installed the library for LCd. I mentioned it in the video. Please watch again and follow the instruction.
You must have skipped the required. Idea Afro this 1- introduction to lm35 and 2-introduction to lcd. If you watch both before coming this video , I can assure you that will not have any issue. The links are in the description of video.
@@robojax i think the part of the problem is i use the lm35dt not the lm 35(i think only the estetic is déférent and i Search IT on Google and the Ground and the out pin was inversed and i plug IT as you Says but with the pin order of lm35dt
that is not enough. provide error. this is combination of separate introduction to LM35 and introduction to LCD, have you watch them separately before coming this video? if not do it. the link is under this video. Watch both and make sure to you succeed, then come to this and it will work.
thanks from Turkiye
You are welcome from Canada. The best thank you for me is to subscribe to my channel. Your subscription is stamp of approval and my videos will be suggested to more people and this will help me. I appreciate it. thanks❤️
@@robojax ok ı subscribed :)
Good job Mr Ahmed thank you shokran
You are welcome
بارك الله فيك
و ایاکم
Couple of things. The extra clips were confusing. Some impossible K and C values indicated without explanation. The other point is that the LM35 is capable (at least two version are) of measureing down to -50 degrees C but the arrangement shown only from 0-150C. There are system examples in the Data Sheet. Negative temperatures require some biasing components or a +/- supply.
I have only used this (with a PIC device) for low C temperatures (Chilled Water) but I was hoping to use it to check Freezer temperatures.
I put the word "extra" so it means some extra stuff. This video has introduction to LM35 and needed to be watched and most stuff were explained there. this is just to display it on LCD. the K and C impossible value did not need explanation because when I moved the sensor or heat gun, it got connected/disconnected and the value jumped.
@@robojax I was not being critical just observing.
The data sheet shows a way to achieve what I require. using a couple of 1N914 s to lift the LM35 from the deck and bias the output to ground with an 18k 10% resistor.
You seem to have struck out some parts of my mail. Why is that?
I have purchased your Arduino Course but have yet to get engrossed. I am only at the basic, obvious stuff so far but it is early days.
Regarding the temperature capture - main, possibly only reson for playing with an Arduino and I am fast thinking of going back to the PIC solution, I am reluctant to take the NTC Thermister route because there are so many different profiles. But if I have to I shall. I still have several steps of development to get past.
Thank you , very informative , very much appreciated
You are very welcome.
Faydalı bir video olmuş. Teşekkür ederim
Rica ederim. Beğendiğine sevindim.
vayy bunu izleyen tek Türk ben değilmişim
@@Karbonatlicay 😀
Excellent explaination and good work sir
Thanks and welcome
wooow, that's gonna be useful, thanks!
Glad you think so!
Is it possible to also include a 3.3v signal to a relay switch so I can turn a fan on and off when reaching set temperatures?
Yes. and you can learn it from this video ruclips.net/video/yJYXfaU9J34/видео.html
Hello can you please help me. I want to know can we can add a 5v relay which turns ON and OFF based on the temperature (I need the code to how to do that)
Search my channel. I have it
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 programs
To measure any voltage you don't need any sensor. watch this video ruclips.net/video/t8xwrVj2aFs/видео.html to learn how to measure any DC voltage. Here is better video for LM35 with wiring diagram which is part of a course ruclips.net/video/vHS6gGLFBh8/видео.html I have explained them fully. simply combine them. meaning nothing should be repeated in the code when you combine for example setup() function should appear once and loop() the same. follow my Arduino course to learn.
@@robojax Thank you so much
Nice video keep it up
Thanks, will do!
yo tengo este problema no matching function for call to 'LiquidCrystal_I2C::begin()'
, veo el vídeo una y otra ves pero no encuentro cual es el error que tengo en codigo.
dice que no vio el video omitido. si miras 100 veces y no miras continuamente, perderás la parte importante y nunca funcionarás. No se puede explicar mejor que esto.
@@robojax no me salte nada del vídeo, no es largo como para saltarse partes, lo que no entiendo es porque me pone ese error, ya que mi pantalla funciona con (0x27) y le puse ese pero sigue igual.
Y si la respuesta esta en alguna parte del vídeo, solo quisiera saber en que minuto del vídeo, para poder arreglar el error.
Hello Ahmad, i have an issue with this program, when i out the code into the IDE, i got an error with lcd.begin() and that it requires 3 values, when i types 16, 2 it uploaded bu the lcd didnt do anything, everything is working and wired correctly i checked it seperately.
Could you please help?
Please watch introduction to LCD video before commenting to this video.
thank you so much sir
All the best
float getTemperature(char type)
{
float value;
float averageTemperature =0;
int sensorValue = analogRead(inPin);
float voltage = sensorValue * (5.0 / 1023.0);
float temperature = voltage / LM35_FACTOR;
for(int i=0; i< iteration; i++)
{
averageTemperature += temperature;
}
averageTemperature /=iteration;
Correct me if I am wrong. THe For Next loop will just ad up the same value of temperature for 1000 times and divide it again with 1000(no. of Itteration) as analog read(inpin) is outside of this for next loop.
In a way, it is just a glorified time delay. Because you just add the same number 1000 times and divide it by 1000.
you did not explain that this is. No introduction nothing. code and then "if I am wrong". Always put an introduction and so for example: "I believe the code below would be better" or "I am getting error with this code". you can click on the 3 code beside the code and edit it. this way others learn or help you.
This is the code for this project according to you from the link that you provided. What i am trying to convey is that your code is not iterating.
than you for letting me know. I just checked it and it is correct
float voltage = sensorValue * (5.0 / 1023.0);
float temperature = voltage / LM35_FACTOR;
for(int i=0; i< iteration; i++)
{
averageTemperature += temperature;
}
averageTemperature /=iteration;
@@robojax I had learnt a lot from your videos and codes. Usually, i will just gets into your code and gets the Idea, and recode myself. This is how i get curious about your code.
Thank you and keep up the good works.
no matching function for call to 'LiquidCrystal_I2C::begin()'
ayuda me sale ese error
Dice que no vio el video y lo saltó. Míralo sin saltarte y sabrás por qué.
technoelectronics44.blogspot.com/2020/08/lm35-temperature-sensor.html
LM35-interfacing & code
Your really amazing sir.
That's very kind of you. So are you.
I am also a hobbyists sir thats why ilike your channel thankyou so much
You are welcome and good cluck .
Your code link is not redirecting rightly/Please work on that link for easy access of code for beginner
we are sorry, today we are migrating to a new system and many links are dead. I've just fixed this link. try it and if you faced problem, try it later today or tomorrow. We do our best to fix this issue.
sir can we use Oled display to show the temperature ?
yes you can. here ruclips.net/video/RjyulqVsz2o/видео.html and ruclips.net/video/UmYiHTOz-5k/видео.html first learn how LM35 Works with LCD and then use it with OLED.
Sir please reply that i have the same arduino genuine uno but code uploaded only once and from second time code is not uploading actually my laptop is also toooo old and second handed so i have to change my laptop?
Or, l have read trouble shooting and they said that we should burn bootloader but that too is not happening
So should I change my laptop??
Sir please reply only you can help a student of your 🙏🙏🙏🙏
Hello, it should work with any Arduino. this is very simple Analog reading. I have mentioned that you need to watch the Introduction to LCD1602 and make sure you can display a text. if you can't do that, you should not come to this video. the link is in the description but here once again. ruclips.net/video/q9YC_GVHy5A/видео.html .
Sir thank you very much for your valuable information regarding temperature measurement through the Arduino board. Sir, I have a simple 16 x 2 LCD instead of an I2C LCD. So please guide me on how can I measure the temperature with a simple LCD. What will be the circuit diagram & code? Please help me.
you are welcome. here is the code for LCD without I2C robojax.com/learn/arduino/?vid=robojax-LCD1602 but you should learn from the current video on how to send the text on display. good luck
Thank you very much sir.
why i have error in the header of
you did not mention the error. But usually when the viewer skips the video and do not follow the the instruction, this happened. my videos are unlike any other. you should not have any questions left without answer if you watch it fully.
it says done aploading. but nothing happens to the lcd. still boxes. and when i open the serial monitor. it says robojax lm35 with lcd for arduino. pls help
I mentioned that for this video, you need to watch 1-itroduction to LM35 so you can print temperature on the serial monitor 2-Watch introduction to LCD so you are able to print "hello world" or something on the LCd. then come to this. if you haven't, then the link to those videos are in the description and in the page where the code is. good luck.
@@robojax i just change the lcd adress 0x26 to 0x27. and it works. btw thankyou for the great project.
you are welcome.
HOW DID YOU DISPLAY IT IN CELCUIS?
Have you watch the introduction to LM35? Here the video part of my Arduino course ruclips.net/video/DRIC4wDu878/видео.html
exit status 1
no matching function for call to 'LiquidCrystal_I2C::begin()'
please help
it means you skipped the video. Watch it fully, the instruction is there.
Hi Robojax.
Please can you help me out with the other project using the Nextion Screen with your Arduino Code your Code ( nexswitch ) i can not get it to load on my two Arduino boards.
The erro message is ( expected initializer before numeric constant ) Arduino: 1.8.10 (Windows 10), Board: "Arduino Uno"
nexswitch:1:21: error: expected initializer before numeric constant
const int SWITCH_ON 1
^
C:\Users\User\Documents\Arduino\New Projects\NEXTION_ON_OFF_DUALBUTTON
exswitch
exswitch.ino: In function 'void switch_control()':
nexswitch:26:44: error: 'received_data' was not declared in this scope
int size = Serial.readBytesUntil('
', received_data, 4);
^~~~~~~~~~~~~
nexswitch:30:23: error: 'SWITCH_ON' was not declared in this scope
if (switch_pos == SWITCH_ON) {
^~~~~~~~~
nexswitch:33:30: error: 'SWITCH_OFF' was not declared in this scope
} else if (switch_pos == SWITCH_OFF) {
^~~~~~~~~~
exit status 1
expected initializer before numeric constant
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I don't worked with that module and have no experience with it. Sorry
@@robojax Sorry i sent it to wrong person.
Sir plzz make a video on moving four servo motor using Potentiometer you had made a video 2 servo but sir plzz make a video on 4 servo and give the code plzz i am from india plzz help sir
hi, this is temperature sensor? shouldn't this comment be posted under a servo video? Here are my videos on servo. I have got over 20 videos I believe ruclips.net/user/robojaxTVsearch?query=servo
are you from Iran?
سلام من فارس خراسانی هستم که فعلا افغانستان نامش نهادند و یکدگوشه کوچک آن دردایران امروز است. سلامت باشید
همچنین
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید.
www.youtube.com/@ilmofan
Sir i have lcd. Init() error
Provide error
Have your watched introduction to LCD! Watch that first
Here is the latest video of this lm35 ruclips.net/video/vHS6gGLFBh8/видео.html
Hello Mr Ahmed,
I would like to ask you about an error I find in my arduino code. It keeps giving the same error over and over again in the line lcdDisplay (getTemperature ('C'), 'C');.
I tap verify and it says that 'getTemperature' was not declared in this scope. Could you please help me fix that error?
Thanks for your time,
Apostolos.
It means you skipped the video and did not follow the instruction. You have not installed the library for LCd. I mentioned it in the video. Please watch again and follow the instruction.
ohhh
?
Bạn là người nước ngoài và tại sao bạn lại ghi bằng tiếng việt mà không phải tiếng anh ?
Bởi vì tôi biết làm thế nào để nói những thứ. Tôi cung cấp thông tin này bằng 40 ngôn ngữ để mọi người từ bất kỳ quốc gia nào cũng có thể hiểu được.
Good but dnt work on my pc
You must have skipped the required. Idea Afro this 1- introduction to lm35 and 2-introduction to lcd. If you watch both before coming this video , I can assure you that will not have any issue. The links are in the description of video.
Here the better version of this video which is part of the course which includes wiring diagram and more ruclips.net/video/vHS6gGLFBh8/видео.html
@@robojax i think the part of the problem is i use the lm35dt not the lm 35(i think only the estetic is déférent and i Search IT on Google and the Ground and the out pin was inversed and i plug IT as you Says but with the pin order of lm35dt
Also why Do we need the code like 0x26?
@@robojax Now IT work but how can i Do if i want only the celcius degres
i hade a probleme
that is not enough. provide error. this is combination of separate introduction to LM35 and introduction to LCD, have you watch them separately before coming this video? if not do it. the link is under this video. Watch both and make sure to you succeed, then come to this and it will work.
you can send me the code
Watch first 45 seconds, it will tell you how to get it.