Skip to content
/ ESP32_HWSI Public

ESP32 to ESP32 Hardware Serial Interface for bidirectional string messaging.

Notifications You must be signed in to change notification settings

gsb/ESP32_HWSI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ESP32_HWSI

ESP32 to ESP32 Hard Wired Serial Interface for bidirectional string messaging.

This is an exmple for platformIO w/ Arduino. It connects two ESP32s by hardwiring their Serial2 ports (UART_2) in a cross wired configuration. It also cross wires their RTS and CTS for high speed transfer flow control and it wires both devices ground pins for a common timing ground. Simple enough. * High speed transport is not totally explored as yet. This example sets the Serial2 baud_rate to 921600 - which is 8X the USB monitor_speed of 115200. The bidirectional traffic is generated as serialized string messages of 33 characters each at a rate of four per second from both ESP32s.

Wiring configuration: []

  • TXD2 (GPIO_NUM_17) <——┐ cross wired
  • RXD2 (GPIO_NUM_16) <——┘ TX <——> RX
  • RTS2 (GPIO_NUM_18) <——┐ ... as well as
  • CTS2 (GPIO_NUM_19) <——┘ RTS <——> CTS

This project was to provide access to the WLAN and beyond for an ESP-Now network project.

About

ESP32 to ESP32 Hardware Serial Interface for bidirectional string messaging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages