Line 2: Line 2:
 
In this tutorial we will be doing the serial communication on PIC16F877A Starter board.<br>
 
In this tutorial we will be doing the serial communication on PIC16F877A Starter board.<br>
 
PIC starter board has an on board Usb-to-Serial converter and you do not need any other hardware other than this board.<br>
 
PIC starter board has an on board Usb-to-Serial converter and you do not need any other hardware other than this board.<br>
 
 
[[File:0 UART main.gif]]
 
[[File:0 UART main.gif]]
 +
<br><br>
 +
  
 
=UART Pins=
 
=UART Pins=
Line 15: Line 16:
 
|TX || PORTC.6
 
|TX || PORTC.6
 
|}
 
|}
 
 
<br><br><br>
 
<br><br><br>
 +
 +
 
=Code=
 
=Code=
 
<html>
 
<html>

Revision as of 18:40, 2 May 2016

In this tutorial we will be doing the serial communication on PIC16F877A Starter board.
PIC starter board has an on board Usb-to-Serial converter and you do not need any other hardware other than this board.
0 UART main.gif


UART Pins

Below table shows the PIC16F877A Starter board UART pins.

UART Pin Controller Pin
RX PORTC.7
TX PORTC.6





Code

Pic16f877a uart.PNG