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.
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
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.