[PIC DEVELOPMENT BOARD] MANUAL

Similar documents
Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z

ScanWin Installation and Windows 7-64 bit operating system

Installing the USB driver for Firmware 7 or later For use with E-blocks programmer boards and PICmicro Development boards.

Installing PowerLink on Windows 7 64-bit

Communication with BushingGard using computer USB port

Installation Instructions for 9555 USB Driver

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

SheevaPlug Development Kit README Rev. 1.2

ScanShell.Net Install Guide

Plena Voice Alarm System Firmware update

GIE PIC K150 Programmer. User Manual

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

FLASH PROCEDURE for GSM BENTEL and DSC cards

Nuvoton Nu-Link Debug Adapter User Manual

USB to RS-422/485 Serial Adapter

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

2. Scope of the DE0 Board and Supporting Material

Guide to Installing BBL Crystal MIND on Windows 7

Colorfly Tablet Upgrade Guide

AIM SOFTWARE AND USB DRIVER INSTALLATION PROCEDURE

Windows XP Manual Installation

Mini Amazing Box Update for Windows XP with Microsoft Service Pack 2

GUARD1 PLUS Mini-Attendant File Manager User's Guide Version 2.71

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Programming Device Manual Booklet AVR Prog USB v2

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

KI6501 Data Manager. Software User Manual

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

CNR-BTU5 Bluetooth Dongle

2013 CNS Geiger Kit Instructions read me Page 1 of 5

AC-PG-USBASP USBASP AVR Programmer

Wireless Network Adapter Installation

QL-PROG Microchip MCU Programmer User s Manual Qianlongsheng Electronic Technology Co., Ltd.

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software

Phaser 3635MFP Software Upgrade Process

Transferring Scans from your Dolphin into Destiny

Chapter 3 Software Installation

1-10 The USB PIC K150 microcontroller programmer Hardware version V2.0 File version V2.0 Product Image

Centurion PLUS CPC4 Download Guide

F-Series Desktop User Manual F20. English - Europe/New Zealand

Config software for D2 systems USER S MANUAL

RS232 Board datasheet

Testing Data Radio Modem with Serial Port Tool V1.20

Installation of the USB to RS 485 Converter

Installing a Westell USB Network Adapter

3. Programming the STM32F4-Discovery

An Introduction to MPLAB Integrated Development Environment

File Management Utility. T u t o r i a l

Configuration Programme

How to setup a serial Bluetooth adapter Master Guide

Example Connection between USB Host and Android

Real Time Clock USB Evaluation Board V3.0

USB VoIP Phone Adapter. User s Manual

Keep it Simple Timing

Board also Supports MicroBridge

USB 3.0 to Gigabit Ethernet Adapter

Install Device Drivers and Toolkit for Windows 7

ISP Engineering Kit Model 300

T E C H N I C A L B U L L E T I N # 1 1 4

NetDisk & NetDisk Mini

ROBOTC Software Inspection Guide with Additional Help Documentation

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

2-Serial/1-Parallel Port PCI Adapter RC303 User Manual

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

Physio-Control LIFEPAK 12 / 15 and LIFEPAK 500 USB Cable Windows 2000 / XP / Vista Installation Guide

PP8X Printer Driver Installation Instruction

Installation Notes for Prolific PL-2303 USB Driver for USB - RS232 Adaptor Cable 1. Uninstall Existing USB-Serial Adaptor Drivers

Maxtor OneTouch User's Guide

COPYRIGHT TOP NOTCH TABLETS LLC HOW TO: Install the Drivers to your PC so you can Flash Firmware to your RK3066 Powered Tablet.

TouchKit Software User manual for Windows 7 Version:

The following items are trademarks or registered trademarks of Kaba Mas in the United States and/or other countries. GITCON

IMPORTANT! CPD 8424R1

Running the R4 Software on a USB Port

EasyPIC4 User s Manual

Work with Arduino Hardware

Iridium Extreme TM Satellite Phone. Data Services Manual

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

Lab Experiment 1: The LPC 2148 Education Board

User Manual. Thermo Scientific Orion

RTI Integration Release Notes

