Arduino to ESP8266 Data With Serial Communication Using Arduino IDE (Mac OSX and Windows)

preview_player
Показать описание
==========
• Your support helps me post videos more frequently:
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
==========
• My shops:
==========
• Description:
Often times we need to report data collected from sensors to a 'central' location for visualization. Typically, we use cloud services such as Thingspeak, myDevices Cayenne, or Ubidots for this purpose. However, it is possible to dedicate an ESP8266 to carry out these tasks.
==========
• Project parts:
ACROBOTIC Development Board for ESP8266:
ACROBOTIC Uno (clone) Development Board:
==========
• Project code:
Firmware for the Arduino IDE:
==========
• Related vids:
==========
• Tutorials:
Detailed guide for getting started with the ESP8266 Development Board:
Detailed guide for getting started with the Arduino Uno (clone) Development Board:
==========
• Sponsor:
This video was sponsored by JLCPCB.
==========
• Music:
==========
#ESP8266 #Arduino #Tutorial
Рекомендации по теме
Комментарии
Автор

The startup WIFI status output to Serial, generates a invalid response which causes the whole communication to be out of sync. I'm getting "delayed" values, meaning the if I request a web update, then I get the values from the update before.
I solved it by emptying the serial buffer at the end, ensuring that nothing is left. Insert a Serial.readString(); just after server.send

madspoulsen
Автор

This was the tutorial that saved my life, thank you so much. The explanation and steps were great!

JuanCarlosGarfiasTovar
Автор

Thanks! Another great video and project. All the best

paulgibby
Автор

Your video actually helped a-lot, thankyou for making a wonderful and instructional video.

kunalsanghvi
Автор

what changes do I need to make in the code if I don't want the request part in the program?

neerajgupta
Автор

Thank you for the wonderful video. I finally understood serial communication. Is there any way, I can include port number in the server? Because I'm using this code along with Node.js to create an express server.

sinchanagupta
Автор

Serial.print puts data to serial port and it's a loop then between Arduino and ESP8266. Is there any workaround or just not use Serial.print at all for debug statements ?

deepakdgreat
Автор

Since that esp 8266 uses 3.3v in their ports and Arduino uses 5 V, isn't possible to damange the esp ?

TheGood
Автор

hey can we do this using esp32 instead of esp8266what are code differences

Leo-vyfz
Автор

Excellent video! keep up the good work!

Imancu
Автор

Does this also work if i only have one usb port on my Laptop? What can I do if the esp8266 registered in my network but the local webpage does not Show anything while loading ifinitly?

simonlukas
Автор

can i assign tx, rx pin to other pin in arduino bcoz im already using that tx, rx for other purpose.

thennz
Автор

If you're tired of waiting "forever" for the response, speed up things a lot by adding: Serial.setTimeout(20);
in your Setup method, on both the Arduino and the ESP.
It will be lightning fast, but perhaps you need to adjust the timeout value. Also running 115200 on the serial port speed is great.
Thanks for the video by the way, ACROBOTIC. You saved me a lot of time with this simple setup!

madspoulsen
Автор

I have a problem when opening the webserver with the IP adress. It takes a few minutes to show the sensor data on the page. What could be the issue?

danielman
Автор

Excelente mi estimado saludos desde Ecuador, una consulta en el Node MCU esp8266 como envío los datos hacia thingspeak ya qué te permite generar gráficas

jktipan
Автор

How many sensor data can be send through DynamicJson

ayushmishra
Автор

Its work !
Other time i try to modify this program, and remove webserver view to be display json data on serial monitor.

I save the json program in void loop, but i have a error in my program. Nodemcu can't read the json data from arduino.

Can you help me ?

TresnaWidiyaman
Автор

Hello,

Please I really need your help, I want to finalize a project but I'm stuck with sending information from one board to another, could you please help? maybe something is wrong with my code.

jelkabisa
Автор

Thank you
Please I have question
Can we use software serial to send data like time and RFID card uid instead of arduinojeson

cceungf
Автор

Great video and its easy to understand, however i ran the code on mega, the url/web request trigures the function handleIndex and data is sent to mega but the esp cannot deserialise the response it says failed: IncompleteInput"

tapsonkadakure
visit shbcf.ru