You are on page 1of 7

PIC 16F87x Development Board with Self programmable ( Boot loader based), ICSP Facility.

The PIC16F877A ED-PIC-V 3.0 Development Board can be used to evaluate and demonstrate the capabilities of Microchip PIC16F877A microcontroller. The board is designed for general purpose applications and includes a variety of hardware to exercise microcontroller peripherals. This board is ideal for developing new projects or products and also suitable for self study on Microchip PIC 8 bit controllers. This is a self programmable board and so no need of external device programmer for programming the MCU in this board. The user needs only this board, the software supplied along with this board (i.e) PIC Downloader and a computer system with RS232 serial Port to start working with this board. This board also has a ICSP interface for programming through external ICSP programmer. This Target board is implemented on a Single sided Printed Circuit Board with neatly printed Silk Screen Top marks for easy understanding. The basic circuits and components for a common type applications are incorporated in the same. The board has got built in 5V regulated power supply circuit , crystal

oscillator circuitry, reset circuitry, Interrupt INT0 circuitry, 8 LEDs, 8 array Switches, 2 POTs for giving input to ADC0 & ADC1, ULN 2003 circuitry, EEPROM circuitry to interface external memory. The board has a built-in TTL to RS232 level transceiver for RS232 standard serial ports. 2 Lines 16 characters LCD facility is also provided. Apart from these, all the 33 I/O lines have connectors for connecting to external hardware via RMC standard connectors. The one of the special feature of this board is that the Port B, Port C and Port D has an optional Pull Up / Down Circuitry also ( selectable through associated jumpers). The assembled board comes with 4 MHz crystal. The recommended power input is <18volt DC/AC. The board has five standard connectors for delivering 5V DC output also.

Jumper and Connection Details: Jumper settings Jumpers to be short circuited Pins 1 and 2 in JP21, JP22 pins 2 and 3 in JP21, JP22 Placing jumpers in JP5 and JP6 JP8, JP9, JP10 JP7(for 8 I/P Switch), JP11 (for Ext INT) 1 and 2 in JP20 (Sliding Switch) 2 and 3 in JP20 (Sliding Switch) JP3 JP4 JP23 To do in the circuit Connects A/C adapter Connects the PBT connector Connects I2C EEPROM to MCU Shifts chip resistor to pull down or pull down ( refer nearby markings in the board) Change the switches to active LOW or active HIGH Initializes the manual boot loader ( press RESET key) Starts auto mode Connects ADC0 ( POT R5) Connects ADC1 (POT R6) LCD ON(Jumper placed) / OFF ( Not Placed)

Component / Part POT R5 POT R6 POT R17 RST INT

Purpose 10K POT connected to RA0 10K POT connected to RA1 LCD contrast adjustment RESET switch Interrupt 0 switch ( INT0 ) RB0

Connection details of ICSP Interface: 1 MCLR 2 No Connection 3 GND 4 RB7 / PGD 5 RB6 / PGC 6 No Connection

Downloading the Hex file into the MCU Chip A special PIC program called PIC Bootloader is already loaded into the PIC MCU 16F877a in the board using the conventional Serial Programmer. We have to install a windows program called PIC Downloader on our desktop computer using the setup button in the software page of the

accompanying CD-ROM. The windows software PIC Downloader is developed in such a manner to communicate with this firmware on PIC.

Configuring PIC Downloader After the setup is installed we will be having a PIC DownLoader Icon on our desktop. Click on the icon and we will get the user interface of the program.

First select the COM port number in our system, and select the baud as 9600 in the pull down Button. Then, using a serial port DB9 cable we can connect the board with our PC.

Using MPLAB or other suitable programs, create PIC program and make the hex file. Using search button in PIC DownLoader we can select the hex file. Then click write. (Press reset button if the progress is not automatic).

Then the Windows GUI will communicate with the firmware in the chip through the serial port and both these modules together will download the complete hex file into the program memory of PIC. After the code is downloaded you will get an Ok window like shown here.

The Hex file will be loaded into the board and will start to run immediately.

PIC16F877A ED-PIC-V 3.0Features Compact and Ready to use design Professional EMI/RFI Complaint PCB Layout Design for Noise Reduction Includes PIC16F877A Microcontroller No separate programmer required (Built in Boot loader) . ICSP Interface is Provided Screw terminal for External power Supply as well as AC adapter socket External Power Supply range of 7V to 18V RS-232 Interface (For direct connection to PCs serial port) On board I2C EEPROM (24C04) Built in 8 LED Interface to test I/O On Board External Interrupt and Reset buttons Built in Pot interface to ADC On Board 4 MHz Crystal Oscillator On Board Power LED Indicator 2 lines 16 characters LCD All Port Pins available through RMC Connector Can be used as main board for developing applications Power Supply Reverse Polarity Protection On Board 1 Amp Voltage Regulator Demo HEX codes included for testing of board features Example codes included PIC16F877A Chip Specification Microchip PIC 16F877A with 20 MHz Crystal Oscillator (With Boot loader Software) High Performance RISC CPU 8 K Words Programmable Flash Memory 368 bytes Data Memory (RAM) 256 bytes EEPROM 20 MHz Operation (200ns instruction cycle) 33 I/O pins 8-Channel 10-bit Analog to Digital Converter (ADC) Two PWM Channels Two Capture modules (16-bit with max. resolution 12.5 ns)

Two Compare modules (16-bit with max. resolution 200 ns) Two 8-Bit Timer/Counter One 16-Bit Timer/Counter One Serial USART One Master Synchronous Serial Port (MSSP) One Serial Peripheral Interface(SPI) Module One Inter-Integrated Circuit (I2C) Module Power-On Reset (POR), Power-Up Timer (PWRT) and Oscillator Start-up Timer (OST) Interrupt Capability (up to 14 sources) Eight Level Deep Hardware Stack ICSP Programming Brown Out Reset Low Voltage Programming Power Saving Sleep Mode Programmable Code Protection Fully Static Design Wide Operating Voltage 2.0V to 5.5V Low Power Consumption PIC16F877A ED-PIC-V 3.0 Package Includes Fully Assembled and Tested PIC16F877A ED-PIC-V2.0 Development board Software CDROM with Manual Schematic Programming Software Sample Hex Code Example Codes

You might also like