How to Download Images Using Olympus Auto-Connect USB Cameras and Olympus Master

How to install and use the File Sharing Outlook Plugin

ezsystem elab16m Project 1F: Alarm System (Full Project description)

Section 5: Installing the Print Driver

E-Blocks Easy Internet Bundle

SoundLAB Software Download Software from the Bogen website:

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

DUKANE Intelligent Assembly Solutions

FlowKit in-circuit debug system

Instructions for the installation of drivers and data reading software (TOOLBOX 4) The simple and reliable way to measure radioactivity.

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

RS485 Adapters. User Manual October 26, 2008 V1.02 Copyright Light O Rama, Inc. 2006, 2007, 2008 SC485 USB485B USB485 USB485-ISO

GETTING TO KNOW YOUR BIGPOND USB 4G

AVR Prog USB v3 MK II Eco Manual

Transcription:

Manual Kitsnspares.com [PIC DEVELOPMENT BOARD] MANUAL The document describes how to use a PIC Development Board to create applications based on PIC microcontrollers.

Introduction A PIC Development Board allows you to perform any experiment on PIC microcontrollers and create any applications based on them with minimum amount of effort and time. It s easy and fast programming helps debug the programs at a much faster rate reducing the time to market, whereas on-board interfaces like LCD and LEDs make it really comfortable to test the programs on the go. Connection of any external hardware is also very handy with I/O extended through box headers. Programing of the microcontrollers on the board is done directly through USB cable. The board can also be used as a programmer for programming PIC microcontrollers on the end product. Features of a PIC Development Board All I/Os are extended through box headers to comfortably connect external hardware On-board interfaces for LEDs and LCD Easy programming through 'B-type' USB Can be used as a PIC programmer for programming chip on the end product itself XT/RC mode selection facility Compact and low cost

Board layout The layout of a PIC Development Board is shown in Fig.1, indicating the positions of various interfaces on the board. Fig. 1: PIC Development Board layout

Pin diagram Fig. 2 shows the pin diagram for interfacing external hardware to the board and to use the on-board interfaces for debugging the programs. Fig. 2: Pin diagram N Not connected V Vcc G - Gnd Interfaces 1. I/O: There are 5 input/output ports that are extended through box headers for easy interfacing to the external hardware using band-cable Each box header has pin 9 as Vcc and pin 10 as Gnd (Ground) for supplying power to the external hardware. Port pins are numbered as shown below in Fig. 3.

Fig. 3: Box header 2. LED: LEDs are provided on the board for quickly debugging simple programs. These can be connected to Port B using a mini jumper. Fig. 4: LED interfaces 3. LCD: LCD provided in the board can be connected to Port C and Port D. Port C s initial 3 pins are used as the control signals, while the complete Port D is used as the LCD data pins. To connect the LCD to the PIC microcontroller ports, you need to short the two connectors using mini jumpers provided with the kit.

Fig. 5: LCD interface 4. External programmer: The external programming pins can be used to program any PIC microcontroller on some external hardware. Fig. 6: External programmer Installation of USB to Serial drivers To use a PIC Development Board you need to install USB to Serial converter drivers in your computer. If the computer doesn t have the USB to Serial drivers, the moment you will plug in the device to it through the USB port, it would display the following message shown in the Fig.7. Fig. 7: Hardware detect

To install USB to Serial drivers, open device manager and double click the option USB<->Serial as shown in the Fig. 8. Fig. 8: Device manager Fig. 9: USB to Serial properties Click on the driver tab and then click on the update driver button.

Fig. 10: Driver properties Select 'browse my computer for driver software' Fig. 11: Update driver Download the driver from the CD provided along with the kit. Give the location of the driver as shown below:

Fig. 12: Driver path Fig. 13: Selection of driver corresponding to your computer

Installing driver software. Fig. 14: Installing drivers After the successful installation of the drivers following window will appear Fig. 15: Successful Installation Close the above window, and recheck the device manager window for successful installation of the device drive software.

Fig. 16: Driver successfully installed Plug out the device and connect it again and you will see the device is detected as shown below in the Fig. 17. Fig. 17: Hardware detected

