• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Communication between Arduino and ESP8266

Q&A Forum › Category: Home Automation › Communication between Arduino and ESP8266
0 Vote Up Vote Down
Tranquoctu93 asked 6 years ago

Hi
I am learning a course Build a home Automation System all connection between Materials are good but 1 thing make me confuse so much.
That How build Firmware for ESP8266 (specific ESP8266 v1) communication with Arduino to extend system controller with at least cost ( cz ESP8266 just a module Wifi no need more).
Pls support me or you can guide me some course help me build this Firmware so effective.
Thanks.
Mr.Tu

7 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

How does the ESP will communicate with the Arduino? Using serial communication? What exactly do you have in mind?
It would help if you could describe your application a bit more. Regards,
Rui

0 Vote Up Vote Down
Tranquoctu93 answered 6 years ago

I take a trouble when try serial communication with Raspi and Arduino at the same time.
How we can connect ESP with Arduino and Raspi ?
Use different way like UART , I2C or something else.
I want to find the best way for transfer Data to Broker and Arduino at the same time

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

What was the problem with the serial communication?

0 Vote Up Vote Down
Tranquoctu93 answered 6 years ago

I am a newbie so hard to explain exactly !
It likes when I Serial.print(messeger) from Arduino and Raspi (Broker) the Data so complex and delay sometime missing when to transfer !
I am looking the solution to divine 2 ways ESP and Arduino, ESP and Raspi the same time

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

No problem! I\’m here to help and trying to understand your problem. The serial protocol is a bit slow sometimes, if you need to process the data very quickly… It also requires a physical connection. To establish a two way communication, you could connect all your devices using MQTT via Wi-Fi (ESP32, ESP8266, Raspberry Pi, or Arduino+Ethernet Shield).

0 Vote Up Vote Down
Tranquoctu93 answered 6 years ago

Thanks for help.
Now I am trying use ESP32 to support build MQTT, it is easier and more efficient !
 

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Exactly for a reliable wireless two way communication, I recommend MQTT. Let me know if you have further questions!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.