Microchip Technology PICDEM Mechatronics Demo Board DM163029 DM163029 User Manual

Product codes
DM163029
Page of 64
Example Projects
©
 2006 Microchip Technology Inc.
DS51557C-page 39
2.3.8
Project 8: PC Interface Using the USART
Communicating with the serial port on a PC is a very useful tool. Applications include 
a piece of test equipment that needs to interface to a PC or a design that uses the serial 
port during development to configure the device. In this project, the PIC16F917 will use 
the USART to receive commands from a PC application. Another notable feature to this 
project is that the firmware implements an auto-baud routine to sync up with the 
application.
Objectives
1.
Use the provided PIC
®
 MCU Communicator GUI to manipulate the I/O on the 
PIC16F917.
2.
Understand what an auto-baud routine entails.
Applicable Technical Documents
Asynchronous Communications with the PICmicro
®
 USART Application Note, AN774 
(DS00774)
Jumper Configuration
• Make sure there are no jumpers or shunts on JP2.
• RD7 (J10) to D0 (J14)
• Connect a serial cable between the board and PC
FIGURE 2-16:
PROJECT 8: JUMPER DIAGRAM