How to send sensor dat to thingspeak server using ESP and Arduino.

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ส.ค. 2018
  • #Thingspeak #SendingDataToServer #IoT
    This tutorial is about how we can use the ESP8266 wifi module and Arduino to send sensor data to thingspeak.com. So, here I am using the DHT-11 sensor to fetch the humidity and temperature data and send it to the Thingspeak server.
    Set the Baud Rate of ESP to 9600 using AT Command (AT+CIOBAUD=9600) or you can use (AT+UART_DEF=9600,8,1,0)
    Before downloading please watch the full video to know about the procedure of how to send data because it will help you to understand the protocol and you can build many more things.
    In this tutorial, I am explaining how to test the ESP8266-01 module using Arduino UNO and
    send sensor data into thingspeak server.
    Requirements:
    #1. Arduino UNO
    #2. ESP8266-01 wifi module
    #3. DHT-11 sensor
    #4. Thingspeak server.
    IoT projects Arduino
    esp8266 wifi module Arduino
    esp8266 wifi module
    IoT projects ideas
    IoT projects with Arduino
    IoT projects esp8266
    what are iot projects
    Best Cloud Hosting:
    🌍 bluehost.sjv.io/6byWYq
    Email Marketing tool:
    📨 myengineeringstuffs.aweber.com
    📨 www.getresponse.com/start-fre...
    Download Source Code:
    myengineeringstuffs.com/2023/...
    🪔 Please help to grow my channel by subscribing to my channel:
    🎬 / @myengineeringstuffs
    👉 You can visit my website and find interesting projects.
    🌍 myengineeringstuffs.com
    🚮💲 if you want to contribute:
    Paypal account: allabtprojects@gmail.com
    ⚡🌟⚡🌟 More Projects below🌟⚡🌟⚡
    🧸 Game using Arduino
    🎬 • Two Player Ping Pong G...
    🌍 myengineeringstuffs.com/2023/...
    📡 Notice board projects
    🎬 • IOT (internet of thing...
    🌍 myengineeringstuffs.com/2023/...
    🎬 • Wireless notice board ...
    🌍 myengineeringstuffs.com/2023/...
    🏡 Home Automation Projects
    🔥 Firebase Based Home Automation
    🎬 • Google firebase based ...
    🌍 myengineeringstuffs.com/2023/...
    ☁ Google Assistance Home Automation
    🎬 • Google firebase based ...
    🌍 myengineeringstuffs.com/2023/...
    ⏱ RTC Projects
    🕜 Schedule ON/OFF devices using RTC
    🎬 • Schedule turn ON/OFF o...
    🌍 myengineeringstuffs.com/2023/...
    🕜 Timer, Stopwatch, and Alarm
    🎬 • Schedule turn ON/OFF o...
    🌍 myengineeringstuffs.com/2023/...
    🔌💡 AC voltage controlling Projects
    🎬 • ARDUINO AC VOLTAGE CON...
    🌍 myengineeringstuffs.com/2023/...
    👉 ⛅🌈Weather Monitoring Project
    🎬 • Weather data monitorin...
    🌍 myengineeringstuffs.com/2023/...
    👉🖨️ Thermal Printing Machine DIY
    🌍 myengineeringstuffs.com/2023/...
    🎬 • Mini serial TTL Therma...
    🌍 myengineeringstuffs.com/2023/...
    ⚠️Disclaimer: It contains Amazon affiliate links. which means I can get a small commission on the sale.
    This might be your indirect help to me.
    🌟 Material Requirements:
    👉 Arduino UNO ⚡ amzn.to/3ryB1ED
    👉 ESP8266-01 ⚡ amzn.to/39qiioC
    👉 Small Bread Board ⚡ amzn.to/3wdPKZ9
    👉 Connectors ⚡ amzn.to/39rwoGy / amzn.to/3mgxB8R
    👉 DHT-11 Sensor ⚡ amzn.to/3ryC2MX / amzn.to/3dzq81W
    👉 DHT-12 Sensor ⚡ amzn.to/39sGbvK
    👉 Variety connectors⚡ amzn.to/3mgxB8R
    👉 Arduino Starter KIT ⚡ amzn.to/3eOYfTU
    👉 HC-05 Bluetooth module ⚡ amzn.to/2Pa9P28
    👉 I2C LCD Module ⚡ amzn.to/32smgt2
    👉 16x2 LCD Module ⚡ amzn.to/3ecu07Y
    👉 0.96" I2C OLED ⚡ amzn.to/3JmV1H1
    👉 Raspberry Pi Pico ⚡ amzn.to/3HgWY5e
    👉 RC522 RFID ⚡ amzn.to/3j6cJUE
    👉 Micro USB Cable ⚡amzn.to/3HEhNJ0
    👉 TCS3200 Color Sensor ⚡amzn.to/3XRQtg9
    👉 PCF8574 IC ⚡amzn.to/3kUzgnP
    👉 NodeMCU⚡amzn.to/3HHGKUa
    👉 MAX7219 32x8 Dot matrix display⚡amzn.to/3RjJU3s
    👉 Variable Voltage Supply⚡amzn.to/3YtdPsD
    👉 USB to TTL⚡amzn.to/3wIcL8d
    👉 RTC Module⚡amzn.to/3wLahG4
    👉 4 Channel Relay⚡amzn.to/3RoX67f
    👉 Thermal Printer⚡amzn.to/3jjL96b
    👉 P10 Display⚡amzn.to/3HouW7Y
    👉 4x4 Keypad⚡amzn.to/3DvDHM5
    👉 Raspberry Pi Pico⚡amzn.to/3XIBMMq
    👉 Micro USB Cable⚡amzn.to/3Hzdmzo
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @MyEngineeringStuffs
    @MyEngineeringStuffs  5 ปีที่แล้ว

    *Updated Code Edited Code*
    --------------------------------------------------------
    Before uploading my code.
    Step 1: remove the ic ATmega328 of arduino.
    Step 2: connect Rx of arduino to Rx of ESP and Tx of arduino to Tx of ESP.
    Step 3: Open serial monitor of arduino and set baud at 115200 and Both NL&CR
    Step 4: Send AT it should return OK then AT+CIOBAUD=9600 it should return OK if not then write AT+UART_DEF=9600,8,1,0 it should return OK.
    Step 5: change the serial monitor setting to baud rate at 9600 and Both NL&CR.
    Step 6: change the mode of ESP by sending AT+CWMODE=3 it should return OK
    Step 7: upload my code and test
    ----------------------------------------------------------------------------------------------------------------------------
    #include
    #include
    String apiKey = "XXXXXXXXXXXXXXXX";
    dht DHT;
    #define DHT11_PIN 4
    int humi,temp;
    SoftwareSerial ser(2, 3); // RX, TX
    void setup(){
    ser.begin(9600);
    Serial.begin(9600);
    unsigned char check_connection=0;
    unsigned char times_check=0;
    Serial.println("Connecting to Wifi");
    while(check_connection==0)
    {
    Serial.print("..");
    ser.print("AT+CWJAP=\"SSID\",\"PASSWORD\"
    ");
    ser.setTimeout(5000);
    if(ser.find("WIFI CONNECTED
    ")==1 )
    {
    Serial.println("WIFI CONNECTED");
    break;
    }
    times_check++;
    if(times_check>3)
    {
    times_check=0;
    Serial.println("Trying to Reconnect..");
    }
    }
    delay(5000);
    }
    void loop()
    {
    DHT.read11(DHT11_PIN);
    humi=DHT.humidity;
    temp=DHT.temperature;
    Serial.print("H:");
    Serial.print(humi);
    Serial.println("%");
    Serial.print("T:");
    Serial.print(temp);
    Serial.println("C");
    // TCP connection
    String cmd = "AT+CIPSTART=\"TCP\",\"";
    cmd += "184.106.153.149"; // api.thingspeak.com
    cmd += "\",80";
    ser.println(cmd);
    if(ser.find("Error")){
    Serial.println("AT+CIPSTART error");
    return;
    }
    // prepare GET string
    String getStr = "GET /update?api_key=";
    getStr += apiKey;
    getStr +="&field1=";
    getStr += String(10);
    getStr +="&field2=";
    getStr += String(10);
    getStr += "

    ";
    // send data length
    cmd = "AT+CIPSEND=";
    cmd += String(getStr.length());
    ser.println(cmd);
    if(ser.find(">")){
    ser.print(getStr);
    Serial.println(getStr);
    }
    else{
    ser.println("AT+CIPCLOSE");
    Serial.println("CIPCLOSE");
    }

    // thingspeak needs 15 sec delay between updates
    delay(16000);
    }

    • @electronician8074
      @electronician8074 5 ปีที่แล้ว

      why in code is error: 'getStr' does not name a type?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Can you please share screenshot of the error.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend, It's an system error. Not related to code.

    • @envyzhateu9715
      @envyzhateu9715 5 ปีที่แล้ว

      esp8266 join wifi but Serial Monitor print("Trying to Reconnect..")
      how to fix

    • @envyzhateu9715
      @envyzhateu9715 5 ปีที่แล้ว

      @@MyEngineeringStuffs
      thx buddy but now i can't send data to thingspeak

  • @zeeshaniqbal5518
    @zeeshaniqbal5518 4 ปีที่แล้ว

    I am using ACS 712 voltage sensor and ZMPT101B current sensor I will have to upload the data to thingspeak. I am doing this for my small electricity monitoring system but I don't have any prior knowledge of it. I need your help.

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

    How did you get the datas uploaded to ThingSpeak. I tried the same code. It is not working . But tried without any codes with AT command. It worked . But with this code. It doesn't

  • @vonchristianmartycabel559
    @vonchristianmartycabel559 3 ปีที่แล้ว

    Sir, what if I use an MQ-2 gas sensor? What codes should I replace or on this current code then?

  • @MatthewScope
    @MatthewScope 5 ปีที่แล้ว

    Hey! I have issues with fetching data FROM api on web on my arduino. Can you tell me what to program on arduino and what to program on esp8266? Can i upload the code just to arduino and then communicate with esp?
    Thank you.
    M

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

    Hello,
    I am trying to connect it with the wifi, but its getting failed. I have checked all the connections upto ic pins. Checked tge ssid and password through ip also. But the problem still persists. Could u plz suggest how to solve it? I have designed the circuit without the resistors.

  • @amishverma1521
    @amishverma1521 5 ปีที่แล้ว +6

    Hey i am using nodemcu for the same project but everytime i open my serial monitor it just shows trying to reconnect.

    • @Mtek8
      @Mtek8 4 ปีที่แล้ว

      It works for NodeMCU also, just use TX, RX, 3V and GND from NodeMCU.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend sorry for the inconvenience. Recently I have noticed many ESP01 module comes with different firmware. I will soon upload a well define tutorial on this topic again. For the time being please try to check and pass AT COMMANDS manually and get the ESP module checked. Sure I will update a better and checking process for the ESP. Thank you

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

      ​@@MyEngineeringStuffs Please, you can upload your code again, the 404 error page.

  • @sheeva001
    @sheeva001 4 ปีที่แล้ว

    i tried this in IDE 1.8.9 but the code is failing in all kinds of ways.
    dht.begin does not work, and after trying that to solve i bump into
    warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] on if(ESP8266.find(">"))

  • @collabcostarica9178
    @collabcostarica9178 5 ปีที่แล้ว +2

    This has been very helpful! Thank You!

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      *Thank you Friend* for your kind words.

    • @farishabeha6174
      @farishabeha6174 5 ปีที่แล้ว

      hi. may i ask your favor to help me out solve my problem? i currently facing "Trying reconnect" all over again. i don't know how to solve it. i've watching other tutorial regarding to the problem, but the result still same

  • @sameerk12982
    @sameerk12982 4 ปีที่แล้ว +3

    Excellent tutorial....Thank you very much for creating such an informative tutorial. appreciated.

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

    Thank you for sharing valuable information 🙏🏽

  • @ashishranjan8929
    @ashishranjan8929 5 ปีที่แล้ว

    I m trying to upload the ultrasonic sensor data but its not getting upload.

  • @linyukcheung6822
    @linyukcheung6822 5 ปีที่แล้ว

    hi nice video but i m new in arduino and i cant look clearly where you put wire into ESP8266
    i want to know, can you help me

  • @turulob1055
    @turulob1055 4 ปีที่แล้ว

    Can you develop code for resistance measurement instead of temp and humidity measurement

  • @hrisaris
    @hrisaris 5 ปีที่แล้ว

    Nice detailed video.. I have a query.. how can I insert an rf module data instead of the DHT/. any help will be really appreciated

  • @drohnele3741
    @drohnele3741 5 ปีที่แล้ว +2

    Which DHT library are you using?
    It doest work with he adafruit dht library.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend sorry for not including DHT library. You can download from here: myengineeringstuffs.com/download/1097/
      Delete the previous library before you add this one.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend sorry that i have not included the download file. Please download from here myengineeringstuffs.com/download/1097/

    • @drohnele3741
      @drohnele3741 5 ปีที่แล้ว

      no problem

    • @GERALD70840
      @GERALD70840 5 ปีที่แล้ว

      The issue is with the version of the dht library, I used version 1.2.2 and it works like a charm

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

    what's the hell? t run code and repair to suit with my project but the serial alway to print connect the witfi ?

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

    it is showing "'writeThingSpeak' was not declared in this scope" What to do now

  • @subhamagarwal3266
    @subhamagarwal3266 5 ปีที่แล้ว

    What software do you use to make the circuit diagrams?

  • @carlospocomani8796
    @carlospocomani8796 4 ปีที่แล้ว

    for arduino mega can it work ?, sorry my english it's no good

  • @pavankumarchitturi3036
    @pavankumarchitturi3036 5 ปีที่แล้ว

    what are the thingspeak credentials required
    I have already provided required credentials

  • @elijahturatsinze1576
    @elijahturatsinze1576 4 ปีที่แล้ว +3

    thank you so much for the video, you really gave me the hint for doing my project.

  • @user-co1gi7yd2r
    @user-co1gi7yd2r 4 ปีที่แล้ว +1

    I did everything correctly, yet: "Error compiling for board Arduino Zero (Programming Port).". I even disconnected that one wire during compiling. I use digital pins 8 and 9 instead, do they need to be 2 and 3? i did change the pins in the code though

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend sorry for the inconvenience. Recently I have noticed many ESP01 module comes with different firmware. I will soon upload a well define tutorial on this topic again. For the time being please try to check and pass AT COMMANDS manually and get the ESP module checked. Sure I will update a better and checking process for the ESP. Thank you

    • @user-co1gi7yd2r
      @user-co1gi7yd2r 4 ปีที่แล้ว

      MyEngineeringStuffs I have an arduino zero. Is the wiring any different in my case?

  • @jaysonDfernandez
    @jaysonDfernandez 2 ปีที่แล้ว

    Thank you for this content sir, I was wondering how we can analyze the data then? TIA

  • @pavankumarchitturi3036
    @pavankumarchitturi3036 5 ปีที่แล้ว

    i have installed all the required libraries required for lm35 and pulserate sensor
    Is there any library for ESP8266

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Need to include ESP board manager in preferences(Aditional board manager ULR).
      This is the Link: arduino.esp8266.com/stable/package_esp8266com_index.json
      Then go to Tools-->Boards --> Click Board Manager

  • @Sebastian-wj5gy
    @Sebastian-wj5gy 3 ปีที่แล้ว

    Thank you very much my friend, you really helped me.

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

    why didn't u connect the RX and TX pins from the ESP to the RX TX ports built in the Arduino? On the Arduino u instead connected it to ports 2 and 3. why didn't u connect them to ports 0 and 1?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend you can connect as you like. I am using software serial to do my job you can use hardware serial pins to carryout your task.

  • @itmanlife
    @itmanlife 5 ปีที่แล้ว +2

    thank you so much bro!

  • @NguyenDuy-jd6sm
    @NguyenDuy-jd6sm 4 ปีที่แล้ว +2

    great tutorial m8 !

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

    Why I always trying to connecting bro?
    I tried to connect my esp8266 with AT+CWJAP in serial monitor it work just fine (default empty code), but when I use your code it "Done Compiling" but always trying to reconnect.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend just try to connect manually with your wifi. Means try AT COMMANDS to connect ESP8266-01 with your WIFI ROUTER.

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

    Good Job,thanks for share

  • @arkadeepdatta2104
    @arkadeepdatta2104 3 ปีที่แล้ว

    what would be the Rx Tx pins if I wish to plug into Arduino mega??

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      As I am using Software Serial you can use the same pin. Sorry to reply to you late.

  • @shubhamkhandelwal2393
    @shubhamkhandelwal2393 3 ปีที่แล้ว

    In my serial monitor only showing again and again.. trying to reconnect...
    I am using my mobile hotspot .and also ESP_019F90 open wifi signal is visible in my network settings tab
    Could you please help

  • @mandarxsalvi
    @mandarxsalvi 4 ปีที่แล้ว

    what is the registor value on esp8266

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

    how to remove this error "ESP8266 CIPSEND ERROR: RESENDING"

  • @shirishranjit9677
    @shirishranjit9677 5 ปีที่แล้ว

    Hey your video is awesome bro but I'm having some issues with the esp8266.
    I cant connect esp8266 with the WiFi. Do I need to set it to Station mode first ?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend try to configure your ESP as AT+CWMODE=3 with both AP and ST mode.

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

      @@MyEngineeringStuffs Thanks man. I found out that I was connecting wrong pin in the arduino :p
      What I did was
      RX➡️RX
      TX➡️TX
      instead of
      RX➡️TX
      TX➡️RX
      Silly me 😝

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      @@shirishranjit9677 Best of luck friend

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      @@shirishranjit9677 Best of luck friend

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

    Thank you bro!

  • @riteshkumbhare6463
    @riteshkumbhare6463 5 ปีที่แล้ว

    I also work on thingspeak but my sensor does not obtained on the thingspeak field.
    Please give me suggestion about it. My sensor is MQ-7

    • @zuhdi1183
      @zuhdi1183 3 ปีที่แล้ว

      bro did you get the answer for that? cuz im also using mq7 sensor

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend follow like this first read the mq7 sensor and try to print the data on serial then try the above process to send the data to thingspeak in one of the field value.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      If possible please try updated process
      th-cam.com/video/cpPMGioijqY/w-d-xo.html

  • @g-14magnayemaryeunices.24
    @g-14magnayemaryeunices.24 2 ปีที่แล้ว +1

    Thank you!!!!!

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

    AT+CIPCLOSE
    after started sending data
    it's stopping automatically
    lm35 temp sensor data is not uploading to thingspeak

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend check your thingspeak credentials and api key.

  • @spaceofconfort1751
    @spaceofconfort1751 3 ปีที่แล้ว

    We can send dte from arduino UNO to Thinkspeak without program the ESP ??

  • @sruthimolt3870
    @sruthimolt3870 2 ปีที่แล้ว

    thanks a ton sir for uploading this video

  • @user-co1gi7yd2r
    @user-co1gi7yd2r 4 ปีที่แล้ว

    does it update automatically or do I have to upload the code every time to do so?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Its does upload automatically. Please follow the tutorial.

  • @batman1267
    @batman1267 4 ปีที่แล้ว

    Hi Sir, I wanna ask. How to upload or sending data to thingspeak every 15 minutes or 1 hour? Because I have final task that I want to uploading data to ThingSpeak every 15 minutes

  • @kolisettysasiram311
    @kolisettysasiram311 4 ปีที่แล้ว

    i am unable to download th code can u create a another link for it

  • @electricalsdihyderabad5117
    @electricalsdihyderabad5117 4 ปีที่แล้ว

    Shouldnt rst and cspd pins be powered with 3.3V pin on arduino

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      no it should be in pull condition. Means A register should be connected in between the pins and 3.3v power.

  • @saralsaha7938
    @saralsaha7938 5 ปีที่แล้ว +2

    well explained. But unable to download the Code.

  • @galihnovan8148
    @galihnovan8148 4 ปีที่แล้ว

    Can i using this data from server to control relay with other arduino?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      The same will not help you friend. You need to take the reading API.

  • @pavankumarchitturi3036
    @pavankumarchitturi3036 5 ปีที่แล้ว

    list out the credentials for thingspeak

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

    the text file provided is not the same as in the tutorial

  • @CC-er7ln
    @CC-er7ln 3 ปีที่แล้ว

    Hi sir how to connected lm35, sound, water, touch sensor connected with arduinouno and esp8266 wifi moduals

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend try to interface every module with their respective communication protocol and after getting individual values of every module try to send the data using ESP to thingspeak sever. Hope you get he point and how to interface all the modules you can search on my youtube channel or any other channel. Thank You

  • @raimondiinc.5970
    @raimondiinc.5970 5 ปีที่แล้ว

    Hi, I need help. I got it to work and all but the temp is in Celsius not Fahrenheit. How can I change It? thank you

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      hey friend you can the formula *temp_f = (temp_c x1.8)+32* to convert the temperature in Fahrenheit. And upload the data

    • @raimondiinc.5970
      @raimondiinc.5970 5 ปีที่แล้ว +1

      Which line? At the temp_f=DHT.readTemperature();
      Or
      GetStr += String(temp_f);

    • @raimondiinc.5970
      @raimondiinc.5970 5 ปีที่แล้ว +1

      Thank you

    • @raimondiinc.5970
      @raimondiinc.5970 5 ปีที่แล้ว +1

      Got it. I put it at the getStr line. It works. Thank you very much. Your awesome.

    • @raimondiinc.5970
      @raimondiinc.5970 5 ปีที่แล้ว +1

      A friend of mine showed me your video and I have to thank him.

  • @fatihaoutamante3362
    @fatihaoutamante3362 5 ปีที่แล้ว

    hello, thanks for the good video but even though I deleted the part that you posted I still have the problem of reconnection and I don't know why 😢😢😢🤦‍♀️🤦‍♀️😢 plzz help me

  • @lingsun5010
    @lingsun5010 4 ปีที่แล้ว +2

    Hi thank you so much for providing the tutorial. my monitor is say "trying to reconnect" forever. and I've already changed baud rate to 9600. any chance you know how to fix that ????/by the way. im using ESP8266 Mini.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend thank for the comment. Have you tried the procedure pinned in the comment section again you need to change mode of ESP to ST. So, make the mode default to ST+AP, by using AT+CWMODE=3 at command.

    • @lingsun5010
      @lingsun5010 4 ปีที่แล้ว

      @@MyEngineeringStuffs I dont see the pinned comment,but i did try using AT+CWMODE=3 at monitor command and sent, nothing happened. sorry i dont know how to change . mode of ESP to ST

  • @fizzahmajeed9734
    @fizzahmajeed9734 4 ปีที่แล้ว

    Thankyou

  • @aisyahain1
    @aisyahain1 5 ปีที่แล้ว

    why i cannot upload to the board.... Error compiling for board Arduino/Genuino Uno

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend, if have connected the right board and selected the right board from board manager then the error is some thing different. Please send the actual or send the screen shot of the full error page.

  • @vennamonica1669
    @vennamonica1669 4 ปีที่แล้ว

    i cant understand the connections..........can u help me

  • @navya6452
    @navya6452 4 ปีที่แล้ว

    got the error about dht library saying dht is not name a type

  • @thamkeihon5801
    @thamkeihon5801 4 ปีที่แล้ว

    why my esp8266.begin there got error ??

  • @francescoorefice5201
    @francescoorefice5201 5 ปีที่แล้ว +2

    Hey, thanks for the good video. Can you share the exact schema of the circuit? Thanks :)

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey, thank you for your words. The download link is in the description box. :)

  • @riddhisaireddy6096
    @riddhisaireddy6096 5 ปีที่แล้ว

    Hello, I have a query. I used your code and it did build in successfully but the wifi is not getting connected. The Serial monitor keeps showing "trying to connect". Please tell me how can I solve this issue?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hello Riddhi Sai... I have posted a new code. Code is pinned in the description box please try that code.

    • @riddhisaireddy6096
      @riddhisaireddy6096 5 ปีที่แล้ว

      @@MyEngineeringStuffs i fried both of em but both of em have the same problem.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey Riddhi Sai try this steps
      Before uploading my code.
      Step 1: remove the ic ATmega328 of arduino.
      Step 2: connect Rx of arduino to Rx of ESP and Tx of arduino to Tx of ESP.
      Step 3: Open serial monitor of arduino and set baud at 115200 and Both NL&CR
      Step 4: Send AT it should return OK then AT+CIOBAUD=9600 it should return OK if not then write AT+UART_DEF=9600,8,1,0 it should return OK.
      Step 5: change the serial monitor setting to baud rate at 9600 and Both NL&CR.
      Step 6: change the mode of ESP
      AT+CWMODE=3 it should return OK
      Step 7: upload my code and test

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

      @@MyEngineeringStuffs I will try this out !!! Thank you so much !!!

    • @vennamonica1669
      @vennamonica1669 4 ปีที่แล้ว

      @@riddhisaireddy6096 how....can u help me plz

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

    Nice video, thanks :)

  • @anwaralshamkhany1569
    @anwaralshamkhany1569 5 ปีที่แล้ว

    cause it wont even let me compile the program, I used the correct library but it says error compiling cause of the adafruit library

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Can you let me know the error type.

    • @shashank1250
      @shashank1250 5 ปีที่แล้ว

      Even i had the same problem. I resolved it.
      You can go to sketch/include library/manage libraries. There search for DHT sensor library and select version 1.2.2
      It works correctly. You'll get that error if you're using any other version above 1.2.2

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

    thanks for the video, I followed the exact thing except that I used ESP01 Adapter, however, it's not connecting to internet. Always "....Trying to Reconnect"

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey *hulk brain* try to check with your WIFI credentials and if every thing is ok. Then try to delete the code:
      if(ESP8266.find("WIFI CONNECTED
      ")==1)
      {
      Serial.println("WIFI CONNECTED");
      break;
      }
      times_check++;
      if(times_check>3)
      {
      times_check=0;
      Serial.println("Trying to Reconnect..");
      }
      From the while loop in the setup function.

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

      I also have the same problem and did the same solution as you gave, but the problem still persists. Please rply as soon as possible

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey *Shikha Ujjainiia*
      Delete this code and try again:
      if(ESP8266.find("WIFI CONNECTED
      ")==1)
      {
      Serial.println("WIFI CONNECTED");
      break;
      }
      times_check++;
      if(times_check>3)
      {
      times_check=0;
      Serial.println("Trying to Reconnect..");
      }

    • @siphobaloyi6383
      @siphobaloyi6383 5 ปีที่แล้ว

      Did you guys manage to solve the problem?

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

      Sir now wifi connection problem is solved but a new problem arises that the serial monitor is not showing temperature and humidity values and it also not sending values to the thingspeak. please send me ur email id.

  • @albert2524
    @albert2524 5 ปีที่แล้ว

    CONTENT COP

  • @VJ-gv1mz
    @VJ-gv1mz 3 ปีที่แล้ว

    Sir in this project instead of humidity sensor I use pulse and LM35 Temperature sensor so the code is varies if varies send that code

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey Raj,
      First try to get the data from PULSE sensor & LM35 sensor if you get the data as per your requirement. Try the code in this video following the same procedure to send the data to thingspeak.

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

    Good stuff

  • @WADiviNavya
    @WADiviNavya 4 ปีที่แล้ว

    i am getting the issue at connecting with the wifi. Any solution to that??

  • @abhijeetkumar9286
    @abhijeetkumar9286 5 ปีที่แล้ว

    "exit status 1
    Error compiling for board Arduino/Genuino Uno." It is showing this error. How to resolve this error?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Please take a screen shot and send it to support@myengineeringstuffs.com

    • @kirankumarb2190
      @kirankumarb2190 5 ปีที่แล้ว

      same issue here

  • @Vaigyanikbabashorts
    @Vaigyanikbabashorts 3 ปีที่แล้ว

    very helpful bro good work

  • @meghacv2733
    @meghacv2733 5 ปีที่แล้ว

    Sir, we tried the code..but we r getting "trying to reconnect" problem again and again. We deleted the code too. Still no change. Can u please reply us soon?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey *Megha C V* do check with the baud rate Or you can delete the connecting code and manually connect with the wifi. After connecting the wifi module with wifi just unplug it and connect with the Arduino. So that wifi will automatically connect with your wifi network. And delete the connecting code from Arduino code and give a try . Hope this helps you

  • @anwaralshamkhany1569
    @anwaralshamkhany1569 5 ปีที่แล้ว

    how do u fix the compiling error with the dht library

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Can you let me know the error type.

    • @anwaralshamkhany1569
      @anwaralshamkhany1569 5 ปีที่แล้ว

      it says FindFirstFile C:\Users\Anwar\AppData\Local\Temp\arduino_cache_372182: The system cannot find the file specified.
      Error compiling for board Arduino/Genuino Uno.

  • @aamirehsankhan
    @aamirehsankhan 4 ปีที่แล้ว

    How can we get the temperature without connecting the laptop through USB???

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend this USB cable is only for power supply. You can use any external power supply to power you project or system.

  • @fawzighar392
    @fawzighar392 3 ปีที่แล้ว

    Good job thanks

  • @motilalsuthar4048
    @motilalsuthar4048 2 ปีที่แล้ว

    thanks

  • @shrijanmaram7939
    @shrijanmaram7939 2 ปีที่แล้ว

    Sorry, your source code links are not working. They have so many ads baked in you can't get to anywhere.

  • @Sajidali-pl8ki
    @Sajidali-pl8ki 4 ปีที่แล้ว

    ESP8266 join wifi but serial monitor print("try to reconnect )
    how to fix it

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend Its an issue with your ESP-01 module baud rate. The steps I have mentioned and pinned in the comment please try that. You need to change the baud rate of ESP-01 to 9600 and try the code provided.

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

    helpful

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Thank you *Revati Naik* for your kind words.

    • @KunalKhade25
      @KunalKhade25 5 ปีที่แล้ว

      @@MyEngineeringStuffs there is problem while connecting to WIFI
      Please help
      It shows trying to reconnect continuously ...... i followed steps you commented below same problem but still it shows same line again and again.

    • @KunalKhade25
      @KunalKhade25 5 ปีที่แล้ว

      Should the transmitter pin be connected on the esp while uploading the code on arduino board ? or should we connect it after the code has been uploaded and it displays connecting to WIFI on serial monitor.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      @@KunalKhade25 no matter when you connect esp to arduino as esp is connected with software serial of arduino we have to consider some points like. A new esp baud rate is 115200 and software serial of arduino will not work properly with this baud rate. So, change the baud rate of esp to 9600 and write the AT commands at 9600 baud rate. An d make sure with the wifi credential.

    • @henryovalle3406
      @henryovalle3406 5 ปีที่แล้ว

      MyEngineeringStuffs I am having the same problem. It shows in the serial monitor that is trying to reconnect continuously. Is there any else that I can do to ensure WiFi connection, thanks.

  • @mohamedhamed5747
    @mohamedhamed5747 5 ปีที่แล้ว

    thanks u bro. could you help me to write acode program have to gas sensor

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend you need to write code for interfacing GAS Sensor and see the output on serial monitor if you find the sensor changes value as per your requirement then use this code to replace the gas sensor data with the given data.
      #include
      //connect 2 to Tx of ESP
      //connect 3 to Rx of ESP
      SoftwareSerial ser(2, 3); // RX, TX
      void setup() {
      ser.begin(9600);
      Serial.begin(9600);
      ser.println("AT+CWMODE=3");
      delay(5000);
      ser.println("AT+RST");
      delay(1000);
      ser.print("AT+CWQAP
      ");
      delay(2000);
      unsigned char check_connection=0;
      unsigned char times_check=0;
      Serial.println("Connecting to Wifi");
      while(check_connection==0)
      {
      Serial.print("..");
      ser.print("AT+CWJAP=\"AndroidAP\",\"bejq3330\"
      ");
      ser.setTimeout(5000);
      if(ser.find("WIFI CONNECTED
      ")==1 )
      {
      Serial.println("WIFI CONNECTED");
      break;
      }
      times_check++;
      if(times_check>3)
      {
      times_check=0;
      Serial.println("Trying to Reconnect..");
      }
      }
      delay(5000);
      }
      void loop() {
      // put your main code here, to run repeatedly:
      String cmd = "AT+CIPSTART=\"TCP\",\"";
      cmd += "myengineeringstuffs.com"; // your domain name
      or thingspeak server name
      cmd += "\",80";
      ser.println(cmd);
      if(ser.find("Error")){
      Serial.println("AT+CIPSTART error");
      return;
      }
      String getStr = "GET /textile_automation/receiver.php?// your full website link
      dname=FEPL020220191200&var1=";
      getStr += String(100);
      getStr +="&var2="; //use this for gas
      getStr += String(100); //this is test value chage to String(GasSensorValue):
      getStr +=" HTTP/1.1
      Host: myengineeringstuffs.com";
      // your domain name
      or thingspeak server name
      getStr += "

      ";
      // send data length
      cmd = "AT+CIPSEND=";
      cmd += String(getStr.length());
      ser.println(cmd);
      ser.setTimeout(2000);
      if(ser.find(">")){
      ser.print(getStr);
      Serial.println(cmd);
      }
      else{
      ser.println("AT+CIPCLOSE");
      // alert user
      Serial.println("AT+CIPCLOSE");
      }
      Serial.println(getStr);
      delay(5000);
      }

  • @anishbhende7304
    @anishbhende7304 2 ปีที่แล้ว

    Sir i have 2 problems
    1) i had done as per you said .... but it shows wifi try to reconnect... and wifi connection is not eastablishing.... i am stuck here..... and
    2)lso i want to add bmp 180 semsor ... so pls can you help me with its code

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

      for first issue - Please find one more video with error debugging in my video list.
      for second issue please mail me after completing the first issue.

    • @anishbhende7304
      @anishbhende7304 2 ปีที่แล้ว

      @@MyEngineeringStuffs thank you sir .. for your help i will mail you after completing my 1 issue

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

      Happy to help 🙏

    • @user-tz8qv7ov4r
      @user-tz8qv7ov4r 6 วันที่ผ่านมา

      @@MyEngineeringStuffs can you please share the link of the video.. I have check your video list but could not find it

  • @SupremeNoble
    @SupremeNoble 4 ปีที่แล้ว

    well tried it but my serial monitor only show
    Connecting to Wifi
    .
    that's it, nothing happens after that, any reason why?
    *Edit, now it's stuck at trying to reconnect..

    • @brunovarotta
      @brunovarotta 4 ปีที่แล้ว

      same thing happened to me after changingmy baudrate to 9600 and using esp8266 saparately i can easily conect to wifi .... dont know whats wrong with the code

  • @Jayesh428
    @Jayesh428 2 ปีที่แล้ว

    can i get the source code i am not able to download from given blog website..!

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  2 ปีที่แล้ว

      Please send your requirements to my mail address allabtprojects@gmail.com

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

      Hey friend you can send your requirements to my mail.

  • @wonderwang1585
    @wonderwang1585 5 ปีที่แล้ว

    hi, I use the updated codes, but it still can't locate dht.h (dht:1:17: error: dht.h: No such file or directory. pls help. thanks.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend you can download DHT library. Download link is in the description.

    • @wonderwang1585
      @wonderwang1585 5 ปีที่แล้ว

      thanks so much for this prompt response. I have installed dht.h correctly. but I still get "'dht' can not name a type]" error.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey, friend please check the dht library first. Means test the library and get the temperature and humidity value. After that add the esp code and check it. See there are many DHT library available on net so test a good one to get the temp and humi value then proceed. Hope this helps you.

    • @wonderwang1585
      @wonderwang1585 5 ปีที่แล้ว

      Hi there, like your earnest response. Now code upload is done correctly. I got wifi connect failure by showing " reconecting" repeatly . Why the code dont need to type my wifi ssid and password to get connected?

    • @wonderwang1585
      @wonderwang1585 5 ปีที่แล้ว

      updating - my esp01s-8066 leds are not blinking. does it normal even before connection, only see the TX on arduino blinks when try to reconnect.

  • @vhao6514
    @vhao6514 4 ปีที่แล้ว

    Can i get all the link or not ? Becaz all the link is not available any more

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend please check it is in the description box.

  • @progyansarma8873
    @progyansarma8873 5 ปีที่แล้ว

    The code is not in sync with the library file provided.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend you need to download DHT library only and then you can follow the steps.

  • @jayaprakashsaththasivam2387
    @jayaprakashsaththasivam2387 3 ปีที่แล้ว

    Hi, Can you please tell me on how to connect to
    Wifi WPA2-Enterprise from that requires SSID, username and password? Im using Mega 2650 with ESP -01S. Thank you

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      can you share all the details via mail. ESP-01S can be work like other ESP-01 module.

  • @ManojKumar-np4ej
    @ManojKumar-np4ej 4 ปีที่แล้ว +1

    Nice bro

  • @aishwaryashinde3726
    @aishwaryashinde3726 5 ปีที่แล้ว

    HOw to install DHT library .. it occurs compile error

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

      Hey Aishwarya just extract the zip and copy/paste the library folder into the given location:
      Documents\Arduino\libraries\Here
      and close all the Arduino window and reopen it.

  • @priyeshmalviya1886
    @priyeshmalviya1886 5 ปีที่แล้ว

    Is there no ssid or password required like node mcu to esp8266 module to internet.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend every WIFI module needs to connect with. So, you need to provide cccSSID NAME and SSID PASSWORD in the code.

    • @priyeshmalviya1886
      @priyeshmalviya1886 5 ปีที่แล้ว

      But in code no Ssid and password is written.
      So where we have to write.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend this piece of code is used to connect with your SSID.
      ser.print("AT+CWJAP=\"AndroidAP\",\"bejq3330\"
      ");
      Where AndroidAP is my SSID NAME
      bejq3330 is my SSID PASSWORD.

  • @ManojKumar-np4ej
    @ManojKumar-np4ej 4 ปีที่แล้ว +1

    I need thinkspeak program where do i get

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend please explain me little more so that I can help you little more.

  • @kamesha5973
    @kamesha5973 3 ปีที่แล้ว

    Can i receive data from thingspeak with esp8266-esp01

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Yes, you can with read API key. When you will hit the URL, you will get JSON data. Then you need to process the data.

    • @kamesha5973
      @kamesha5973 3 ปีที่แล้ว

      @@MyEngineeringStuffs But none of the video use esp01 for receiving data instead nodemcu is used for receiving data.So what i asked whether can we receive data with esp01 specifically

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

      Yes, friend why not if we are getting the data. Just we need to read the JSON data and process accordingly.

  • @michaelnathaniel2385
    @michaelnathaniel2385 4 ปีที่แล้ว

    Hi can you re-upload the code? the link you gave is error. Thank you in advance

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

    Hello my friend. Very nice. But your links in the comment are dead... and we can't download the code... seeya

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey, friend sorry for that. My website is under construction please get my mail id from about section and mail me your requirements I will send it ASAP.

    • @rahulanand7830
      @rahulanand7830 3 ปีที่แล้ว

      @@MyEngineeringStuffs please give me Ur contact no or email id..I am facing trying to reconnect issue..

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      @@rahulanand7830 hey friend sorry for the inconvenience, please try this video tutorial th-cam.com/video/yHRkv8p5QmU/w-d-xo.html

    • @rahulanand7830
      @rahulanand7830 3 ปีที่แล้ว

      @@MyEngineeringStuffs Thank u very much I will try to implement this now.If u can share Ur email id or any contact details it will be good for me.I will contact u if some prblm persists.Actually I am stuck in my college major project.If u can guide me ,I will be very thankful.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Yes definitely I will help you. you can mail at allbputprojects@gmail.com

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

    nice video

  • @andikofi115
    @andikofi115 4 ปีที่แล้ว

    i cannot connect to wifi, it keep saying try to reconnect.. i already used both nodemcu and esp8266 but still cant connect.. need help pls. ASAP

    • @andikofi115
      @andikofi115 4 ปีที่แล้ว

      sorry, its not try to reconnect, but still showing ".." in the serial monitor before try to reconnect. help

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend Its an issue with your ESP-01 module baud rate. The steps I have mentioned and pinned in the comment please try that. You need to change the baud rate of ESP-01 to 9600 and try the provided code.

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

      @@MyEngineeringStuffs okay ill try it.. If there's somethin ill tell you

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Ok friend.

    • @andikofi115
      @andikofi115 4 ปีที่แล้ว

      @@MyEngineeringStuffs what if still showing ".." ? I remembered i already used that 9600 baud rate in the first place. Do u have any other suggestion? Thanks

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

    Sir,How could I get wifi module ssid and pass??🙏🙏

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend If you have a HOME wifi connection you should have wifi name (SSID) and password (SSID password) OR if you are using Mobile tethering you should have a WIFI name(SSID) and a password.

  • @vignaeshgopu5490
    @vignaeshgopu5490 4 ปีที่แล้ว

    I couldn't download the code ! It shows the page doesn't exist. Can u fix it?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend please check it is in the description box.

  • @mayurtandel9379
    @mayurtandel9379 5 ปีที่แล้ว

    how to slove this error
    In file included from C:\Users\Mayur\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:
    C:\Users\Mayur\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
    compilation terminated.
    Error compiling.

    • @RahulK-bp8ej
      @RahulK-bp8ej 5 ปีที่แล้ว

      the same error is being faced by me after adding the new dht library ... hope i get a reply soon

    • @mayurtandel9379
      @mayurtandel9379 5 ปีที่แล้ว

      @@RahulK-bp8ej i so time add this library but still same issue.but now i am slove that one.

  • @arsalanahmed2160
    @arsalanahmed2160 4 ปีที่แล้ว

    circuit diagram mil jae gi?

  • @huzaifakhan2853
    @huzaifakhan2853 5 ปีที่แล้ว

    does it worls on every sensor

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend, This code is written to read DHT sensor, If you want to interface any other sensor you need to write the interfacing code of that sensor. And every thing is same for sending the data into thingspeak sever is same.