[ Log In ]
Serial to USB converter with Micro USB cable

USB to Serial Converter

Thumbnail: Crystal Oscillator 18.432 MHz for UART

18.432 MHz Crystal Oscillator 18pf 30ppm

Thumbnail: 22 pF Capacitor

22 pF Multilayer Ceramic Capacitor

Thumbnail: Quartz crystal oscillator - 16 MHz

16 MHz Crystal Oscillator 20 pF Through Hole

3 Foot USB Cable Type A to USB Cable Type A

USB Cable Type A Male to USB Type A Male - 3 FT

USB 2.0 Cable 10 Foot Type A Male to Type B Male

USB 2.0 Cable Type A Male to Type B Male - 10 FT

Tumbnail: 62 oz-in NEMA 17 Stepping motors (also called stepper motor)

NEMA 17 Stepping Motor (62 oz-in 5mm single shaft)

$19.95 Out of Stock
Image of the Atmega324p



10K timmer potentiometer

10K Trimmer Potentiometer (Through Hole)


Understanding UART Serial Communication

With UART (Universal Asynchronous Receiver/Transmitter) and USART (Universal Synchronous Asynchronous Receiver/Transmitter), microcontroller communicate using two data lines called RX and TX. Rx is used for listening (receiving) to other sources like other chips or computers, and TX is used for talking (transmitting).

The speed that the two devices are communicating must be the same in asynchronous mode since there is no clock line connected between them. If each device has a different speed (baud rate), then the two would not be able to communicate.

In synchronous mode, the two devices are connected together by a wire that has a clock tick on it. One of the devices produces this clock on the clock line and the other device conforms to this clock frequency.

Two way communication can actually happen one wire and this mode is called half duplex. The transmission takes turns with the receiving. Full duplex is where the communication happens on two lines and the communication can happen simultaneously.

The communication that is sent from one device to another is sent as a data frame. The data frame consists of a start bit, data bits (i.e. 8-bit number), and one or two stop bits. The data frame may or may not include a parity bit.

The parity bit is a way for the microcontroller to determine if the data is valid or not. If something happened to the data on the way to the receiving end, the parity bit will give a clue to this error.

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.


Code (optional):