In2Dusk
Junior Member level 3
I got two chip (pic18f14k50 which works on 1V8 to 5V5 and pic18f45k20which works from 1V8 to 3V3), I grounded them together and tried to make simple communication between them.
I programmed external interrupt for pic18f14k50 to switch LED each time interrupt occure, and pic18f45k20 to send pulse every half second.
It worked fine when pic18f14k50 is powered from battery (3V) and pic18f45k20 is powered trough pickit2 (3V3) but when I power both of the from battery, pic18f14k50 is not switching the LED.
What is the problem with it? I cant figure it out...
---------- Post added at 14:32 ---------- Previous post was at 12:59 ----------
I solved it! Yeah! :-D
I looked at datasheets and found out that i need to lower voltage of the pic18f14k50 to 2V5 in order to make interrupt occcure. I tried it and it worked.
I programmed external interrupt for pic18f14k50 to switch LED each time interrupt occure, and pic18f45k20 to send pulse every half second.
It worked fine when pic18f14k50 is powered from battery (3V) and pic18f45k20 is powered trough pickit2 (3V3) but when I power both of the from battery, pic18f14k50 is not switching the LED.
What is the problem with it? I cant figure it out...
---------- Post added at 14:32 ---------- Previous post was at 12:59 ----------
I solved it! Yeah! :-D
I looked at datasheets and found out that i need to lower voltage of the pic18f14k50 to 2V5 in order to make interrupt occcure. I tried it and it worked.
Last edited: