• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Second serial port on TTGO LoRa32 SX1276 OLED board

Q&A Forum › Category: ESP32 › Second serial port on TTGO LoRa32 SX1276 OLED board
0 Vote Up Vote Down
Peter Rowe asked 5 years ago

Hi Sara and Rui
I have the board communicating on LoRa sending an internal counter value to the receiver.
Now, I want to take serial data from an external source and input it to the TTGO LoRa32 SX1276 OLED board.
The standard ESP-32 has three hardware serial ports U0, U1, and U2. U0 is dedicated to the usb serial connection. I have used both U1 and U2 successfully.
The LoRa board has U0 connected to the USB, there is no U1, and U2 Rxd is used to reset the OLED.
How do I get serial data into the OLED board?
 
Thanks,
Pete

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Pete.
I’m not 100% sure, but I think you can choose any available pins to be TX and RX. You just need to define them in the code.
For example, GPIO 13 and GPIO 12.
Let me know if it works.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.