0

I am using xbee pro s2c to get data from arduino (temp, pressure etc.) and I am sending data another xbee module and read these data from serial port.

Question is that I want to use esp8266 instead of xbee. Is it possible? Can I communicate 2 esp module like xbee?

Juraj
18.3k4 gold badges31 silver badges49 bronze badges
asked Mar 31, 2020 at 12:10
1
  • you would just need one ESP, which connects to both your wifi and the sensor. You could use 2 with ESP-NOW to get a non-wifi module communication going, but it's simpler to use wifi. You also likely don't even need an arduino; sensors can connect directly to the ESP. Commented Mar 31, 2020 at 17:58

1 Answer 1

1

You can make two ESP8266 modules talk together, yes. It's not "simple" like an XBee, since you have a generic WiFi network interface, so there's many many different ways of doing it. Typically one would be running as a WiFi Access Point (SoftAP) and the other would connect to it. Then you'd run some "server" code on one module (typically the SoftAP one) and the other acts as a client and connects to it (or sends data to it).

Juraj
18.3k4 gold badges31 silver badges49 bronze badges
answered Mar 31, 2020 at 13:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.