How to send sensor dat to thingspeak server using ESP and Arduino.
Vložit
- čas přidán 12. 09. 2024
- #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.i...
Email Marketing tool:
📨 myengineerings...
📨 www.getrespons...
Download Source Code:
myengineerings...
🪔 Please help to grow my channel by subscribing to my channel:
🎬 / @myengineeringstuffs
👉 You can visit my website and find interesting projects.
🌍 myengineerings...
🚮💲 if you want to contribute:
Paypal account: allabtprojects@gmail.com
⚡🌟⚡🌟 More Projects below🌟⚡🌟⚡
🧸 Game using Arduino
🎬 • Two Player Ping Pong G...
🌍 myengineerings...
📡 Notice board projects
🎬 • IOT (internet of thing...
🌍 myengineerings...
🎬 • Wireless notice board ...
🌍 myengineerings...
🏡 Home Automation Projects
🔥 Firebase Based Home Automation
🎬 • Google firebase based ...
🌍 myengineerings...
☁ Google Assistance Home Automation
🎬 • Google firebase based ...
🌍 myengineerings...
⏱ RTC Projects
🕜 Schedule ON/OFF devices using RTC
🎬 • Schedule turn ON/OFF o...
🌍 myengineerings...
🕜 Timer, Stopwatch, and Alarm
🎬 • Schedule turn ON/OFF o...
🌍 myengineerings...
🔌💡 AC voltage controlling Projects
🎬 • ARDUINO AC VOLTAGE CON...
🌍 myengineerings...
👉 ⛅🌈Weather Monitoring Project
🎬 • Weather data monitorin...
🌍 myengineerings...
👉🖨️ Thermal Printing Machine DIY
🌍 myengineerings...
🎬 • Mini serial TTL Therma...
🌍 myengineerings...
⚠️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
*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);
}
why in code is error: 'getStr' does not name a type?
Can you please share screenshot of the error.
Hey friend, It's an system error. Not related to code.
esp8266 join wifi but Serial Monitor print("Trying to Reconnect..")
how to fix
@@MyEngineeringStuffs
thx buddy but now i can't send data to thingspeak
Excellent tutorial....Thank you very much for creating such an informative tutorial. appreciated.
Thank you friend.
This has been very helpful! Thank You!
*Thank you Friend* for your kind words.
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
is that a resitor on that wifi module? why did ypu solder it? if you soldered whats the resistence value and what pins you connected?
Thank you for sharing valuable information 🙏🏽
Hey i am using nodemcu for the same project but everytime i open my serial monitor it just shows trying to reconnect.
It works for NodeMCU also, just use TX, RX, 3V and GND from NodeMCU.
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
@@MyEngineeringStuffs Please, you can upload your code again, the 404 error page.
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
great tutorial m8 !
thank you so much for the video, you really gave me the hint for doing my project.
Thank you friend
Thank you very much my friend, you really helped me.
Happy to help
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.
thank you so much bro!
Thank you friend for your kind words.
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?
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.
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
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
MyEngineeringStuffs I have an arduino zero. Is the wiring any different in my case?
what's the hell? t run code and repair to suit with my project but the serial alway to print connect the witfi ?
thanks a ton sir for uploading this video
Thank you for your valuable comment 🙏
Which DHT library are you using?
It doest work with he adafruit dht library.
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.
Hey friend sorry that i have not included the download file. Please download from here myengineeringstuffs.com/download/1097/
no problem
The issue is with the version of the dht library, I used version 1.2.2 and it works like a charm
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.
Sir, what if I use an MQ-2 gas sensor? What codes should I replace or on this current code then?
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.
Hey friend just try to connect manually with your wifi. Means try AT COMMANDS to connect ESP8266-01 with your WIFI ROUTER.
it is showing "'writeThingSpeak' was not declared in this scope" What to do now
very helpful bro good work
Glad to hear that
how to remove this error "ESP8266 CIPSEND ERROR: RESENDING"
Nice video, thanks :)
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
Good Job,thanks for share
Thank you bro!
Thank You friend for your kind words.
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(">"))
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
Sorry, your source code links are not working. They have so many ads baked in you can't get to anywhere.
Sorry for that friend.
the text file provided is not the same as in the tutorial
Good job thanks
Thank you friend.
well explained. But unable to download the Code.
We can send dte from arduino UNO to Thinkspeak without program the ESP ??
Yes friend by using AT COMMANDS
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
Shouldnt rst and cspd pins be powered with 3.3V pin on arduino
no it should be in pull condition. Means A register should be connected in between the pins and 3.3v power.
Thank you!!!!!
I m trying to upload the ultrasonic sensor data but its not getting upload.
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.
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.
@@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
AT+CIPCLOSE
after started sending data
it's stopping automatically
lm35 temp sensor data is not uploading to thingspeak
Hey friend check your thingspeak credentials and api key.
I will send sensor data from arduino to esp8266 ESP-12E, will esp8266 ESP-12E work with thingspeak ?
The code I have proved will not work for your requirement if your ESP12E isn't in AT-COMMAND mode. But yes you to do that by writing its appropriate code.
Thank you for this content sir, I was wondering how we can analyze the data then? TIA
for arduino mega can it work ?, sorry my english it's no good
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
What software do you use to make the circuit diagrams?
Microsoft Office Visio 2007
Can you develop code for resistance measurement instead of temp and humidity measurement
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
Thingspeak allows data at every 16 seconds.
why my esp8266.begin there got error ??
what is the registor value on esp8266
what are the thingspeak credentials required
I have already provided required credentials
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 ?
Hey friend try to configure your ESP as AT+CWMODE=3 with both AP and ST mode.
@@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 😝
@@shirishranjit9677 Best of luck friend
@@shirishranjit9677 Best of luck friend
got the error about dht library saying dht is not name a type
i have installed all the required libraries required for lm35 and pulserate sensor
Is there any library for ESP8266
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
what would be the Rx Tx pins if I wish to plug into Arduino mega??
As I am using Software Serial you can use the same pin. Sorry to reply to you late.
does it update automatically or do I have to upload the code every time to do so?
Its does upload automatically. Please follow the tutorial.
Nice bro
Hi sir how to connected lm35, sound, water, touch sensor connected with arduinouno and esp8266 wifi moduals
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
i cant understand the connections..........can u help me
I need thinkspeak program where do i get
Hey friend please explain me little more so that I can help you little more.
i am getting the issue at connecting with the wifi. Any solution to that??
Try to connect manually by passing AT COMMANDS.
Can i using this data from server to control relay with other arduino?
The same will not help you friend. You need to take the reading API.
Good stuff
omkar samant Thanks for your words
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
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.
why my dht11 showing nan%
I couldn't download the code ! It shows the page doesn't exist. Can u fix it?
Hey friend please check it is in the description box.
How can we get the temperature without connecting the laptop through USB???
Hey friend this USB cable is only for power supply. You can use any external power supply to power you project or system.
why i cannot upload to the board.... Error compiling for board Arduino/Genuino Uno
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.
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"
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.
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
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..");
}
Did you guys manage to solve the problem?
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.
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?
Hello Riddhi Sai... I have posted a new code. Code is pinned in the description box please try that code.
@@MyEngineeringStuffs i fried both of em but both of em have the same problem.
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
@@MyEngineeringStuffs I will try this out !!! Thank you so much !!!
@@riddhisaireddy6096 how....can u help me plz
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?
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
The code is not in sync with the library file provided.
Hey friend you need to download DHT library only and then you can follow the steps.
Hey, thanks for the good video. Can you share the exact schema of the circuit? Thanks :)
Hey, thank you for your words. The download link is in the description box. :)
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
bro did you get the answer for that? cuz im also using mq7 sensor
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.
If possible please try updated process
czcams.com/video/cpPMGioijqY/video.html
Can i get all the link or not ? Becaz all the link is not available any more
Hey friend please check it is in the description box.
i am unable to download th code can u create a another link for it
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
hey friend you can the formula *temp_f = (temp_c x1.8)+32* to convert the temperature in Fahrenheit. And upload the data
Which line? At the temp_f=DHT.readTemperature();
Or
GetStr += String(temp_f);
Thank you
Got it. I put it at the getStr line. It works. Thank you very much. Your awesome.
A friend of mine showed me your video and I have to thank him.
Sir,How could I get wifi module ssid and pass??🙏🙏
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.
Just wifi cobnecting not to beconneted .. Whyyyyy?
Hello Sir. Do you know how to send mq7 gas sensor to mysql using esp01 as data transceiver ???
Hey friend, yes it is possible to log in mysql. First you need to create a local server and create a database and a php script that can receive data and add to the database(mysql).
@@MyEngineeringStuffs Sir please can you teach me how. I know how to make php code but for coding arduino to send data is my problem.
Can you show me sir how to code arduino for sending data to mysql. Ive seen many tutorials but all were not working. I hope sir that you can help me sir for this. God bless 🙏
Please mail me. So that I can help you.
@@MyEngineeringStuffs I've sent you an email Sir.
cause it wont even let me compile the program, I used the correct library but it says error compiling cause of the adafruit library
Can you let me know the error type.
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
nice video
Thanks for your kind words
Can i receive data from thingspeak with esp8266-esp01
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.
@@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
Yes, friend why not if we are getting the data. Just we need to read the JSON data and process accordingly.
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..
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
can i get the source code i am not able to download from given blog website..!
Please send your requirements to my mail address allabtprojects@gmail.com
Hey friend you can send your requirements to my mail.
circuit diagram mil jae gi?
how do u fix the compiling error with the dht library
Can you let me know the error type.
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.
HOw to install DHT library .. it occurs compile error
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.
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
Is there no ssid or password required like node mcu to esp8266 module to internet.
Hey friend every WIFI module needs to connect with. So, you need to provide cccSSID NAME and SSID PASSWORD in the code.
But in code no Ssid and password is written.
So where we have to write.
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.
ESP8266 join wifi but serial monitor print("try to reconnect )
how to fix it
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.
"exit status 1
Error compiling for board Arduino/Genuino Uno." It is showing this error. How to resolve this error?
Please take a screen shot and send it to support@myengineeringstuffs.com
same issue here
list out the credentials for thingspeak
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
can you share all the details via mail. ESP-01S can be work like other ESP-01 module.
I am unavailable to connect to wifi why
Hey friend please follow this tutorial
czcams.com/video/cpPMGioijqY/video.html
Hope this will help you.
Are you sure this code works
Hey *MDB* for me the code works fine every time tried. But I am seeing that most the board are not working. Just try the code.
does it worls on every sensor
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.
Hello my friend. Very nice. But your links in the comment are dead... and we can't download the code... seeya
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.
@@MyEngineeringStuffs please give me Ur contact no or email id..I am facing trying to reconnect issue..
@@rahulanand7830 hey friend sorry for the inconvenience, please try this video tutorial czcams.com/video/yHRkv8p5QmU/video.html
@@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.
Yes definitely I will help you. you can mail at allbputprojects@gmail.com
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.
Hey friend you can download DHT library. Download link is in the description.
thanks so much for this prompt response. I have installed dht.h correctly. but I still get "'dht' can not name a type]" error.
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.
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?
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.
thanks
Thank you friend for your valuable comment.
what about using adlx345?
Do you want to send accelerometer data to thingspeak server? You can send any sensor data to server as per your requirement.
@@MyEngineeringStuffs i can send acelaration data, but my code for send orientation won't work with esp8266, but work with adlx345 - arduino
@@Drakanx can you please contact me on my email ID. I can not understand, what exactly you need.