Wpisy

Arduino ESP32 Serial Port to TCP Converter via WiFi

TECHBASE posted new class, in which you will create serial port to TCP converter using Arduino code running on ESP32 processor. We will use one of device which uses such processor: Moduino X ESP32. For TCP communication WiFi module will be used.

You will need:

  • Moduino X4 ESP32 device (check this website to find out more)
  • PC with Linux operating system
  • socat application
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter (for programmming and testing)

Introduction

In example, data sent to serial port (which is used as terminal port in regular Micropython ESP32 device) will be send via WiFi using TCP protocol. It also decodes incomming TCP packets and writes them to serial port. Then virtual serial port can be opened for that TCP packets and perform serial communication. We will use socat application for that.

You can read the complete tutorial at Hackster.io:

Arduino ESP32 Serial Port to TCP Converter via WiFi

TECHBASE posted new class, in which you will create serial port to TCP converter using Arduino code running on ESP32 processor. We will use one of device which uses such processor: Moduino X ESP32. For TCP communication WiFi module will be used.

You will need:

  • Moduino X4 ESP32 device (check this website to find out more)
  • PC with Linux operating system
  • socat application
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter (for programmming and testing)

Introduction

In example, data sent to serial port (which is used as terminal port in regular Micropython ESP32 device) will be send via WiFi using TCP protocol. It also decodes incomming TCP packets and writes them to serial port. Then virtual serial port can be opened for that TCP packets and perform serial communication. We will use socat application for that.

You can read the complete tutorial at Hackster.io:

Arduino ESP32 Serial Port to TCP Converter via WiFi

TECHBASE posted new class, in which you will create serial port to TCP converter using Arduino code running on ESP32 processor. We will use one of device which uses such processor: Moduino X ESP32. For TCP communication WiFi module will be used.

You will need:

  • Moduino X2 (may be also X1) ESP32 device (check this website to find out more)
  • PC with Linux operating system
  • socat application
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter (for programmming and testing)

Introduction

In example, data sent to serial port (which is used as terminal port in regular Micropython ESP32 device) will be send via WiFi using TCP protocol. It also decodes incomming TCP packets and writes them to serial port. Then virtual serial port can be opened for that TCP packets and perform serial communication. We will use socat application for that.

You can read the complete tutorial at Hackster.io:

Welcome to the series of configuration instructions for ModBerry and Moduino ESP32 devices. In this class, you will program ESP32 processor to be Modbus TCP Master.

We will use two devices, which contain this processor: Moduino ESP32 and Pycom. Both devices are running in MicroPytthon environment. Our Modbus Slave will be PC computer with Modbus simulator software running on it.

You will need:

  • Moduino ESP32 or Moduino Pycom device (check this website to find out more about Moduino ESP32 device and this to check Pycom device)
  • PC with Linux operating system
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter

You can read the complete tutorial at Instructables.com: