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.

[SOLVED] PIC16F84A --> PIC16F819 FOR LCD.

Status
Not open for further replies.

Shinnster

Member level 4
Joined
Sep 15, 2009
Messages
70
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
1,800
Okay so I tried to use PIC16F819 to replace PIC16F84A,
but for some reason, PIC16F819 will not display Hello World.
Any particular reason?

Things to note:
I disabled MCLR, so I just left that pin as it is.
I use XT (4MHz) External so I config'ed that.
What other things I should take note?
 

wp100

Advanced Member level 5
Joined
May 15, 2009
Messages
3,056
Helped
883
Reputation
1,781
Reaction score
736
Trophy points
113
Location
Prime Meridian
Activity points
0
Hi,

Worth checking all the config paramenters - but probably the commonest error is that if you are using Ports RA0 -RA4 for your lcd, your must select them for Digital I/O by means of ADCON1 as the chip defaults those ports to analogue at power on.

Does your lcd show a row of black blocks across the top row - that usually means the lcd is ok, but your progam is not running.

You could also try using the 4meg internal oscillator incase you have damaged or have a faulty xtal.
 

    Shinnster

    Points: 2
    Helpful Answer Positive Rating

Shinnster

Member level 4
Joined
Sep 15, 2009
Messages
70
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
1,800
Oh, thanks for that.
Yeah the LCD was showing a row of black blocks.
I did try the 4Mhz internal oscillator. Wanted a similar circuit to F84A.

What is Write Enable for?
 

Shinnster

Member level 4
Joined
Sep 15, 2009
Messages
70
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
1,800
No, different, I'm talking about PIC16F819.
In the Configuration, WRT.
Nvm about it =]
 

wp100

Advanced Member level 5
Joined
May 15, 2009
Messages
3,056
Helped
883
Reputation
1,781
Reaction score
736
Trophy points
113
Location
Prime Meridian
Activity points
0
Hi,

Not something I have used, but on your chip I think its turned on to allow the program to change its own program code while it is running !

See page 30 section 3.7 for details.

In a word, just let it use the default WRT config value as it not a function you will really want to use just yet.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top