OLIMEX PIC-P18 User Manual Download Page 5

SOFTWARE: 
 
DEMO1:     

PIC16F628-I/P BLINK 

LED 

 

This is demo code which blinks the LED on PIC-P18 board. 

 

Note: 

LED jumper should be closed! 

 

 
DEMO2:     

PIC16F628-I/P BUTTON 

read 

This is demo code which show how to read BUTTON status and to switch 
the LED ON when button is pressed and LED off when the button is 

depressed. 
 
 

 

DEMO3:     

PIC16F628-I/P 

RS232 send / receive routines 

 
This is demo code, which show how to use the USART to send and receive 

characters from host PC via RS232 cable. 
 
The MAX232 by default is not connected to PIC on the board so you have to 

solder two wires – one from RB2 (pin #8) of PIC16F628 Tx signal to MAX232 
Tx labeled pin, and second from RB1 (pin #7) of PIC16F628 Rx signal to 
MAX232 Rx labeled pin. 

 

IMPORTANT: as seen from the schematic RB2 is also connected to the 

User button, this means if you press the button during the 
communication the communication will be lost and you may burn your 
PIC UART port!  

 
You must program the HEX code to PIC16F628 and run the code. 
 

If you programmed the PIC correctly and wired the UART, when you open 
Hyperterminal on your host PC computer with 9600 bps, 8 data bit, 1 stop 
bit, No flow control and apply power supply to the PIC-P18 every character 

you type on the hyperterminal will be printed back with “*” i.e. if you type 
“abc” you will receive “a*b*c*”. 

 
 

 

 

 
 
 
 
 
 
 
 

Summary of Contents for PIC-P18

Page 1: ...PIC P18 development board Users Manual Rev A June 2007 Copyright c 2007 OLIMEX Ltd All rights reserved ...

Page 2: ...PIC P18 should not be powered via the external power jack The power supply circuit have diode bridge after the power supply jack which allow you to power this board with both AC and DC power supply adapters The input voltage could be anything within the range 7 5 15V DC or 6 12V AC Voltage regulator is made with LM317 adjustable voltage regulator and have jumper which selects what voltage you supp...

Page 3: ...o RB2 Reset button and circuit Power plug in jack accept AC and DC input selectable 3 3V 5V power supply voltage regulator 3 3V when jumper is closed Extension slot on every uC pin Gird 100 mils GND bus Vcc bus Four mounting holes 3 3 mm 0 13 FR 4 1 5 mm 0 062 green soldermask white silkscreen component print Dimensions 100x80 mm 3 9x3 15 All boards produced by Olimex are ROHS compliant ...

Page 4: ...HARDWARE ...

Page 5: ... solder two wires one from RB2 pin 8 of PIC16F628 Tx signal to MAX232 Tx labeled pin and second from RB1 pin 7 of PIC16F628 Rx signal to MAX232 Rx labeled pin IMPORTANT as seen from the schematic RB2 is also connected to the User button this means if you press the button during the communication the communication will be lost and you may burn your PIC UART port You must program the HEX code to PIC...

Page 6: ...ORDER CODE PIC P18 assembled and tested no kit no soldering required PIC P18 PCB blank PCBs only Revision history REV A create June 2007 ...

Page 7: ...y be adapted or reproduced in any material from except with the prior written permission of the copyright holder The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warrantie...

Reviews: