I am new to IoT. I have been reading articles to connect IoT sesors and updating data to Server.

I want to connect 7 water pump stations ( all in different locations, and distance between each of them 700 mtrs max ) so that they can remotely turned on / off.

Also, I want to manage 30 water flow valves using these devices. Since no WiFi router will offer this wide range, either I have to use multiple GSM modules or Ethernet boards. And both are costly to implement.

Can anyone help me to find out how ESP8266 can be connected to solve this problem?

enter image description here

Arrow marks shows pump stations where as white dots are valves to be managed. There is no clear line of sight path for pump stations or valves. Hope that helps to suggest more.

  • 1
    How are you imagining they can be used? You won't get 700m between ESP8266 modules reliably. – Mark Smith Jan 4 '18 at 13:01
  • GSM modem connected to wifi router, each one at 700 mtrs location should help. But, not sure what range ESP8266 should work. – Shiv Jan 5 '18 at 4:57
  • The two red cells should be fine if they were part of a mesh. Expect some high ping sometimes. Connecting the two could just be with a $40 point to point link. Some cheap routers will go that distance to. – jdwolf Jan 6 '18 at 20:06
  • how about using nRF24L01? ... youtube.com/watch?v=gtM832Z0ujE – jsotola Jan 7 '18 at 18:36
  • nRF24L01 already tried this one, but results were not much satisfying. esp8266 has inbuilt microprocessor, which also saves some money. The only issue I find here is long distances...!!!! – Shiv Jan 15 '18 at 6:00

The ESP8266 implements a wireless protocol (802.11) which isn't capable to cover such distances unless the signal is greatly boosted. You should focus on other wireless protocols and hardware modules enabling longer distance communication, also considering you probably don't need the bandwidth provided by 802.11. Another option is probably to use directional antennaes, which increase the range by focusing the electromagnetic field in a specific direction.


Wikipedia's article on Long Range WiFi has an overview of the issues and a number of references to current LRWiFi projects that should help you get started. The limitations include topography and interference from other transmitters. Record-setting projects are also referenced - one such project achieved 278km!


You can not do it with ESP8266 as 802.11 has limited range (i think upto 500 meters), its better to redesign your architecture, and think in terms of GSM / Ethernet(if possible) . also in the project you are planning, just the connectivity is something that is complex, rest seems comparatively simple

To remotely turn any electronic circuit on/off you have to use RELAYS (with configuration dependent on your pumps)

also you want to manage 30 water flow valves using these devices, but what do you exactly mean by the term "Manage" in here, just turning it on/off or some other statistics . you have to mention it.

  • Thanks for reply. I also feel connectivity is the main issue. There is no clear line of sight among pump stations and running a Ethernet cable over such distance is not feasible. – Shiv Jan 5 '18 at 4:48
  • one more solution could be possible if you can divide the area and use two GSM Shields for using (3g/4g) network , and broadcast the same to a centralized server (can be firebase) – N.K Jan 5 '18 at 9:32
  • esp8266 range is not much than 100mtrs, with no clear line of sight. Even if I add 2 GSM shields, there will be black area which will not be covered via WIFI signals. – Shiv Jan 15 '18 at 5:58
  • by GSM , here i mean using any carrier data .. 3g/4g – N.K Jan 15 '18 at 6:04
  • Yes, finally I though for now I will go with more than one 4g wifi modem to get WAP and this should help for now. – Shiv Jan 30 '18 at 13:16

I would like to suggest using WiFi range extenders.

This would allow you to use the ESP8266 modules over this distance.


  • WiFi is relatively easy to set up.
  • Hardware is available off the shelf (or second hand).
  • There are a lot of tutorials and videos on how to set up WiFi.
  • WiFi has a great data throughput.
  • You can use the WiFi for other devices like your phone & tablet.
  • Directional antennas will extend the range of outlying modules.

However this may be a costly exercise if all of your modules are very far apart (worst case would be if they were all in a straight line). However if this is a cluster arrangement then this may be a viable solution.

PS. There are now power-line Ethernet extenders. I don't know enough about them but if everything is connected to a common mains voltage then this may be worth looking into.

Not the answer you're looking for? Browse other questions tagged or ask your own question.