Chiyankhulo: RS232, RS 485 ndi TTL

Pamsika wapaintaneti wa Zinthu, bola mutakhala mainjiniya ophatikizidwa, nthawi zambiri mumakumana ndi RS232, RS485, TTL mfundo izi.

Kodi mudakumanapo ndi lingaliro ili pa Baidu kusakani, pansipa kuti mukonzekere kusiyana kwa mawonekedwe a RS232 ndi RS485, TTL.
Makhalidwe amagetsi a mawonekedwe a RS232 Mphamvu yamagetsi yamtundu uliwonse wa RS-232-C ndi ubale wolakwika.

Ndiko kuti, zomveka "1" ndi -3 kuti -15V, ndi zomveka "0" ndi kuchokera 3 mpaka 15V.Zolumikizira za RS-232-C nthawi zambiri zimakhala zotengera mapulagi a DB-9, nthawi zambiri amapulagi kumapeto kwa DCE ndi soketi kumapeto kwa DTE.Doko la RS-232 la PC ndi socket ya singano ya 9-core.Zida zina zimalumikizidwa ndi mawonekedwe a RS-232 ku PC chifukwa mizere yolumikizira itatu yokha ndiyofunikira, "tumizani data TXD", "kulandira data RXD" ndi "signal-to-ground GND" osagwiritsa ntchito chizindikiro chowongolera kufalitsa. chipani china.

Chingwe chotumizira cha RS-232 chimagwiritsa ntchito zopotoka zotetezedwa.
Makhalidwe amagetsi a RS485 (malo olumikizirana omwe amagwiritsidwa ntchito kwambiri tsopano) RS485 amagwiritsa ntchito malingaliro osiyanitsa osagwirizana, lingaliro la "1" limayimiridwa ndi kusiyana kwamagetsi pakati pa mizere iwiriyo monga -(2 mpaka 6) V, ndi malingaliro akuti "0" imayimiridwa ndi kusiyana kwa magetsi pakati pa mizere iwiriyi monga kuphatikiza (2 mpaka 6) V. Mlingo wa chizindikiro cha mawonekedwe ndi wotsika kuposa THE RS-232-C, sikophweka kuwononga mawonekedwe a dera chip, ndipo mlingo uwu umagwirizana ndi mlingo wa TTL, ukhoza kulumikizidwa mosavuta ndi dera la TTL.

The RS-485 ili ndi kuchuluka kwa kusamutsa deta kwa 10Mbps.
Zizindikiro za mulingo wa TTL wa TTL zimagwiritsidwa ntchito kwambiri chifukwa mawonekedwe anthawi zonse a data ndi a binary, okhala ndi 5V yofanana ndi logic "1" ndi 0V yofanana ndi logic "0", yomwe imadziwika kuti ttl (transistor-transistor logic level Transistor-Transistor Logic) chizindikiro. dongosolo.

Uwu ndiye ukadaulo wanthawi zonse wolumikizirana pakati pa zida zomwe zimayendetsedwa ndi purosesa yamakompyuta.

Kusiyana pakati pa RS232 ndi RS485, TTL

1, RS232, RS485, TTL amatanthauza mulingo wamba (chizindikiro chamagetsi)

2, mulingo wa TTL ndi otsika 0, mulingo wapamwamba ndi 1 (nthaka, logic yoyendera digito).

3, RS232 mlingo muyezo ndi mlingo zabwino 0, zoipa mlingo 1 (pansi, zabwino ndi zoipa 6-15V akhoza kukhala, ndipo ngakhale ndi mkulu kukana boma).4, RS485 ndi RS232 ndizofanana, koma kugwiritsa ntchito zizindikiro zosiyanitsa, zoyenera kwambiri kufalitsa mtunda wautali, wothamanga kwambiri.


Nthawi yotumiza: Jul-24-2019
Macheza a WhatsApp Paintaneti!