Continue to Site

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.

EEPROM of a PIC16F877A...

Status
Not open for further replies.

josh1245

Newbie level 5
Joined
Oct 20, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
hello!

can i please know how does the EEPROM of PIC16F877A read and write? I am doing a project which involves saving passwords, so how many four character passwords can it save?
Does a 4*4 keypad work with interrupts?
 

PIC16F877A has 256 bytes of EEPROM storage. If each character takes 1 byte, each password takes 4 bytes. So, you can save 64 passwords. You can save more if, instead of assigning 1 byte for each character, you assign 4 bits.
Does a 4*4 keypad work with interrupts?
Do you mean you want an interrupt to be generated upon a key press?

Hope this helps.
Tahmid.
 

thanks for your reply and yes, I wanted an interrupt to be generated upon a key press once the system is on sleep mode, furthermore we are targeting to save many no of passwords, (for eg. 1234) i.e. 4 digit characters passwords.. more like passcodes... so what is the best way to do this? and can u assign 4 bits for characters? this is my very first project,, besides um new to working with PICs.. so your help is appreciated :)
 

How many passcodes do you need to save? If the required number is less than 64 (or equal to 64), you can assign 1 byte to each character simply and save the passcodes on the PIC EEPROM.
 

PORTB higher nibble change on interrupt can use for 4X4 keypad interface.
internal eeprom read and write is also possible with library functions or user functions.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top