PIC WITHOUT USING CRYSTAL

This project uses GC Basic IDE for program compiling.Here we are making use of the internal oscillator of PIC16f628A.

ADVANTAGES 

  1. Reduces circuit soldering
  2. We can make use of 2 pins of external oscillator to our project

      Here iam going to use those pins as data pins connection to 16*2 LCD.

PROGRAM

;Chip Settings
#chip 16F628A, 0
;Defines (Constants)
#define LCD_IO 4
#define LCD_RS PORTA.0
#define LCD_RW PORTA.7
#define LCD_Enable PORTA.6
#define LCD_DB4 PORTB.6
#define LCD_DB5 PORTB.7
#define LCD_DB6 PORTB.5
#define LCD_DB7 PORTB.4
wait 1 s
Do Forever
Locate 0,2
print "ELECTROTECHYS"
 Locate 1,6
 print "MEDIA"
 WAIT 100 mS
 CLS
loop


CIRCUIT DIAGRAM



Post a Comment

0 Comments