1602A LCD dosn´t display prrogrammed Data from a PIC16F877A
Moderator: Benj
-
- 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
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
- 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
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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
Hi
Can you also attach your flowchart here as it's almost impossible to try and guess, what your program is doing
Regards
Dazz
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
-
- 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
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
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 228 times
-
- 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
Hi Nasim,
You have not set your configuration settings correctly.
select Build, Project options.
In general options tab change
In Configure Tab change:
Could you please read this post
Martin
You have not set your configuration settings correctly.
select Build, Project options.
In general options tab change
Code: Select all
Clock speed to 20000000Hz
Code: Select all
Watchdog Timer to Off
Low Voltage Programming to Disabled
Background Debug to off
Martin
Martin
-
- 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
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
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
-
- 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
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:
What have you got connected to pin1 of 16F877A?
Did you follow Bens useful advice:
What are the results from that?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
Martin
-
- 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
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
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
-
- 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
Hi Nasim,
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.
It's medelec35 (Martin)Nasim Khaliqhey wrote:Hey Dear Benj
The diagram is not clear to me.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?
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