USB to RS-232 – FT232RL

There are tons of articles out there, but I decided to make my own device at the moment:

I had thoughts to make such a device long ago, but at this point of time, the necessity of having this stuff increased significantly. Initially, I found a cheap CP2102 IC, it was cheaper than the huge FT232RL, which has a lot of redundant for me functions. Then I went shopping (here I’m talking about Belarus like 8 years ago) and realized that for us CP2102 is more expensive than FT232RL. Well, my choice was kind of obvious.

Continue reading

Pic Lab, PIC16, Experiment #14, USART (UART) module

Let’s look at USART module in pic microcontroller (uart module).

I’m going to move in two ways:

1. Using existing functions from a hi-tech compiler.

2. Writing my own functions.

USART = UART = SCI – the universal data transmitting/receiving protocol, which can work in synchronous and asynchronous modes. We pay attention to the second mode at the moment, this one is used for communications mostly.

Continue reading