Skip to content

Demonstrates a simple TCP/IP Link enabling two Arduino's to talk to each other using the extremely cheap and versatile ESP8266 Wifi modules using SoftwareSerial and AT commands.

Notifications You must be signed in to change notification settings

DevnathNair/ESP8266-Arduino-to-Arduino-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Arduino to Arduino Communication using the ESP8266

====================================================

GithubArduinoESP8266.jpg

Demonstrates a simple TCP/IP Link enabling two Arduino's to talk to each other using the extremely cheap and versatile ESP8266 Wifi modules using SoftwareSerial and AT commands.

Either of the setups are used as a Server (Access Point) or a Client (Station).

#Setup

DISCLAIMER : It is highly recommended that you use LLs (Logic Level Shifters) for communication with the ESP-01 as they are not 5V tolerant (not for long at least). The way in which the modules are wired will fry them in the near future.

ESPs are power hungry and is hence recommend that one uses an external power supply (3.3v @ ~800mA) for powering the ESPs since an Arduino is not capable of pushing the necessary current.

Wiring :

3.3V (Of Arduino) ----> VCC, CH_PD (of ESP)

GND -----> GND (of ESP)

Wire the the RX & TX lines of your ESPs as specified by the respective sketches

Before Uploading the Code

Set the default baud rate of both the ESPs at 9600 bps using AT commands with the following commands.

AT+RST

AT+UART_DEF = 9600,8,1,0,0 (This will flash the default baud rate to the ESP. Use the CUR tag for changes to last till the next reset or reboot).

About

Demonstrates a simple TCP/IP Link enabling two Arduino's to talk to each other using the extremely cheap and versatile ESP8266 Wifi modules using SoftwareSerial and AT commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%