Skip to content

SanCruzo/SerialMonitorApp

Repository files navigation

Seri Monitör (Android)

React Native + Expo (Bare/Prebuild) ile hazırlanmış minimalist Android seri terminal.

Özellikler

  • USB-Serial cihaz listesini görüntüleme
  • Manuel baudrate girişi
  • Data bits: 7 veya 8
  • Parity: None / Even / Odd
  • Stop bits: 1 veya 2
  • Canlı log ve metin gönderme alanı

Kütüphane ve Uyum

  • Bu proje, Android USB-Serial sürücüleri için usb-serial-for-android kütüphanesini kullanır. Bkz: mik3y/usb-serial-for-android.
  • Expo Go ile açarsanız native USB ÇALIŞMAZ; APK/Dev Client ile kurulum gereklidir. Aksi halde eksik/bozuk veri alabilirsiniz.
  • Desteklenen USB–Seri dönüştürücüler (kütüphane kapsamı):
    • FTDI: FT232R, FT232H, FT2232H, FT4232H, FT230X, FT231X, FT234XD
    • Prolific: PL2303
    • Silabs: CP2102, CP210*
    • Qinheng: CH340, CH341A
    • Diğer cihaz odaklı sürücüler: GSM modem cihazları (ör. Unisoc tabanlı Fibocom), Chrome OS CCD (Closed Case Debugging)
    • CDC/ACM protokolünü uygulayan cihazlar: Qinheng CH9102, Microchip MCP2221, Arduino (ATmega32U4), Digispark (V-USB)

Gereksinimler

  • Node 18+
  • Android SDK + Java 17
  • USB-OTG destekli Android cihaz

Kurulum

npm install

Android’de Çalıştırma

npm run android

Not: Expo Go ile native USB çalışmaz. Dev Client veya tam build kullanın.

APK (Release) Oluşturma

cd android && ./gradlew assembleRelease

APK şurada olur: android/app/build/outputs/apk/release/app-release.apk.

Kullanım

  1. USB-Serial cihazınızı telefona bağlayın (gerekirse OTG).
  2. Uygulamayı açın. “Yenile” ile cihazları listeleyin.
  3. Baudrate, data bits, parity, stop bits ayarlarını seçin.
  4. Bir cihazı seçip bağlanın. Gelen veriler Log alanında görünür.
  5. Alt kısımdan mesaj gönderin. “Bağlantıyı Kes” ile bağlantıyı kapatın.

Notlar

  • Uygulama yalnızca Android içindir. iOS/web için USB serial desteklenmez.
  • Icon/splash varlıkları app.json içinde tanımlıdır.

Serial Monitor (Android)

Minimal Android serial terminal built with React Native + Expo (Bare/Prebuild).

Features

  • List USB-Serial devices
  • Manual baud rate input
  • Data bits: 7 or 8
  • Parity: None / Even / Odd
  • Stop bits: 1 or 2
  • Live log and send input

Library & Compatibility

  • Uses usb-serial-for-android for Android USB serial drivers. See: mik3y/usb-serial-for-android.
  • Native USB will NOT work in Expo Go; install via APK/Dev Client. Otherwise you may receive incomplete/garbled data.
  • Supported USB-to-Serial chipsets (per the library):
    • FTDI: FT232R, FT232H, FT2232H, FT4232H, FT230X, FT231X, FT234XD
    • Prolific: PL2303
    • Silabs: CP2102, CP210*
    • Qinheng: CH340, CH341A
    • Other device specific drivers: GsmModem devices (e.g., Unisoc-based Fibocom), Chrome OS CCD (Closed Case Debugging)
    • Devices implementing generic CDC/ACM: Qinheng CH9102, Microchip MCP2221, Arduino with ATmega32U4, Digispark using V-USB

Requirements

  • Node 18+
  • Android SDK + Java 17
  • Android device with USB-OTG support

Install

npm install

Run on Android

npm run android

Note: Native USB won’t work in Expo Go. Use a dev client or full build.

Build APK (Release)

cd android && ./gradlew assembleRelease

Output APK: android/app/build/outputs/apk/release/app-release.apk.

Usage

  1. Connect your USB-Serial device (OTG if needed).
  2. Open the app and tap “Yenile” to list devices.
  3. Set baud rate, data bits, parity, stop bits.
  4. Select a device to connect. Incoming data appears in Log.
  5. Send text at the bottom. Tap “Bağlantıyı Kes” to disconnect.

Notes

  • Android only. iOS/web USB serial is not supported.
  • Icons/splash assets are configured in app.json.

About

Özellikle mikroişlemciler ve tüm serial şekilde haberleşebilecek cihazlar için, React Native ile yazılmış, Android OTG destekli serial monitor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors