skip to content

Debug Orange Pi 5 Plus menggunakan UART

/ 2 min read

Referensi

Prasyarat

  1. Memiliki alat USB to TTL module. Halim
  • Spesifikasi:
VoltageIC (Integrated Circuit)Baud Rate
3.3VCH340 (recommended)1.500.000 bps

Tabel: Rekomendasi Spesifikasi USB to TTL module 1

  1. Memiliki device PC / Laptop.
  • Sudah ter-install Ubuntu 22.04.
  • Sudah ter-install Minicom.
  1. Memiliki device Orange Pi 5 Plus.
  2. Memiliki memory SD Card.
  • Sudah ter-install OS (Operating Sytem), contoh: Armbian.
  • Spesifikasi:
BrandSpeedCapacity
SanDiskClass 10 >= ?
pilih A1 rated (Class 10) jika kalian menggunakan OS Armbian 2
16GB >= ?

Tabel: Rekomendasi Spesifikasi SD Card 3

Tutorial

  1. Pasangkan SD Card ke Orange Pi 5 Plus.

  2. Nyalakan PC / Laptop dan Orange Pi 5 Plus.

  3. Pasangkan USB to TTL ke PC / Laptop dan Orange Pi 5 Plus.

    Orange Pi 5 Plus Development Board
    [s](asdasd)

    Gambar: Orange Pi 5 Plus Development Board 4

    Connecting USB TTL Diagram

    Gambar: Connecting USB TTL Diagram 5

  4. Setup Minicom.

    oxw@oxw:~$ ls /dev/ttyUSB*
    # /dev/ttyUSB0
    
    oxw@oxw:~$ minicom -s
    # Select "Serial port setup"
    # Setting "A - Serial device : /dev/ttyUSB0"
    # Setting "E - Bps/Par/Bits : 1500000 8N1"
    # Select "Save setup as dfl"
    # Select "Exit From Minicom"
    
  5. Koneksikan Minicom ke Orange Pi 5 Plus.

    oxw@oxw:~$ minicom
    
  6. Selesai.

Footnotes

  1. (1) Orange Pi 5 Plus User Manual, halaman 131-133.

  2. (5) How to prepare a SD card? - Armbian Quick Start Guide.

  3. (2) Orange Pi 5 Plus User Manual, halaman 6.

  4. (3) Orange Pi 5 Plus User Manual, halaman 132.

  5. (4) Orange Pi 5 Plus User Manual, halaman 133.