Lompat ke isi

UART: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
Borgxbot (bicara | kontrib)
k Bot: Penggantian teks otomatis (-==Lihat juga== +==Lihat pula==)
Reno-Sifana (bicara | kontrib)
k Menambah Templat Rintisan
 
(14 revisi perantara oleh 11 pengguna tidak ditampilkan)
Baris 1: Baris 1:
'''UART''' atau '''Universal Asynchronous Receiver-Transmitter''' adalah bagian [[perangkat keras]] [[komputer]] yang menerjemahkan antara [[bit|bit-bit]] paralel data dan bit-bit serial. UART biasanya berupa [[Integrated Circuit|sirkuit terintegrasi]] yang digunakan untuk [[komunikasi serial]] pada komputer atau [[port serial]] perangkat periperal. UART sekarang ini termasuk di dalam beberapa [[mikrokontroler]] (contohnya, [[mikrokontroler PIC|PIC16F628]]).
'''UART''' atau '''Universal Asynchronous Receiver-Transmitter''' adalah bagian [[perangkat keras]] [[komputer]] yang menerjemahkan antara [[bit|bit-bit]] paralel data dan bit-bit serial. UART biasanya berupa [[Integrated Circuit|sirkuit terintegrasi]] yang digunakan untuk [[komunikasi serial]] pada komputer atau [[port serial]] perangkat periperal. UART sekarang ini termasuk di dalam beberapa [[mikrokontroler]] (contohnya, [[mikrokontroler PIC|PIC16F628]]).
<!-- berbicara tentang register geser, UART dapat dipikirkan sebagai kombinasi [[register geser]], clock generator, dan rangkaian pewaktu dan kendali. -->
<!-- berbicara tentang register geser, UART dapat dipikirkan sebagai kombinasi [[register geser]], clock generator, dan rangkaian pewaktu dan kendali. -->
<!--
<!--
== Dasar ==
== Dasar ==


Bits have to be moved from one place to another using wires or some other medium. Over many miles, the expense of the wires becomes large. To reduce the expense of long communication links carrying several bits in parallel, data bits are sent sequentially, one after another, using a UART to convert the transmitted bits between sequential and parallel form at each end of the link. Each UART contains a [[shift register]] which is the fundamental method of conversion between serial and parallel forms.
Bits have to be moved from one place to another using wires or some other medium. Over many miles, the expense of the wires becomes large. To reduce the expense of long communication links carrying several bits in parallel, data bits are sent sequentially, one after another, using a UART to convert the transmitted bits between sequential and parallel form at each end of the link. Each UART contains a [[shift register]] which is the fundamental method of conversion between serial and parallel forms.


By convention, [[teletype]]-style UARTs send a "start" bit, five to eight data bits, least-significant-bit first, an optional "parity" bit, and then a "stop" bit. The start bit is the opposite polarity of the data-line's normal state. The stop-bit is the data-line's normal state, and provides a space before the next character can start. (This is called [[asynchronous start-stop]] transmission). In mechanical teletypes, the "stop" bit was often stretched to two bit times to give the mechanism more time to finish printing a character. A stretched "stop" bit also helps resynchronization. The parity bit can either make the number of bits odd, or even, or it can be omitted. Odd parity is more reliable because it assures that there will always be a data transition, and this permits many UARTs to resynchronize.
By convention, [[teletype]]-style UARTs send a "start" bit, five to eight data bits, least-significant-bit first, an optional "parity" bit, and then a "stop" bit. The start bit is the opposite polarity of the data-line's normal state. The stop-bit is the data-line's normal state, and provides a space before the next character can start. (This is called [[asynchronous start-stop]] transmission). In mechanical teletypes, the "stop" bit was often stretched to two bit times to give the mechanism more time to finish printing a character. A stretched "stop" bit also helps resynchronization. The parity bit can either make the number of bits odd, or even, or it can be omitted. Odd parity is more reliable because it assures that there will always be a data transition, and this permits many UARTs to resynchronize.
Baris 15: Baris 15:
Today (2006), UART is commonly used with RS232 for embedded systems communications. It is useful to communicate between microcontrollers and also with PCs. Many chips provide UART functionality in silicon, and low cost chips exist to convert UART to RS232 signals (for example, Maxim MAX232).
Today (2006), UART is commonly used with RS232 for embedded systems communications. It is useful to communicate between microcontrollers and also with PCs. Many chips provide UART functionality in silicon, and low cost chips exist to convert UART to RS232 signals (for example, Maxim MAX232).
-->
-->

