Comments on: ESP-NOW Two-Way Communication Between ESP8266 NodeMCU Boards https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 29 Jun 2024 05:42:31 +0000 hourly 1 https://wordpress.org/?v=6.8.1 By: Dhairy Bagave https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-931832 Sat, 29 Jun 2024 05:42:31 +0000 https://randomnerdtutorials.com/?p=97190#comment-931832 How can I facilitate two way communication between esp8266 and my phone
I prefer doing it by keeping the wifi of my mobile on.

]]>
By: Malcolm McGrath https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-921310 Tue, 04 Jun 2024 02:47:29 +0000 https://randomnerdtutorials.com/?p=97190#comment-921310 Thanks very much for your project.

I implemented your code with two D1 minis, works a treat, used a couple of switches and leds rather than using and humidity. My plan is to add a Gravity voice recognition module to the sending device and create an Alexa type device for controlling an alarm system.

So far so good. 🙂

]]>
By: David https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-829620 Tue, 11 Apr 2023 13:25:39 +0000 https://randomnerdtutorials.com/?p=97190#comment-829620 In reply to Sara Santos.

I was able to get this to work. I did not realize to just remove the FF portion and enter each section of the MAC.

]]>
By: David https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-829619 Tue, 11 Apr 2023 13:24:22 +0000 https://randomnerdtutorials.com/?p=97190#comment-829619 Hello. I find this feature very usefull and I was able to replicate it with no issues. I am trying to implement this into an existing sketch that I have with a Wemos D1 mini. It is already setup using OTA updates and NTP for network time. It also has a working OLED display and temp sensor. When trying to integrate this, It is not working. I took your existing code and tried to just add the OTA code. It seems the line WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); for the OTA code conflicts with the line WiFi.mode(WIFI_STA); WiFi.disconnect(); in the ESP_Now code. Can these two useful features( OTA Updates and ESP_Now) exist together in one sketch? Thank you

]]>
By: Sara Santos https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-827797 Sat, 01 Apr 2023 14:51:07 +0000 https://randomnerdtutorials.com/?p=97190#comment-827797 In reply to David.

Hi.
What’s the issue?
It seems to be in the right format.
Regards,

Sara

]]>
By: David https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-827767 Sat, 01 Apr 2023 10:48:07 +0000 https://randomnerdtutorials.com/?p=97190#comment-827767 Good day. I found this article and it seems to be just what I am looking for. I have two aquariums each with a Wemos D1 mini and temp probe with OLED display. Both are connected to WiFi to get NTP for running timers. I want to send temp data from one to the other so that one can display two temps. I am running into the issue of inputting my MAC address in the line
uint8_t broadcastAddress[] = {0x2C, 0x3A, 0xE8, 0x0E, 0xBB, 0xED};
what format is this looking for and how do I convert it? Thank you

]]>
By: Sara Santos https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-809290 Tue, 10 Jan 2023 17:08:11 +0000 https://randomnerdtutorials.com/?p=97190#comment-809290 In reply to Prof.K.R.Rao.

Hi.
It is very difficult to troubleshoot this issue without further info.
The first step is to check that a ESP-NOW sketch works with both boards—check that both boards are able to receive and send ESP-NOW packets.
Check the MAC address.
Check the board model you’re using. It is better to use the specific GPIO that connects to the built-in LED instead of LED_BUILTIN (because the board you select might not be exactly the one you’re using).
Check if you get any errors on the Serial Monitor.
Regards,
Sara

]]>
By: Prof.K.R.Rao https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-808936 Mon, 09 Jan 2023 06:08:39 +0000 https://randomnerdtutorials.com/?p=97190#comment-808936 Hi Sara
Happy New Year!
With regard to ESP-NOW Two-way communication:
I connected Push-button to GPIO5 of two ESP8266s and used LED_BUILTIN to monitor the PRESS.
I have taken necessary care in appropriately loading the MAC addresses.
When I press a button the LED of both ESP8266s should be ON. I developed the program accordingly. I found that this happens only in one direction but not the other way.
Can u pl. resolve it ?
Regards
Prof K R Rao

]]>
By: Colin https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-736508 Thu, 07 Apr 2022 21:19:22 +0000 https://randomnerdtutorials.com/?p=97190#comment-736508 In reply to Sudhanshu Trivedi.

It’s still using electromagnetic radiation so doesn’t need a medium. You may know that the ESP can create an access point WiFi.softAP(Sensor_User, Sensor_Password) and so it’s not surprising that it can communicate with another ESP.
No WiFi just means it’s not connecting to a router.

]]>
By: Sudhanshu Trivedi https://randomnerdtutorials.com/esp-now-two-way-communication-esp8266-nodemcu/#comment-736356 Thu, 07 Apr 2022 06:51:59 +0000 https://randomnerdtutorials.com/?p=97190#comment-736356 What does exactly esp-now using to communicate ? What no-wifi means ? Through which medium it is sending the data ?

]]>