Arduino with ThinkSpeak | Monitoring IoT data over ThingSpeak | ThingSpeak with esp8266 | 2024

preview_player
Показать описание
#internet_of_things #ThinkSpeak #esp8266
In this video, we will see how we can send sensor data to thinkspeak with Arduino Uno using esp8266.
In this video, we're going to build a website to monitor IoT data over ThingSpeak. We'll be using the ThinkSpeak platform to broadcast our data to the world, and the esp8266 microcontroller to act as our IoT controller.

If you're interested in IoT or smart cities, then this video is for you! We'll cover everything from setting up your ThingSpeak account to building our website and sending our data over ThingSpeak. By the end of this video, you'll have everything you need to start monitoring your IoT data!
In this video, we're going to show you how to monitor IoT data over ThingSpeak with an esp8266 board and our ThinkSpeak website. We'll also talk about how to use ThingSpeak with an espressif board to control your sensors.

If you're interested in monitoring IoT data or controlling your sensors with your computer, then this video is for you! We'll show you how to connect your esp8266 board to our ThinkSpeak website and use it to monitor data streams from your sensors. Plus, we'll explain how to use our ThinkSpeak platform to control your devices
In this tutorial, we're going to learn how to use Arduino with ThinkSpeak to monitor IoT data over ThingSpeak. We'll also be using ThingSpeak with an esp8266 to send the data to a website. This training will help you learn how to use Arduino and ThingSpeak to monitor IoT data.

So are you ready to learn how to use Arduino and ThingSpeak to monitor IoT data? In this tutorial, we'll be building a simple project that will help you learn everything you need to know! We'll be using Arduino and ThingSpeak to monitor a sensor, and we'll be transferring the data to a website for analysis. So whether you're a beginner or an expert in Arduino and Thing
Рекомендации по теме
Комментарии
Автор

#include <SoftwareSerial.h>
#define RX 2 // TX of esp8266 in connected with Arduino pin 2
#define TX 3 // RX of esp8266 in connected with Arduino pin 3
String WIFI_SSID = "WIFI NAME";// WIFI NAME
String WIFI_PASS = "WIFI PASSWORD"; // WIFI PASSWORD
String API = "Write API KEY";// Write API KEY
String HOST = "api.thingspeak.com";
String PORT = "80";
int countTrueCommand;
int countTimeCommand;
boolean found = false;
SoftwareSerial esp8266(RX, TX);
void setup() {
Serial.begin(9600);
esp8266.begin(115200);
sendCommand("AT", 5, "OK");
sendCommand("AT+CWMODE=1", 5, "OK");
sendCommand("AT+CWJAP=\""+ WIFI_SSID +"\", \""+ WIFI_PASS +"\"", 20, "OK");
}
void loop() {
int tem=random(20, 30); // int tem= analogRead(A0)
int hum=random(70, 80); //int tem= digitalRead(11)
int light=random(0, 100); //int tem= AnalogRead(A0)
String getData="GET /update?api_key="+ API+"&field1="+tem+
"&field2="+hum +"&field3="+light;
sendCommand("AT+CIPMUX=1", 5, "OK");
sendCommand("AT+CIPSTART=0, \"TCP\", \""+ HOST +"\", "+ PORT, 15, "OK");
sendCommand("AT+CIPSEND=0, " +String(getData.length()+4), 4, ">");
esp8266.println(getData);
delay(1500);
countTrueCommand++;
sendCommand("AT+CIPCLOSE=0", 5, "OK");
}
void sendCommand(String command, int maxTime, char readReplay[]) {

Serial.print(". at command => ");
Serial.print(command);
Serial.print(" ");
while(countTimeCommand < (maxTime*1))
{


{
found = true;
break;
}
countTimeCommand++;
}
if(found == true)
{
Serial.println("OK");
countTrueCommand++;
countTimeCommand = 0;
}
if(found == false)
{
Serial.println("Fail");
countTrueCommand = 0;
countTimeCommand = 0;
}
found = false;
}

makersgroup
Автор

thanks for the code... the video was ok, but the code was needed... it explains the at commands needed to directly connect to thingspeak... thanks again

molepistol
Автор

Super useful. Got my temp logger working. Thanks.

ruenjou
Автор

where can i get to learn about writing source code for different projects

snehashisbose
Автор

all things in my serial monitor is fail. is that because of my chipset esp8266EX ? not esp8266 . i replaced all 8266 to with 8266EX still doesnt work.

bbbilgi
Автор

@makersgroup do you use any resistors in the project, and if so can you tell me what resistors I need to implement this with dht11 sensor for temperature and humidity data ?

anasslaafou
Автор

Hello sir i want to ask. is it because my license type is free so the data that uploaded in thingspeak is not stable?

jiwoongchingu
Автор

can i use for MQTT to publish and subscribing the data :?\

hlpcwqz
Автор

Which Arduino IDE version are you using?

UmairbinMansoor
Автор

i want to know about how to i m use it in mqtt

hlpcwqz
Автор

without a sensor as an input?
which data did you upload in the server?

fotterf
Автор

I have tried the coding and circuit connectiom many times and still can not connect to the internet

kito
Автор

I did the same. But all AT commands are failing. When I manually type them, it's working. Why?

anushangapavith
Автор

RX, TX wrong connected in show figure 4:23

hetgajjar_
Автор

Sir i have node mcu can i use like WiFi module

hariharanm
Автор

Hola, que hace si todo me sale Fail :(

gianderilizbethzilpazapata
welcome to shbcf.ru