UART communication with PIC Microcontroller 12

[otw_is sidebar=otw-sidebar-1]Hello fellow! Welcome with us in new topic which is about Simple UART with PIC16F877A. So let’s begin with today’s topic.

 

UART communication with PIC Microcontroller

Why we using UART?

The universal asynchronous receiver-transmitter is use for data format and transmission speed. Serial communication using a Microcontroller is one of the uncomplicated operations to grasp on a microcontroller used almost in every single application. We can easily communicate with computer using UART.

Now I will show you by using this component in proteus and you the circuit.

Devices we are using:

UART

PIC microcontroller

Capacitor

 

Simple UART With PIC16F877A

 

UART:

        UART is a committed hardware related with serial communication. The hardware of UART can be a circuit builds on the microcontroller.

UART is one of the easiest and most repeatedly used in serial communication operation. Now a day’s UART is used in lots of applications like GPS Receivers, GSM, Wireless Communication, Radio frequency identification based applications.

If you recall the old computer systems, devices included Mouse, Printer are attached using a heavy adaptor at the back. These entire gadgets communicated using UART.

In fact USB has restored all types of communication with computers. Mostly all the microcontrollers have committed UART hardware construct in architecture. The important cause for integrating the UART hardware in to microcontrollers is that it is a serial communication and needs only two wires to connect with device and perform communication.

Pin layout:

Pins Description Output value
RXD Input 0
CTS Input 0
RTS Output 1
TXD Output 1

       

 

 

void getserial(){

///*

if (UART1_Data_Ready()) {     // If data is received,
      uart_rd = UART1_Read();     // read the received data,
   if(uart_rd=='1'){rly1=0;}
   if(uart_rd=='2'){rly2=0;}
   if(uart_rd=='3'){rly3=0;}
   if(uart_rd=='4'){rly4=0;}
   if(uart_rd=='5'){rly1=1;}
   if(uart_rd=='6'){rly2=1;}
   if(uart_rd=='7'){rly3=1;}
   if(uart_rd=='8'){rly4=1;}
      }
      
//      */


}

 

PIC microcontroller:  

       

Capacitor:

        A device which stocks the electricity in the condition of charges is known as the capacitor. When we attach the positive side of capacitor to positive side of battery and negative side will connect to negative side of battery. In this situation the battery will charge the capacitor. If we want to release our capacitor then we have to together both side of the capacitor or we can joined the capacitor in the circuit. We can utilize the capacitor where we desire to turn the AC voltage to DC voltage. The unit of capacitor is Faraday (f).

 

So guys this is it. I hope we had a great learning experience from this platform. So stay connected with us to get this beneficial and interested topic.

 

12 Comments

  1. Wow, incredible blog structure! How lengthy have you ever been blogging for?
    you made blogging look easy. The whole glance of your web site is fantastic, as well as the content!
    You can see similar here sklep online

  2. Hey there! Do you know if they make any plugins to assist with Search
    Engine Optimization? I’m trying to get my blog to rank for some
    targeted keywords but I’m not seeing very good results.

    If you know of any please share. Appreciate it!
    You can read similar art here: Link Building

  3. buy prescription drugs from india http://indiaph24.store/# best online pharmacy india
    best online pharmacy india

    JustinHycle
  4. top online pharmacy india https://indiaph24.store/# indian pharmacy
    mail order pharmacy india

    JustinHycle
  5. mexico pharmacy mexican pharmacy mexican drugstore online

  6. india pharmacy mail order https://indiaph24.store/# online shopping pharmacy india
    reputable indian online pharmacy

    JustinHycle
  7. http://mexicoph24.life/# best online pharmacies in mexico

  8. https://indiaph24.store/# buy medicines online in india

    Michaelbrisy
  9. п»їbest mexican online pharmacies medication from mexico pharmacy mexico pharmacy

  10. cipro: ciprofloxacin generic price – ciprofloxacin over the counter

    RandallFaila
  11. https://nolvadex.life/# tamoxifen endometrium

    RonaldAveve
  12. generic propecia pill buy generic propecia propecia without prescription

    DavidbritY

Leave a Reply

Your email address will not be published. Required fields are marked *