Password Based Circuit Breaker using PIC Microcontroller with C code




Here i am going to explain you a simple Password based circuit Breaker Project using PIC Microcontroller. This project is much similar to my previous one, “Password Based Door Locking System”. Circuit breakers are electromechanical devices used in the power system to connect or disconnect the power flow at the generator, substation, or load location. Only authorised persons with correct password can connect or disconnect the circuit breaker. Each Line will have separate passwords to operate, By entering the password the current state of the line is toggled. That is, the load will gets connected or disconnected. For verification, after entering the password you need to press the ‘=’ button on keypad (Which is just like an ‘ENTER’ key).

Password Based Circuit Breaker using PIC Microcontroller with C codeBlock Diagram of the Password based Circuit Breaker

PIC16F877 is the heart of this project, which takes input from keypad as password and displays the current status on a 16×2 LCD Display. For the demonstration purpose, I am using only two loads, which is controlled by two relays.

“1234” and “9876” are the two passwords used here for activating and deactivating the Load 1 and Load 2 respectively. As I mentioned in the above paragraph, don’t forget to enter ‘=’ after feeding the password. Press ‘ON/C’ Button to clear the screen.

Password Based Circuit Breaker using PIC Microcontroller with C code SchematicEmbedded C Code

#include <16f877.h>
#include <lcd_4bit.c>
#include <keypad.c>
#include <string.h>
#use delay(clock=4000000)
char u1[]=”1234″,U2[]=”9876″,p[10],k,v1[10];
int i=0,d1,d2,z1=1,z2=1;
void main()
{char m[30];
lcd_init();
lcd_str(“Password Based”);
gotoxy(0,1);
lcd_str(“Circuit Breaker”);
delay_ms(1500);




Current Project / Post can also be found using:

  • password based door locking system using pic microcontroller
  • Password Based Circuit Breaker code
  • password based circuit breaker project code
  • electronic lock using pic16f877a

Leave a Comment

*
= 3 + 4

Read previous post:
ST replaces car relays with tiny switch IC
ST replaces car relays with tiny switch IC

The VND7020AJ-E is a double channel high-side driver manufactured using ST proprietary VIPower®M0-7 technology and housed in PowerSSO-16 package. The...

Close
Scroll to top