Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    T-Dongle serial read

    Technical Discussion
    t-dongle-s3 serial input idf
    2
    5
    430
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bpupp last edited by

      Trying to get the ESP32-S3 T-Dongle to read serial input. Would be used for simple config issues. Idea is based on tusb_serial_device ESP/idf.py example. Is this possible with the T-Dongle? Would anyone have a bit of sample code?

      1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 last edited by

        "You can do anything with ESP-IDF if you can just figure it out!"
        Are you talking about the T-Dongle sending serial to be read on your computer?
        It's very easy to do with Arduino IDE v2.1.0!

        B 2 Replies Last reply Reply Quote 0
        • B
          bpupp @teastain2 last edited by

          @teastain2 Could you please provide a simple example?

          1 Reply Last reply Reply Quote 0
          • B
            bpupp @teastain2 last edited by

            @teastain2 Sorry, I mis-read your comment. Yes, it is easy to write to serial to display on the host computer via the idf.py monitor. What I am trying to achieve is to write serial data FROM the idf.py(or Arduino) Monitor to the T-Dongle. This would be, for example, to set a config value on the T-Dongle. The idf.py tusb_serial_device does this with a standard ESP32-S3 DevKit but it does not work with the T-Dongle.

            teastain2 1 Reply Last reply Reply Quote 0
            • teastain2
              teastain2 @bpupp last edited by

              @bpupp This is how it is done in Arduino!
              https://www.arduino.cc/reference/en/language/functions/communication/serial/read/
              Not sure this is helpful, but may give you some insight to convert to ESP-IDF!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors