-->
Page 1 of 4

esp8266 communicate long range

PostPosted: Fri Dec 16, 2016 12:26 am
by stern0m1
I want to improve the range that 2 esp8266's or an esp8266 and some other wireless device can send commands to each other. I want to have them communicate without "connecting"
Theoretically they should not have to "connect". How ever they send messages to each other to establish a connection they should be able to send any random message. I would have it constantly send a message until it receives confirmation.

I want them to communicate like arduinos communicate.

I need help with the low level programming to this. I dont know where to start. Any help will be greatly appreciated.

Thanks.

Re: esp8266 communicate long range

PostPosted: Fri Dec 16, 2016 8:15 am
by rudy
First they need to belong to the same network. Then you can probably accomplish what you want with sending UDP messages to each other. UDP is connectionless.

https://www.gitbook.com/book/krzychb/es ... ry/details is a very good starting point since you are familiar with Arduino.

Re: esp8266 communicate long range

PostPosted: Fri Dec 16, 2016 9:06 am
by stern0m1
Udp would probably help somewhat. But I want to communicate without even establishing a network.

I want to send and receive data with radio waves over the wifi frequency . Just using the wifi chip as a means to receive and transmit radio waves which interpreted to data. Just like communication with a wireless arduino.

For simple machine to machine commands this would be more efficient and I believe could increase the range.

Re: esp8266 communicate long range

PostPosted: Fri Dec 16, 2016 9:55 am
by AcmeUK
If you do not need TCP/IP have a look at easyMesh http://www.esp8266.com/viewtopic.php?f=6&t=11849

To get a long range you will need to use esp8266s that have an external antenna.