EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / All Friends,  Could you

All Friends,  Could you

|

Microcontroller › 8051 › Need help with Electronic code lock project › All Friends,  Could you

April 1, 2012 at 12:14 am #7374
luiz oliveira
Participant

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.

RSS Recent Posts

  • Please confirm monostable does not need reset? December 15, 2025
  • Multiple photodiodes for single ADC read December 15, 2025
  • Bringing a Siemens W-48 and Ericsson Model 1951 back to life December 15, 2025
  • Hitachi SuperScan Elite 802 CRT Monitor Issues (Model CM802U) December 15, 2025
  • Sound not working on Laptop December 15, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise