Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By GengusKahn
#61729 Hi there, setup the Xbee and arduino as per your needs as a standard sketch then communicate whatever you recieve from the Xbee network via the I2C from the Arduino to the ESP running a web server....

Look through this github for some information.......

https://github.com/telecombretagne/Arduino-IPv6Stack
User avatar
By JyotiRajSharma
#61736 Hi,

Thanks for your information.

Can I communicate xbee with Esp8266 using uart i.e xbee tx to esp8266 rx and xbee rx to esp tx. In this case, whatever i receive in xbee will be forwarded to esp. Is my understanding correct ?? You are using i2c as you recieive data from2 routers right??
I am receiving data from one router and have 8 pin esp which i think do not have separate i2c pins. I want to forward the data from xbee to esp using 8 pin chip only for now using uart.

I s it feasible?? Sorry for several question :D
User avatar
By bjoham
#61739 The esp8266 has no hw i2c. Hence, you can use any gpio pins you like; preferably non-uart pins.

Then you can use the uart pins to communicate with the XBee.

With the esp as master, you can connect as many arduinos you want on the i2c bus. (Reasonable limits of course!)
User avatar
By GengusKahn
#61743 The use of Serial is simple...

Follow the examples here....

https://github.com/andrewrapp/xbee-arduino

The serial and software serial are available in the ESP8266 as are mapping of RX and TX to alternative pins via Software Serial....

I would suggest you look through the page here......This will explain the "8 pins".......

https://github.com/esp8266/Arduino/blob/master/doc/reference.md#digital-io