-->
Page 1 of 1

Connecting more than 2 nodemcu to a home router

PostPosted: Mon May 29, 2017 5:22 am
by amitkmr42
I want to connect more than than two nodemcu and want them to communicate with each other. Example: Two nodemcu will send sensor data to another nodemcu which will process and give output signal. How is this possible? I am using MI 3C router. I use C for coding through Arduino IDE.

Re: Connecting more than 2 nodemcu to a home router

PostPosted: Mon Jun 05, 2017 10:41 am
by JackB
You just send packets to the IP address of the other esp8266, just like normal computers connected to a AP. To know the IP's you probably need to hardcode them, and not use DHCP assigned IPs, so you might need to config your AP router specially, maybe even use the mac address of the esp8266's to always assign them the same IP address.