enables ethernet communication with following parameters:.connects to WiFi network with data from ssid and password constants.configures RS port with 115200 bitrate, 8 for databits, None for parity, 1 for stopbits.Then virtual serial port can be opened for that TCP packets and perform serial communication. It also decodes incomming TCP packets and writes them to serial port. In our 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. RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter (for programmming and testing).Moduino X2 (may be also X1) ESP32 device (check this website to find out more.For TCP communication WiFi module will be used. We will use one of device which uses such processor: Moduino X ESP32. In this class, you will create serial port to TCP converter using Arduino code running on ESP32 processor.
0 Comments
Leave a Reply. |