Skip to main content

Simple Electronic Lock Using PIC18


Lack of proper home security is just is dangerous driving your car among your kids without a seat belt. 

The world is cruel and offers a lot of risk including home invasion.

In fact, recent statistics indicate 500 break-ins in every passing second, there are certain things you can do to secure your home, such as installing a digital lock system.


Today, I am presenting  Digital Electronic Door Lock developed with PIC Microcontroller and simulated in Proteus.

When I was writing its software, the first thing that came to my mind is the password which is the only key to open the lock.

The owner of the house must know the correct password otherwise lock will ask for code again.

What if someone keeps on trying to attempt the wrong code?

Here we need an alarming situation, in that case, the lock will start a buzzer.

 


 

It’s fairly clear from the above figure that I have used a PIC Microcontroller as the brain of the system.4x4 keypad, which is used to take inputs from the user. LEDs which are used to just indicate the wrong password, warning for the user and ready to input password indications.

Demonstration and working:

Demonstration and working of this project is given in the below video:

                Friends for further learning about PIC18 checkout 



Comments

  1. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site
    door interlocking system
    electric door strike

    ReplyDelete
  2. Dear sir,
    Can u please send me the mplab codes for this? Its urgent.

    munaveer00@gmail.com

    ReplyDelete
  3. Your videos and articles carry a lot of knowledge for me khoa van tay , that I really support you with more good new songs, thank you for giving us more knowledge! Introduce your side to the fingerprint door lock! thank you very much

    ReplyDelete
  4. can i get the coding for this simple electronic lock using pic18 pliss ...this for my final year project

    ReplyDelete
  5. can i get the coding for this simple electronic lock

    ReplyDelete
  6. Can u give me this project coding pliss

    atikah9451@gmail.com

    ReplyDelete
  7. can i get the code for the safe?

    ReplyDelete
  8. Dear sir,
    Can u please send me the mplab codes for this? I'm working on this project and i really need it. Thanks.

    nurfatihahazman97@gmail.com

    ReplyDelete
  9. Hello Sir,
    Can u please send me the mplab codes for this? I'm working on this project to and really need it. TQ. I really appreciate it.

    syafiqsyafri11@gmail.com / s202060345@studentmail.unimap.edu.my

    ReplyDelete
  10. Hi, i am interested to buy the code, kindly pm me in mario_bros8@yahoo.com and we can discuss further.

    ReplyDelete
  11. can u share the code ? my email is 17dtk20f1030@student.psis.edu.my
    urgent

    ReplyDelete

Post a Comment

Popular posts from this blog

How to use SPI Debugger

  SPI Debugger Hi Friends, in this post, we will discuss how to use SPI Debugger available in proteus for serial peripheral interface (SPI) which is a built-in feature of PIC microcontroller to communicate and data exchange between PIC and other devices. SPI Debugger Introduction to SPI Guys, SPI can be considered as a programmable shift  register, The SPI module is a synchronous serial I/O port that shifts a serial bit stream of variable length and data rate between the PIC and other peripheral devices. Here “synchronous” means that the data transmission is synchronized to a clock signal. To avoid further delay, let's see some important connections and different configurations to effectively use SPI Debugger. How to use SPI Debugger in MASTER & SLAVE configuration Select the virtual instrument and from the instrument, list selects "SPI Debugger". SPI Debugger Insert two SPI Debugger on the working area, select any one of them,

PIC18f4580 Timer0 calculation using miKroC , CSS and proteus

PIC18f4580 TIMER PROGRAMMING The PIC18f4580 has four timers. they're named as Timers zero, one, two, and three. they will be used either as timers to come up with a time delay or as counters to count events happening outside the microcontroller. First, we see however Timers zero is employed to come up with time delays. Every timer wants a clock pulse to tick. The clock supply will be internal or external. If we have a tendency to use the inner clock supply, then 1/ fourth of the frequency of the crystal oscillator on the OSC1 and OSC2 pins (Fosc/4) is fed into the timer. Therefore, it's used for time delay generation and for that reason is termed a timer. By selecting the external clock choice, we have a tendency to feed pulses through one among the PIC18's pins: this is often known as a counter. GIF  taken from  https://exploreembedded.com Basic registers of the timer Majority of t timers in 18F are 16 bits wide. Because the PIC 18 has an 8- bit ar

Frequency Counter using Interrupts PIC18f4580 Project

Frequency Counter  using PIC18f458 0 Proje ct This POST describes the construction of small frequency counter with a cheap PIC18f4580 microcontroller with 16 x 2 LCD.   Prerequisites: PIC18F4580 TIMER Programming. PIC18F4580 COUNTER Programming. PIC18F4580 Interfacing with 16x2 LCD. PIC18F4580 Interrupts Programming  ( we will cover in this POST) Concept: Frequency  is the number of occurrences of a repeating event per unit time. in our case we will measure a number of clocks generated by clock source per unit time. In this project, LCD is used to display the frequency and PIC timer 1 to measure the input signal and Timer0 to generate an indication that one second has gone. System software utilizes Timer-1 in the 16-bit counter mode to count the input signal and overflows of the counter are added to provide the aggregate count in multiples of 65536. Totaling the existing value of the counter at the conclusion provides the full count.