View previous topic :: View next topic |
Author |
Message |
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
HELP: PIC16F877A for 3X4 Numeric Keypad and 4X20 LCD |
Posted: Fri Aug 06, 2010 1:54 am |
|
|
Please Help ME:
Can you kindly give me a code for simple inputting of number from 0 - 9 that will be outputted on LCD? Kindly see the Schematic Diagram Below
I am using PIC C Compiler Provided by CCS and I am using ISIS for Simulation..
Hope that you could help me... Many Thanks...
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
|
Posted: Fri Aug 06, 2010 11:00 pm |
|
|
Quote: | Change the #define statements in those drivers so the pin connections
are the same as on your schematic. |
I dont know how to change #define statements with my pin configurations because Im just a newbie.. could you please edit those codes for me? So I will be able to understand on how you will change the codes.. Please help me.. Thank you very much PCM Programmer.. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Aug 06, 2010 11:04 pm |
|
|
You should at least try to do it. |
|
|
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
|
Posted: Sat Aug 07, 2010 12:38 am |
|
|
Okay sir, Can you post your schematic diagram of your posted code? so that i will be able to understand on how your project works.. Thanks a lot.. I'm trying to study those codes because I am a complete newbie with these codes... |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
|
Posted: Sat Aug 07, 2010 1:23 am |
|
|
IT WORKS PERFECT!!! I change the #define assignments with my pin configurations.. I just learned that when the input in D4 to D7 becomes low and then it is its bit assignment like 5 as 0101..
I hope that It would work on my Project as perfect as with the simulation.
Can you recommend any software that is compatible with my JDM Programmer?
I have ICProg Software but I think that it has a bug because it says program failed at 000h when I'm programming the hex file... |
|
|
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
|
Posted: Sun Aug 08, 2010 7:18 am |
|
|
@Sir PCM Programmer, When I'm Programming the hex file that I built from your code, the ICProg says "Verify failed at address 000h!"
What does that mean?
I dont know if my programmer is JDM but I think it is...
I connecting the RS232 DB9 to my programmer and to the COM1 Port..
While programming, the LED is flashing and i think that my programmer is okay.. but if it get finished and that error is appearing...
any comments/suggestions might help me... Thanks |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Aug 08, 2010 2:25 pm |
|
|
I don't know anything about those programmers. The inventors of those
programmers apparently don't have a support forum. My advice is to
use Google to find help. |
|
|
zephyr2009
Joined: 06 Aug 2010 Posts: 15
|
|
Posted: Thu Aug 12, 2010 9:45 am |
|
|
Okay sir PCM programmer,
I wanted to add another feature in which the number that I inputted on LCD should be saved on PIC?
Could that be possible?
Because my project is all about SMS Texting, in which I wanted to send messages all the cellphone numbers saved on PIC...
So that my circuit will have a GSM Modem...
Do you have thread about these?
Thank you in advance. |
|
|
|