== Komponen keping UART tipikal ==
== Komponen keping UART tipikal ==
Keping UART biasanya terdiri dari:
Keping UART biasanya terdiri dari:
*Penyangga (buffer) Transmit/Receive
* Penyangga (buffer) Transmit/Receive
*Pengendali (control) Transmit/Receive
* Pengendali (control) Transmit/Receive
*Penyangga Bus Data
* Penyangga Bus Data
*Logika Kendali Read/Write
* Logika Kendali Read/Write
*Kendali Modem
* Kendali Modem


<!--
<!--
Baris 40: Baris 41:
== Synchronous ==
== Synchronous ==


The word "[[asynchronous]]" indicates that UARTs recover character timing information from the data stream, using designated "start" and "stop" bits to indicate the framing of each character. In ''synchronous'' transmission, the clock data is recovered separately from the data stream and no start/stop bits are used. This improves the efficiency of transmission on suitable channels; more of the bits sent are data. An asynchronous transmission sends nothing over the interconnection when the transmitting device has nothing to send; but a synchronous interface must send "pad" characters to maintain synchronism between the receiver and transmitter. The usual filler is the [[ASCII]] "SYN" character. This may be done automatically by the transmitting device.
The word "[[asynchronous]]" indicates that UARTs recover character timing information from the data stream, using designated "start" and "stop" bits to indicate the framing of each character. In ''synchronous'' transmission, the clock data is recovered separately from the data stream and no start/stop bits are used. This improves the efficiency of transmission on suitable channels; more of the bits sent are data. An asynchronous transmission sends nothing over the interconnection when the transmitting device has nothing to send; but a synchronous interface must send "pad" characters to maintain synchronism between the receiver and transmitter. The usual filler is the [[ASCII]] "SYN" character. This may be done automatically by the transmitting device.


Some chips have both synchronous and asynchronous modes. These are called '''USARTs''' (for "universal synchronous asynchronous receiver-transmitters").
Some chips have both synchronous and asynchronous modes. These are called '''USARTs''' (for "universal synchronous asynchronous receiver-transmitters").
Baris 58: Baris 59:
Some very low-cost [[home computers]] or [[embedded systems]] dispensed with a UART and used the [[Central processing unit|CPU]] to sample the state of an input port or directly manipulate an output port for data transmission. While very CPU-intensive, since the CPU timing was critical, these schemes avoided the purchase of a costly UART chip. The technique was known as a [[bit-banging]] serial port.
Some very low-cost [[home computers]] or [[embedded systems]] dispensed with a UART and used the [[Central processing unit|CPU]] to sample the state of an input port or directly manipulate an output port for data transmission. While very CPU-intensive, since the CPU timing was critical, these schemes avoided the purchase of a costly UART chip. The technique was known as a [[bit-banging]] serial port.
-->
-->
==Lihat pula==
*[[Modem]]
*[[Port Serial]]


== Lihat pula ==
* [[Modem]]
* [[Port Serial]]
{{komputer-stub}}
[[Kategori:Komunikasi data]]
[[Kategori:Komunikasi data]]

[[da:UART]]
[[de:UART]]
[[en:Universal asynchronous receiver/transmitter]]
[[es:UART]]
[[fi:UART]]
[[fr:UART]]
[[he:UART]]
[[it:UART]]
[[ja:UART]]
[[lt:UART]]
[[pl:Universal Asynchronous Receiver and Transmitter]]
[[pt:USART]]
[[su:UART]]

Revisi terkini sejak 21 Juni 2024 16.22

UART atau Universal Asynchronous Receiver-Transmitter adalah bagian perangkat keras komputer yang menerjemahkan antara bit-bit paralel data dan bit-bit serial. UART biasanya berupa sirkuit terintegrasi yang digunakan untuk komunikasi serial pada komputer atau port serial perangkat periperal. UART sekarang ini termasuk di dalam beberapa mikrokontroler (contohnya, PIC16F628).

Komponen keping UART tipikal

[sunting | sunting sumber]

Keping UART biasanya terdiri dari:

  • Penyangga (buffer) Transmit/Receive
  • Pengendali (control) Transmit/Receive
  • Penyangga Bus Data
  • Logika Kendali Read/Write
  • Kendali Modem


Lihat pula

[sunting | sunting sumber]