Pic16f628 hyperterminal connection
Wed Mar 19 2008, 01:05 am
your connections are not seem to be fine..
plz post your circuit cannot understand what are you saying..
and yes you need max232 for connecting PIC to PC.
plz post your circuit cannot understand what are you saying..
and yes you need max232 for connecting PIC to PC.
Wed Mar 19 2008, 01:20 am
Wed Mar 19 2008, 01:41 am
i selected intrc. 4 mhz and my c program too. and i tried 9600. but nothing happened. then i select 2400 only hyperterminal. some different characters came.
i used for loop. so it must come every loop. but that characters comes sometimes.and isnt "1"
i used for loop. so it must come every loop. but that characters comes sometimes.and isnt "1"
[ Edited Wed Mar 19 2008, 01:42 am ]
Wed Mar 19 2008, 10:38 am
r u using CCS PCM compiler?? the cod eseems that way...
while burning to the chip did u check the correct configuration... ??
i mean oscillator type and WD..
your problem can be due to enabled watch dog or wrong choice of oscillator...
while burning to the chip did u check the correct configuration... ??
i mean oscillator type and WD..
your problem can be due to enabled watch dog or wrong choice of oscillator...
Wed Mar 19 2008, 07:35 pm
and i connected lcd.but in lcd screen (2x16) there are 16 small box. the program and connection true.my program:
but didnt work. i select intrc clkout. what is problem?
i cant connect to pc and cant working with lcd
#if defined(__PCM__) #include <16F628.h> #use delay(clock=4000000) #define use_portb_lcd TRUE //lcd bilgisi için port b'yi kullanıyoruz #include <LCD.C> int tamsayi=1; // tamsayi adında tamsayı tipinde bir deÄŸiÅŸken tanımlıyoruz ve deÄŸerini 1 olarak baÅŸlangıçta veriyoruz. void main() { lcd_init(); //lcd ekranımızı kuruyoruz printf(lcd_putc,â€Cevizimiz:\n%dâ€,tamsayi); //Ekrana “Cevizimiz:†yazar ve alt satıra giderek sonuc deÄŸiÅŸkenini yazar. bas: goto bas; }
but didnt work. i select intrc clkout. what is problem?
i cant connect to pc and cant working with lcd
Wed Mar 19 2008, 10:24 pm
you are using LCD in 4-bit mode.. and you did not specify it anywhere...
Wed Mar 19 2008, 10:50 pm
hey are using an lcd library or have u made that lcd_init() by ur own??
if u made it feel free to share with us we will not misuse it
if u made it feel free to share with us we will not misuse it
Wed Mar 19 2008, 11:32 pm
my connection is same in the picture. shyam and ajay please help. it doesnt work. only 16 box appear what is problem. how can i set 4 bit mode ajay?
Powered by e107 Forum System