Skip to content

communication of ros with esp32 via uart interrupt and turtle_teleop_key application

Notifications You must be signed in to change notification settings

zafersn/ros-esp_idf-uart-interrupt-communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ros-esp32-uart-communication

communication of ros with esp32 via uart and turtle_teleop_key application

Keyboard key data received with turtlesim_turtle_teleop_key is transmitted to esp32 on uart and led blink application.

--- ROS ---

  • Let's run a node to start uart communication with esp on ubuntu and subscribe to / turtle1 / cmd_vel.
    • rosrun esp-idf-test serialT.py
  • then subscribe and read the keys on the keyboard will start the node.
    • rosrun turtlesim turtle_teleop_key

---- ESP - IDF -------

  • This example shows how to use the UART driver to handle UART interrupt.
  • For esp32 devkitc boards you can connect directly to the computer via usb using micro usb inputs. It does not require extra pin connection.
  • Port: UART0
  • Receive (Rx) buffer: on
  • Transmit (Tx) buffer: off
  • Flow control: off
  • Event queue: on
  • Pin assignment: TxD (default), RxD (default)

About

communication of ros with esp32 via uart interrupt and turtle_teleop_key application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published