ESP8266 client server communication using arduino uno board

Hello,

I want to send data from arduino UNO through ESP8266 to router and fetch back through another arduino UNO through ESP again. could you pls help with this.

Also find the block diagram in the attachment.

Thanks.

and in what stage do you have problems with it?
do you want to use a firmware in esp8266 or your own sketch?
do you have a firmware in the esp8266?
can you communicate with that firmware?
are you able to flash the esp8266?
does already the Uno sketch communicate with the firmware or sketch?

Hello Juraj,

Thank you for replying.
Could you please tell me the AT command or any arduino function to send data to router using esp8266.
Also Retrieve the same data from router.

Suppose I want to send "Hi" from arduino remote terminal to router.
and another end I want to get the same "Hi" in other arduino remote terminal from router.

Could you please help me out with function name or AT command name to send and retrieve data from router.

Another thing I have already connected ESP8266 to router through arduino using AT command,
after that how to send "Hi" to router ,I don't know.

Thanks

use a library. I recommend my WiFiEspAT library, but it requires AT firmware 1.7.x and can't https
the older WiFiEsp library works with older firmware and can send https request

Hello Juraj,

Thank you for your information.
Is there any arduino library function for sending data(let say "Hi")from arduino to router through esp8266 and also receiving data from router through esp8266 to arduino.

If there is no library function could you please help me in doing this project.

Thanks

the libraries have examples

Hello Juraj,

could you please share the link for AT firmware 1.7.x, as i did not find on internet.

thanks.

happy181092:
Hello Juraj,

could you please share the link for AT firmware 1.7.x, as i did not find on internet.

thanks.

really?

on manufactures site

or README.md of my library

Thank you so much Juraj

Hello Juraj,

We have downloaded the ESP8266_NonOS_AT_Bin_V1.7.1 from the link you have sent.
We also have downloaded the flash download tools.
So,we have decided to download in boot mode

1>First we have selected Flash size 16Mbit-C1: 1024KB+1024KB
boot_v1.7.bin 0x00000

user1.2048.new.5.bin 0x01000

esp_init_data_default_v08.bin 0x1fc000

blank.bin 0xfe000

2>we have selected crystal frequency-26M
SPI SPEED-40MHZ

SPI MODE- QIO

FLASH SIZE-16Mbit-C1

3>When I am pressing start,it is showing SYNC after that nothing is displaying in "DETECTED INFO" pane in ESP8266 download tool and also in download panel nothing is displaying.

4>Then after some 25 sec it showing FAIL

Could you please help me in this?

happy181092:
Hello Juraj,

We have downloaded the ESP8266_NonOS_AT_Bin_V1.7.1 from the link you have sent.
We also have downloaded the flash download tools.
So,we have decided to download in boot mode

1>First we have selected Flash size 16Mbit-C1: 1024KB+1024KB
boot_v1.7.bin 0x00000

user1.2048.new.5.bin 0x01000

esp_init_data_default_v08.bin 0x1fc000

blank.bin 0xfe000

2>we have selected crystal frequency-26M
SPI SPEED-40MHZ

SPI MODE- QIO

FLASH SIZE-16Mbit-C1

3>When I am pressing start,it is showing SYNC after that nothing is displaying in "DETECTED INFO" pane in ESP8266 download tool and also in download panel nothing is displaying.

4>Then after some 25 sec it showing FAIL

Could you please help me in this?

did you select the COM port?

it is simpler to use the esptool with the command
esptool.py write_flash --flash_size 2MB-c1 0x0 boot_v1.7.bin 0x01000 at/1024+1024/user1.2048.new.5.bin 0x1fb000 blank.bin 0x1fc000 esp_init_data_default_v08.bin 0xfe000 blank.bin 0x1fe000 blank.bin