Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LCD program of PIC16f877 controlled intruder alarm from epe

Status
Not open for further replies.

alcindo

Member level 2
Joined
Jan 10, 2003
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
348
pic16f887 project

I have a circuit which contais pic16f887. It's an alarm system with a lcd.
When I try to simulate it on proteus, the simulation doesn't run properly. There's nothing displayed on the lcd and I get an error regarding the pic, specifically between ra0 an ra5 outputs, wich are connected to the lcd. Someone help me please and I would be very thankful.
 

pic16f887

Hai Alsindi,
please open the .asm file, enable the line

; __CONFIG h'3F31'

by removing the semi-colon

save the file in a location like c:\
call mplab
select the device properly and then, project build
it will save the hex file at c:\
with the same file name as asm
use it to program the chip

it works

Sarma
 

pic16f887 __config

Friend mvs sarma, I need help:
Do I have this circuit but doesn't it simulate in ISIS, can you help please?

Thank you very much
 

pic 16f887 ile lcd

Did you not try to re-build, after doing the mod I suggested ?

If you don't configure by using config word, the watch dog is enabled and you are not able to go ahead.

re built is attached , Please test and let us see

Sarma
 

pic16f887 programmer circuit

Friend mvs sarma, Isis doesn't simulate the circuit, I don't know reason.
Can you see for PDF where the mistake is?.

thank you very much
 

pic16f887 layout

alcindo said:
Friend mvs sarma, Isis doesn't simulate the circuit, I don't know reason.
Can you see for PDF where the mistake is?.

thank you very much
The version of Proteous ISIS is a demo or regular? what are the limitations if it is demo- whether it would handle large files or only few instructions.

please read the powering UP process
"When powering up with the programmed PIC in place, your first need is to adjust the l.c.d.’s screen contrast using preset VR1. Ignore any information which then becomes apparent – it depends on the existing contents of the PIC’s data EEPROM."

It is already indicated some junk might come. please try to find means of entering the mode and do as the article says, even on the simulator.
 

pic16f887 config word

My friend
thank you very much.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top