A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By jperbar409
#48474 Hi @ll, from Spain,

We have resolved the way to create a Cascaded network using several ESP8266

If you want the system working watch this video, in Spanish

https://youtu.be/9vDUUGPt484

Now we have the English version also

https://www.youtube.com/watch?v=Wu1HqwZrpcE

In this video you can see several networks...

a) One called PASILLO_IZQUIERDO. We have an ESP8266 working both as AP and STA. As AP runs 4 TCP servers listening to 4 different ports ... Then 4 different ESP8266 connect to the servers sending data from a DHT11 sensor
As STA connects to a higher node called PLANTA using a new TCP connection

b) One called PASILLO_DERECHO, working the same way as PASILLO_IZQUIERDO does

c) Now we have a new node called PLANTA, in a higher level,working as well both as AP and STA. This node runs 4 different TCP servers, who could connect to 4 different PASILLO nodes, whereby we can connect up to 16 DHT11 sensors

Then, this node connects as STA to a router ( not needed ) that creates a new network called IESLASLAGUNAS

d) We have a PC connected to IESLASLAGUNAS WiFI network and therefore to PLANTA node. The PC run a server, and PLANTA node connects to it as a client. The PC runs a sketch in Processing, so you must see the 8 sensors sending data simultaneously. The payload is i.e,

"3eEM:000123T25H11·

3eE is the DHT11 node identifier ( red and yellow boxes are DHT11 nodes )
M:000123 is merely a simple counter, identifying the number of measure. Useful to check if we lose any packet
T:25 temperatyre
H:34 humidity

You can see the eight nodes watch the data identifiers ... "3eB" "3eC" "3eD" ·3eE" and so on for "4eB"...

We can cascade as many higher nodes as we desire, between PLANTA node and the PC. A new one could give us up to 64 DHT11 sensors! And a new one 256 and so on. Every added node multiply by 4 the number of terminal nodes

Thats all, an impressive job. My students and I made the whole project. We would like you to rise your thumbs by us

Jose Luis Perez
IES ( this means "Instituto de Ensenyanza Secundaria, that is, High School ) Las Lagunas
MIJAS
MALAGA
Spain
Last edited by jperbar409 on Tue Jun 21, 2016 1:06 pm, edited 1 time in total.