Skip to content

RafalVonau/serial_over_tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 serial port over TCP

This project creates WiFi(TCP) to serial bridge.

The test project was built on D1 mini board connected to PC computer over USB as /dev/ttyUSB0 under Linux. Modify the serial port device name in platformo.ini if you want to compile under Windows.

The project uses platformio build environment. PlatformIO - Professional collaborative platform for embedded development.

Building under Linux

  • install PlatformIO
  • enter project directory
  • connect two Webmod D1 mini boards to PC computer over USB cable.
  • type in terminal: platformio run platformio upload

You can also use IDE to build this project on Linux/Windows/Mac. My fvorite ones:

Building in Andruino IDE

You can also run it from Arduino by renaming the main.cpp file to serial_over_esp_now.ino and saving it in a directory with the same name.

  • install Arduino IDE
  • rename /src/main.cpp to serial_over_tcp.ino and place it in serial_over_tcp directory
  • open serial_over_tcp.ino in Arduino IDE, select proper board or install it
  • compile and upload to board

Enjoy :-)

About

Serial port over TCP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published