Chat freely about anything...

User avatar
By maykon.meneghel
#56386 Hi there,
How to build a mesh network using ESP8266 on arduino IDE?
I`ve tried this code:

https://github.com/Coopdis/easyMesh

But still haven't got any results

Problem:

I`m trying to develop a mesh network between two or more ESP8266 using the arduino IDE because I`m more used to working with it.
I`ve been trying to use the easy mesh code, but I`m getting trouble in compiling it. it Simple doesn`t compile, as if it were in an infinite loop.

And, I also tried another code:

https://github.com/esp8266/Arduino/blob ... loMesh.ino

it worked perfectly but instead of recognizing the other ESP I have the following issue:

"
Exception (2):
epc1=0x3ffe84e0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x3ffe84e0 depc=0x00000000

ctx: cont
sp: 3ffefa40 end: 3ffeff50 offset: 01a0

>>>stack>>>
3ffefbe0: feefeffe feefeffe feefeffe feefeffe
3ffefbf0: feefeffe feefeffe feefeffe feefeffe
3ffefc00: feefeffe feefeffe feefeffe feefeffe
3ffefc10: feefeffe feefeffe feefeffe feefeffe
3ffefc20: feefeffe feefeffe feefeffe feefeffe
3ffefc30: feefeffe 00000004 3ffefc90 3ffefca1
3ffefc40: 40107020 00000000 3fff1320 00000484
3ffefc50: 3ffefdd0 feefeffe 000000a5 feefeffe
3ffefc60: feefeffe 00000000 00000000 3ffefbf0
.
.
.
"

Have you got any hint on that!!?
I trully appreciate it!
User avatar
By sfranzyshen
#56423
maykon.meneghel wrote:Problem:

I`m trying to develop a mesh network between two or more ESP8266 using the arduino IDE I`m getting trouble in compiling it. it Simple doesn`t compile, as if it were in an infinite loop.


When you say that it "does not compile, as if it were in an infinite loop" are you sure that it's not failing the compile? ... make sure that the arduino ide feedback window is large enough to see everything being echoed back ... the ide window is split in two parts ... the top (where the code is) and the bottom where the console messages are echoed ... if you use your mouse and resize the bottom by dragging the (line) separation up to show more of the lower window ... I am assuming that you did not install/update one of the dependent libraries ... https://github.com/Coopdis/easyMesh#dependencies ... try running the library manager ( sketch->include library->manage libraries) and update ArduinoJson ... SimpleList has no update in the library manger so you will have to install/update it manually ... also what version of the ide are you using?

maykon.meneghel wrote:And, I also tried another code:
https://github.com/esp8266/Arduino/ ....
it worked perfectly but instead of recognizing the other ESP I have the following issue ...

Have you got any hint on that!!?
I trully appreciate it!


This (core esp8266 arduino) code is very limited ... and I have never even tried it ... so ?