help in PIC16F877A

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

help in PIC16F877A

Postby streetlifez » Tue Mar 22, 2011 9:56 pm

Hi, anyone could provide me the code for PIC16F877A where the idea is to input 10 numbers using 3x4 keypad and will be displayed in the 16x2 lcd. the numbers will then be stored and later to be downloaded into the PC. need help!
streetlifez
Greenhorn
 
Posts: 2
Joined: Tue Mar 22, 2011 11:50 am

Re: help in PIC16F877A

Postby shahrul » Wed Mar 23, 2011 12:40 am

I only have Keypad and LCD. Others, you do for your own.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: help in PIC16F877A

Postby sich » Wed Mar 23, 2011 10:15 pm

Yup...shahrul's examples are good enough for learning. Anyway, i give you another alternative if you want more example to get going. Check out PR9-B Password Door Security. You can find Detail Description, Sample Code, Demo Video, Schematic and software needed in this DIY project page. Everything is free unless you want to buy the board and components to build one ;)
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 604
Joined: Tue Apr 21, 2009 2:15 pm

Re: help in PIC16F877A

Postby sich » Wed Mar 23, 2011 10:48 pm

streetlifez WROTE:the numbers will then be stored and later to be downloaded into the PC.

You can store your data in the EEPROM because it's non-volatile memory and the data will remain even the power is removed.
If you're using HI-TECH C compiler, you can find the user manual in Program Files once it's installed. Scroll to page 168 and page 185. The things you need (eeprom data, read/write) are there.

To download to PC, please look at [urlhttp://www.cytron.com.my/viewProduct.php?pid=JScyEBk9HQgTIhkrNBQQGdxsIUQ0LAGlW1aGbFn4NeM=]SK40C PIC Start Up Kit[/url] product page. You can find the sample source code for PIC16F at Useful Document section. There's UART.c sample code included demonstrates send/receive between PC and PIC.
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 604
Joined: Tue Apr 21, 2009 2:15 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 2 guests

cron