Programming Basic steps: 1. Connect the USB port to your computer, and install the drivers as described above step by step. 2. Move DIP switch to its 'ON' position (programming mode). 3. Choose between XT and RC using a mini jumper as mentioned in Fig. 1 and Fig. 2. 4. You can choose between the two ways of programming (using GUI or the command prompt). Programming with GUI interface The pictorial description presented below explains how to program the PIC microcontroller on the board. First install the PICPgm software. For installing the PICPgm, click on the winpicpgm software provided in the CD and then follow the steps as shown in the figures from 18-33. In the start the following window will appear:

Fig. 18: Installation of PICPgm Click Next. Fig. 19 Click on the 'I accept the agreement', and then click Next.

Fig. 20 Provide the destination path for the installation of the software and click Next. Fig. 21: Click Next.

Fig. 22 Click Install. Fig. 23 Click Finish, to complete the installation. After successful installation of the software, the icon of PICPgm will appear on the desktop.

Fig. 24 Click on the icon of PICPgm, if the following window appears, click OK and proceed for programming.

Fig. 25 After clicking OK, the following window of PICPgm will appear. Fig. 26 Point to be noted here is that the above window neither indicates which PIC we are using, nor identify the programmer. Thus click on autodetect programmer.

Fig. 27 After clicking on the programmer, the PIC microcontroller will be detected and shown on the GUI. Fig. 28 Fig. 29

If the above widow appears somewhere in between, click OK and proceed to configure the bits as displayed in the Fig. 30. Fig. 30 To program the PIC microcontroller in the XT mode, open the two pins of XT/RC header. To program in the RC mode, short both the pins using a mini jumper. Keep WDTE, PWRTE and BOREN as disabled.

Fig. 31 Browse for the hex file and click program PIC. The following window will show the status of programming. Fig. 32 After the successful completion of the programming, the following window will pop-up to indicate the program being burnt successfully.

Fig. 33 Programming with command prompt To program the PIC microcontroller using command prompt, follow the below mentioned steps: Open the command prompt window and go to the directory having PICPgm.exe as shown below in Fig. 34. Fig. 34 To auto-detect the programmer, type '-r', after the path.

Fig. 35 To erase the previous program from the PIC controller, type '-e'. Fig. 36 To program the microcontroller, copy paste the hex file of the program into the folder where the PICpgm software is installed (C:\Program Files\PICPgm), then provide the path of the software and type '-p' and the name of the file with an extension.hex as shown below in Fig. 37.

Fig. 37 Sample programs: You can program the microcontroller with the sample code provided in the CD. The code is also copied below: 1. Connect the board to your computer using USB port. 2. Move the mode selection switch to the 'ON' position 3. Open PICPgm and follow the programming instructions to program the microcontroller 4. Move back the mode selection DIP switch to its original position and press reset. 5. The LCD and LEDs will work now. For your reference, program is also pasted below.

#include<pic.h> CONFIG(WDTDIS & XT & UNPROTECT); char name1[32]={" KitsNspares KitsNspares "}; void delay(int x) //Function to Provide Delay { int d,l; for(l=0;l<x;l++) { for(d=0;d<3000;d++); } } void instwrt(void) //Function to write command { RC0=0; RC1=0; RC2=1; delay(1); RC2=0; delay(1); } void datawrt(void) //Function to write data { RC0=1; RC1=0; RC2=1;

delay(1); RC2=0; delay(1); } void lcdin() //Function to initialize LCD { PORTD=0x38; instwrt(); PORTD=0x0c; instwrt(); PORTD=0x01; instwrt(); PORTD=0x06; instwrt(); PORTD=0x80; instwrt(); } void main(void) { int a; TRISD=0x00; TRISC=0X00; TRISB=0x00; lcdin(); for(a=0;a<32;a++) {

PORTD=name1[a]; datawrt(); } while(1) { PORTD=0x18; instwrt(); PORTB=0x0aa; delay(10); PORTB=0x55; delay(10); } } ----------------------------------------------END OF DOCUMENT----------------------------------------------------------