Microcontroller › 8051 › Need help with Electronic code lock project › All Friends, Could you
All Friends,
Could you please help me to develop a code in C for a microcontroler: It should have a keypad ( 3x 4) and a 2×16 lcd display
The keypad has the numbers 0 to 9 , clear and enter. ( just like the one from telephone , star will be clear and the other enter…)
I have 8 codes of 6 numbers that I will type in the keypad and I should be able to see the numbers in the display. If I do a mistake in the code I can press clear to start over. If I pressed the full 6 digits of a right code I press enter and the micro will comparte that number with a 8 codes of six numbers stored in the micro memory.
Each specific code of six digists will activate one pin output of the micro to activate a relay. So, it has 8 relays in the output and 8 different codes of 6 digits specific to activate each relay.
.
exemple:
1 code: 123456 – turn on relay 1 only
2 code: 234521 – turn on relay 2 only
3 code: 897643- turn on relay 3 only…
4…code…
5….code….
.6…. code…
.7…
8… …….turn on relay 8 only.
This is for school project, and I just have two weeks to deliver it.
I will help you with anything else.
Thank you.