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.
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,
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
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
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).
Thanks for help.
Now I am trying use ESP32 to support build MQTT, it is easier and more efficient !