I-UsbTerminal iyisifanisi esibulalayo (ngezinye izikhathi esibizwa ngokuthi "ukuqapha"). Kuhloswe ukuthi kusetshenziswe ngoxhumo olubonakalayo kudivayisi
ngembobo ye-USB yefoni noma yethebhulethi.
Ifoni noma ithebhulethi kufanele isekele i-USB-Host Mode a.k.a USB On-The-Go (USB-OTG),
kanye nekhebula le-USB-OTG liyadingeka.
Izimo ezijwayelekile zokusetshenziswa zalolu hlelo lokusebenza yilezi:
● Ukulawula idivayisi ye-IoT njenge-Arduino, ESP32, njll
● Ukulawula idivayisi yokuxhumana efana nerutha enesixhumi se-serial console (lokhu kungase kudinge ikhebuli yokuguqula ye-USB iye ku-RS232)
I-UsbTerminal ingumthombo ovulekile. Bona okuthi https://github.com/liorhass/UsbTerminal
Izici:
● Isekela amadivayisi ane-USB elandelayo kumaphrothokholi/ama-chips e-Serial: CDC-ACM (isb. Arduino Uno R3), FTDI (FT232R, FT232H, FT2232H, FT4232H,
FT230X, FT231X, FT234XD), Prolific PL2303, CH34x, Silabs CP210x (isb. ESP32 dev boards from Espressif)
● Sekela izindlela zokufaka zekhibhodi ezimbili:
1. Okuzenzakalelayo - Njengakutheminali “yangempela”, ayikho inkambu yokufaka ezinikele. Izinhlamvu zithunyelwa kudivayisi ye-serial ngokushesha njengoba okhiye bechofozwa kukhibhodi. Lena imodi ezenzakalelayo.
2. Inkambu yokufaka ezinikezele - Okokufaka kwekhibhodi kuya endaweni yokufaka ezinikele futhi kuthunyelwa kudivayisi kuphela ngemva kokucindezelwa kwenkinobho ethi "Thumela".
● Ukusekelwa okuyingxenye kokulandelana kokuphunyuka kwe-ANSI/VT100 okuhlanganisa nombala wombhalo
● Izindlela zokubonisa ezimbili: Umbhalo ne-Hex
● Ukuxhumana kwangemuva - uhlelo lokusebenza lungagcina uxhumano futhi
qhubeka nokuthola idatha noma ingemuva
● Faka amaseshini kumafayela. Lawa mafayela okungena angabe esebukwa noma kwabelwane ngawo
ukuze ihlaziywe ngamathuluzi angaphandle
● Ukuthumela uhlamvu lokulawula (isb. Ctrl-C)
● Ukulawulwa kwe-DTR ne-CTS
● Ibhafa enkulu yokuskrola emuva
● Ikhesa ecwayizayo
● Umugqa wesimo obonisa isimo sokuxhuma, imilayezo yephutha, usayizi wesikrini,
indawo yekhesa nemodi yokubonisa
● Usizo olwakhelwe ngaphakathi
● Izinqamuleli ezakhelwe ngaphakathi zokusetha kabusha i-Arduino ne-ESP32 dev board
● Ayikho impande edingekayo
● Azikho izimvume ezikhethekile ezidingekayo
Inothi kubasebenzisi be-Arduino:
Enye inzuzo ye-UsbTerminal yindlela ephatha ngayo i-DTR. Ngokuvamile uma ibhodi le-Arduino lixhunywe ku-PC, lizoqala kabusha njalo lapho uhlelo lokusebenza lwe-emulator yetheminali luxhunywe kuyo. Lokhu kungenxa yokuthi i-PC yehlisa isiginali ye-DTR noma nini lapho kwakhiwa uxhumano, futhi i-Arduino yakhelwe ukusetha kabusha lapho ulayini we-DTR wehla. Ngakolunye uhlangothi, i-UsbTerminal ayisethi ngokuzenzakalelayo noma isethe kabusha isignali ye-DTR. Uma uxhuma ifoni noma ithebulethi ku-Arduino futhi uvula i-UsbTerminal, i-Arduino yakho iqhubeka nanoma yini eyayiyenza ngaleso sikhathi. Uma ufuna ukuthi iqalise kabusha, ungakwazi ukulawula kalula isiginali ye-DTR evela ku-UsbTerminal ngenkinobho ezinikele.
Kubuyekezwe ngo-
Sep 18, 2022