1602A LCD dosn´t display prrogrammed Data from a PIC16F877A

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

1602A LCD dosn´t display prrogrammed Data from a PIC16F877A

Post by Nasim Khaliqhey »

2016-05-17 (2).png
(93.54 KiB) Downloaded 1564 times
2016-05-17 (3).png
(269.92 KiB) Downloaded 1564 times

the 2 above atteched documents shows my programming & wiring of the 1602A LCD & PIC 16 F 877A
looking forward for finding a slution to this prolem

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by Benj »

Hello,

The connections look ok to me. Have you tried a 1 second flasher test to confirm the chip is running at the right speed etc on your circuit.

http://www.matrixtsl.com/wiki/index.php ... ED_flasher

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by dazz »

Hi
Can you also attach your flowchart here as it's almost impossible to try and guess, what your program is doing
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by Nasim Khaliqhey »

dear helper
here I send you the setup icins circuit diagram to find my mistakes if thyer is any.
but as I mentioned befor the crystal I have been ueing is 20MHz
also I have been using the same frequency for the intrupter that I need for this project
thanks alot
Nasim
Attachments
Flowcode 6.fcfx
(35.41 KiB) Downloaded 227 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by medelec35 »

Hi Nasim,
You have not set your configuration settings correctly.
select Build, Project options.
In general options tab change

Code: Select all

Clock speed to 20000000Hz
In Configure Tab change:

Code: Select all

Watchdog Timer to Off 
Low Voltage Programming to Disabled
Background Debug to off
Could you please read this post

Martin
Martin

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by Nasim Khaliqhey »

hey dear Benj Thank you for your technical Informations I did set the informations pionts

But stil I have empty Display
Can you please see the two atteched snapshots I have sent you
the scop shows the Data ok not the 16x2 LCD , in my PCB
If you find time for looking at my post please let me know what to do nex
wr
Nasim
Attachments
2016-05-19.png
(141.94 KiB) Downloaded 1463 times
micro- control -watch2.fcfx
(39.45 KiB) Downloaded 240 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by medelec35 »

I can't get your Flowchart to load. can you upload it again please.
What have you got connected to pin1 of 16F877A?
Did you follow Bens useful advice:
Benj wrote: Have you tried a 1 second flasher test to confirm the chip is running at the right speed etc on your circuit.

http://www.matrixtsl.com/wiki/index.php ... ED_flasher
What are the results from that?
Martin

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by Nasim Khaliqhey »

Hey Dear Benj
at the begaining of thsi projecj I have set the reset 10K interin 4.6v the switch is set at pin 1 of the IC when it pressed in makes the v =0
should that not be there?
wr
Nasim

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 1602A LCD dosn´t display prrogrammed Data from a PIC16F8

Post by medelec35 »

Hi Nasim,
Nasim Khaliqhey wrote:Hey Dear Benj
It's medelec35 (Martin)
Nasim Khaliqhey wrote:at the begaining of thsi projecj I have set the reset 10K interin 4.6v the switch is set at pin 1 of the IC when it pressed in makes the v =0
should that not be there?
The diagram is not clear to me.
Pin one must be connected to +5 v ( or what ever VCC your using) otherwise microcontroller will be in permanent reset state.

You have not attached an updated version of flowchart, so unable to assist any further.

Martin.
Martin

Post Reply