alarm house 16f877 ?

Status
Not open for further replies.
Well I got my hands on the code that JOHN BECKER - EPE INTRUDER ALARM
It's in assembly I'm not going to post it all but here is the problem
;PIC16F877-4, 3.2768MHz, WDT OFF, POR ON, XTAL XS
 
I was going to get It to working I 'll post how the switches work. Here i not sure if this helps or not it's the switches
 

Attachments

  • swtches.PNG
    6.1 KB · Views: 303
my keyboard keys --> 3x4 ...no 4x4
if I made the realization EPE INTRUDER ALARM
This can cause a problem ?
is my lcd 2x16 is as good ?
on this project, we have the asm file
what is important , that you think?
I started the project?
thank .....

be80be ,
I sent an email.

 
Last edited:
hei guys can i ask some question regarding my 2x16 LCD (8bits)
im using a pic Basic program and i dont know what is the problem..
The LCD cant display output.. when i press the reset button in my pic16f877a the LCD will display a different characters but it doesnt continue anymore..
i dont know where the problem is.. my codes are the following

TRISB = 0x00
TRISC = 0x00

Define ADC_CLOCK = 4
Define ADC_SAMPLEUS = 3
Define LCD_BITS = 8
Define LCD_DREG = PORTB
Define LCD_DBIT = 0
Define LCD_RSREG = PORTC
Define LCD_RSBIT = 0
Define LCD_EREG = PORTC
Define LCD_EBIT = 2
Define LCD_RWREG = PORTC
Define LCD_RWBIT = 1
Define LCD_COMMANDUS = 2000
Define LCD_DATAUS = 200
Define LCD_INITMS = 2

Lcdinit 1

main:
Lcdcmdout LcdClear
Lcdout "Hello"
WaitMs 5000
Goto main
End

sometimes it display just letter "e" and then it will stop
can u suggest any solution der..tnx in advanced
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…