SlideShare a Scribd company logo
1 of 17
DIFFERENTIAL RELAY WITH AUTO
TRIP TECHNIC
Project guid :Prof S.M.Wali
INTRODUCTION
 The relays used in power system protection are of different
types. Among them differential relay is very commonly used
relay for protecting transformer and generators from localised
faults.
Differential relays are very sensitive to the faults occurred
within the zone of protection but they are least sensitive to the
faults that occur outside the protected zone. Most of the relays
operate when any quantity exceeds beyond a predetermined
value for example over current relay operates when current
through it exceeds predetermined value. But the principle of
differential relay is somewhat different. It operates depending
upon the difference between two or more similar electrical
quantities. Using microcontroller technology we are detecting
the input and output current using differential current sense
using CT module and trip the circuit using contactor
technology.
PIN DIAGRAM OF ATMEGA328
CONTROLLER
AURDINO CONTROLLER
ARDUINO CONTROLLER :
Arduino/Genuino Uno is a microcontroller board based
on the Atmega 328 It has 14 digital input/output pins (of
which 6 can be used as PWM outputs), 6 analog inputs, a 16
MHz quartz crystal, a USB connection,
Current Transformer
A current transformer is an “instrument transformer” that is
designed to provide current in its secondary, which is
accurately proportional to the current flowing in its primary.
7805 REGULATED POWER SUPPLY
A DC POWER SUPPLY SYSTEM, WHICH MAINTAINS
CONSTANT VOLTAGE IRRESPECTIVE OF FLUCTUATIONS IN
THE MAIN SUPPLY OR VARIATION IN THE LOAD, IS KNOWN
AS REGULATED POWER SUPPLY .THE 7805 IC REFERRED TO
FIXED POSITIVE VOLTAGE REGULATOR, WHICH PROVIDES
FIXED VOLTAGE 5 VOLTS. THE 7805 REGULATOR IS KNOWN
AS FIXED VOLTAGE REGULATOR. FIXED –VOLTAGE
REGULATOR DESIGN HAS BEEN GREATLY SIMPLIFIED BY THE
INTRODUCTION OF 3-TERMINAL REGULATOR ICS SUCH AS
THE 78XX SERIES OF POSITIVE REGULATORS AND THE
79XXX SERIES OF NEGATIVE REGULATORS, WHICH
INCORPORATE FEATURES SUCH AS BUILT-IN FOLD BACK
CURRENT LIMITING AND THERMAL PROTECTION, ETC.
APPLICATIONS:
POWER SYSTEM PROTECTION DETECTION OF ENERGY
TAPPING WITH I/P AND O/P METER DIFFERENTIAL CURRENT
TECHNIQUE AND POWER THEFT PROTECTION
PROTECTION OF TRANSMISSION LINE FAULTS
PROTECTION OF T C
ADVANTAGES:
NO MANPOWER REQUIRED
MORE ACCURACY
EFFECTIVE POWER THEFT CONTROL
DISADVANTAGES
*EXISTING METERS REQUIRED TO SET FOR THE NEW
TECHNOLOGY IS LITTLE DIFFICULT TASK.
*LIMITED OUTPUTS LINIER REGULATED POWER SUPPLIES
ONLY PROVIDE ONE OUTPUT VOLTAGE
*POOR EFFICIENCY THE AVERAGE LINEAR REGULATED
DEVICE ACHIVES AN EFFICIENCY BETWEEN 30% -60% DUE
TO HEAD DISSIPATION
FULL WAVE RECTIFIER:
 a full-wave rectifier is a device that has two or more diodes arranged
so that load current flows in the same direction during each half
cycle of the ac supply.
 Full-wave rectifier, center-tapped design.
Working of Full Wave Rectifier
The input AC supplied to the full wave rectifier is very high. The
step-down transformer in the rectifier circuit converts the high voltage
AC into low voltage AC. The anode of the centre tapped diodes is
connected to the transformer’s secondary winding and connected to
the load resistor. During the positive half cycle of the alternating
current, the top half of the secondary winding becomes positive while
the second half of the secondary winding becomes negative.
CONTACTOR
 Operating principle of Contactors
Symbol of contactor the operating principle of a
contactor is very simple. Whenever the electromagnetic coil is
energized, an electromagnetic field is produced. This
electromagnetic field attracts the metallic rod (armature)
towards the gap in the hollow cylindrical magnet. In
contactors with split electromagnets, the movable half of the
electromagnet is attracted towards the fixed electromagnet.
This action closes the contacts. The contacts remains closed as
long as the electromagnet remains excited. When the coil is de
energized, moving contact is pushed back to its normal
position by the spring. Contactors are designed to open and
close contacts rapidly. Moving contacts may bounce as it
rapidly makes contacts with the fixed contacts.
CONTACTOR
FEATURES OF CONTACTORS
 A contactor is a relay that is used for switching power.
 They usually handle very heavy loads like an electric
motor, lighting and heating equipments and so on.
 Though their output is used for switching very high
loads, they are controlled by a circuit with very less
power.
 According to the loads they handle, they vary in sizes
from a small device to as huge as a yard.
ARDUINO WITH LCD:
DIGITAL (~PWM)
ANALOG IN
ATMEGA328P-PU
1121
~
~
~
~
~
~
microcontrolandos.blogspot.com
TX
RX
PD0/RXD
0
PD1/TXD
1
PD2/INT0
2
PD3/INT1
3
PD4/T0/XCK
4
PD5/T1
5
PD6/AIN0
6
PD7/AIN1
7
PB0/ICP1/CLKO
8
PB1/OC1A
9
PB2/SS/OC1B
10
PB3/MOSI/OC2A
11
PB4/MISO
12
PB5/SCK
13
AREF
PC5/ADC5/SCL
A5
PC4/ADC4/SDA
A4
PC3/ADC3
A3
PC2/ADC2
A2
PC1/ADC1
A1
PC0/ADC0
A0
RESET
DUINO1
ARDUINO UNO R3
D7
14
D6
13
D5
12
D4
11
D3
10
D2
9
D1
8
D0
7
E
6
RW
5
RS
4
VSS
1
VDD
2
VEE
3
LCD1
LM016L
COMPONENTS REQUIRED:
ARDUINO BOARD
LCD
RESISTOR 1K
WORKING OF AUDINO WITH LCD:
LCD CAN BE USED IN TWO MODES- 4 BIT MODE OR 8 BIT MODE. IN 8 BIT MODE
WE REQUIRE 8 DATA PINS AND 3 CONTROL PINS WHEREAS IN 4 BIT MODE, DATA
IS SENT USING 4 DATA PINS AND 3 CONTROL PINS.
R/W PIN IS ALWAYS GROUNDED SO WE REQUIRE ONLY 6 PINS IN 4 BIT MODE,
THUS SAVING NO OF PINS.
FIRST INITIALIZE THE LIBRARY AND THEN DEFINE PINS USING THE COMMAND
LIQUIDCRYSTALLCD(RS, E, D4, D5, D6, D7), PINS ARE ASSIGNED IN THIS
ORDER.
THEN IN SETUP FUNCTION WRITE THE MESSAGE TO
DISPLAY AS LCD.PRINT(“MESSAGE”).
WE CAN PRINT MESSAGE ANYWHERE IN THE LCD BY
SELECTING COLUMN AND ROW, IT’S DONE BY WRITING
LCD.SETCURSOR(COLUMN, ROW). HOWEVER THERE IS ONE
THING TO CONSIDER, THAT’S THE NUMBER OF COLUMNS
AND ROWS START FROM ZERO. FOR EXAMPLE, TO PRINT A
MESSAGE ON 2ND ROW 1ST COLUMN, WRITE
“LCD.SETCURSOR(0,1);” BEFORE THE PRINT COMMAND.
SIMILARLY FOR 5TH COLUMN AND 3RD ROW, WE WRITE
LCD.SETCURSOR(4,2).
YOU CAN USE “LCD.WRITE()” TO SEND CHARACTERS. TO
PRINT ZERO ON 2ND COLUM 2ND ROW, TYPE
LCD.SETCURSOR(1,1); LCD.WRITE(48); WHERE 48 IS THE
DECIMAL EQUIVALENT FOR ACII ‘0’.
COMPONENTS REQUIRED FOR DIFFERENTIAL
RELAY
 Stepdown transformer (230 AC ,secondary 909,750 mA)
 Diodes (fullwave rectifier , ceter tapped rectifier
 Filter capacitor for removing ac component
 5volt regulator 7805
 Atmega328 controller
 LCD
 Reset switch
 Electromagnetic relay
THANK YOU

More Related Content

Similar to BHH POWER PLANT ppt.pptx

Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuit
ddsshukla
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
Chintan Patel
 
Design of embedded based three phase preventor and selector system for indust...
Design of embedded based three phase preventor and selector system for indust...Design of embedded based three phase preventor and selector system for indust...
Design of embedded based three phase preventor and selector system for indust...
IAEME Publication
 

Similar to BHH POWER PLANT ppt.pptx (20)

Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuit
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisation
 
Prince jai nproject report
Prince jai nproject reportPrince jai nproject report
Prince jai nproject report
 
One Touch Electrical Appliances Control Using Microcontroller 89C51
One Touch Electrical Appliances Control Using Microcontroller 89C51One Touch Electrical Appliances Control Using Microcontroller 89C51
One Touch Electrical Appliances Control Using Microcontroller 89C51
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
Automatic doorbell with object detection
Automatic doorbell with object detectionAutomatic doorbell with object detection
Automatic doorbell with object detection
 
POSITION ANALYSIS OF DIGITAL SYSTEM
POSITION ANALYSIS OF DIGITAL SYSTEMPOSITION ANALYSIS OF DIGITAL SYSTEM
POSITION ANALYSIS OF DIGITAL SYSTEM
 
Real time parameter estimation for power quality control and intelligent prot...
Real time parameter estimation for power quality control and intelligent prot...Real time parameter estimation for power quality control and intelligent prot...
Real time parameter estimation for power quality control and intelligent prot...
 
Apfc final seminar
Apfc final seminarApfc final seminar
Apfc final seminar
 
Analog & Digital Integrated Circuits - Material (Short Answers)
Analog & Digital Integrated Circuits -  Material (Short Answers) Analog & Digital Integrated Circuits -  Material (Short Answers)
Analog & Digital Integrated Circuits - Material (Short Answers)
 
Amr
AmrAmr
Amr
 
ppt of Three phase fault analysis with auto reset for temporary fault and tri...
ppt of Three phase fault analysis with auto reset for temporary fault and tri...ppt of Three phase fault analysis with auto reset for temporary fault and tri...
ppt of Three phase fault analysis with auto reset for temporary fault and tri...
 
ELECTRONIC CIRCUIT BREAKER
ELECTRONIC CIRCUIT BREAKERELECTRONIC CIRCUIT BREAKER
ELECTRONIC CIRCUIT BREAKER
 
DTMF base Mobile controlled appliances control
DTMF base Mobile controlled  appliances controlDTMF base Mobile controlled  appliances control
DTMF base Mobile controlled appliances control
 
1232d
1232d1232d
1232d
 
Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051
 
Presentation
PresentationPresentation
Presentation
 
b658014a-3762-420f-b315-8d2d0576e752-150428010626-conversion-gate02.pdf
b658014a-3762-420f-b315-8d2d0576e752-150428010626-conversion-gate02.pdfb658014a-3762-420f-b315-8d2d0576e752-150428010626-conversion-gate02.pdf
b658014a-3762-420f-b315-8d2d0576e752-150428010626-conversion-gate02.pdf
 
embedded system
embedded system  embedded system
embedded system
 
Design of embedded based three phase preventor and selector system for indust...
Design of embedded based three phase preventor and selector system for indust...Design of embedded based three phase preventor and selector system for indust...
Design of embedded based three phase preventor and selector system for indust...
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 

BHH POWER PLANT ppt.pptx

  • 1. DIFFERENTIAL RELAY WITH AUTO TRIP TECHNIC Project guid :Prof S.M.Wali
  • 2. INTRODUCTION  The relays used in power system protection are of different types. Among them differential relay is very commonly used relay for protecting transformer and generators from localised faults. Differential relays are very sensitive to the faults occurred within the zone of protection but they are least sensitive to the faults that occur outside the protected zone. Most of the relays operate when any quantity exceeds beyond a predetermined value for example over current relay operates when current through it exceeds predetermined value. But the principle of differential relay is somewhat different. It operates depending upon the difference between two or more similar electrical quantities. Using microcontroller technology we are detecting the input and output current using differential current sense using CT module and trip the circuit using contactor technology.
  • 3. PIN DIAGRAM OF ATMEGA328 CONTROLLER
  • 4. AURDINO CONTROLLER ARDUINO CONTROLLER : Arduino/Genuino Uno is a microcontroller board based on the Atmega 328 It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, Current Transformer A current transformer is an “instrument transformer” that is designed to provide current in its secondary, which is accurately proportional to the current flowing in its primary.
  • 6. A DC POWER SUPPLY SYSTEM, WHICH MAINTAINS CONSTANT VOLTAGE IRRESPECTIVE OF FLUCTUATIONS IN THE MAIN SUPPLY OR VARIATION IN THE LOAD, IS KNOWN AS REGULATED POWER SUPPLY .THE 7805 IC REFERRED TO FIXED POSITIVE VOLTAGE REGULATOR, WHICH PROVIDES FIXED VOLTAGE 5 VOLTS. THE 7805 REGULATOR IS KNOWN AS FIXED VOLTAGE REGULATOR. FIXED –VOLTAGE REGULATOR DESIGN HAS BEEN GREATLY SIMPLIFIED BY THE INTRODUCTION OF 3-TERMINAL REGULATOR ICS SUCH AS THE 78XX SERIES OF POSITIVE REGULATORS AND THE 79XXX SERIES OF NEGATIVE REGULATORS, WHICH INCORPORATE FEATURES SUCH AS BUILT-IN FOLD BACK CURRENT LIMITING AND THERMAL PROTECTION, ETC.
  • 7. APPLICATIONS: POWER SYSTEM PROTECTION DETECTION OF ENERGY TAPPING WITH I/P AND O/P METER DIFFERENTIAL CURRENT TECHNIQUE AND POWER THEFT PROTECTION PROTECTION OF TRANSMISSION LINE FAULTS PROTECTION OF T C ADVANTAGES: NO MANPOWER REQUIRED MORE ACCURACY EFFECTIVE POWER THEFT CONTROL
  • 8. DISADVANTAGES *EXISTING METERS REQUIRED TO SET FOR THE NEW TECHNOLOGY IS LITTLE DIFFICULT TASK. *LIMITED OUTPUTS LINIER REGULATED POWER SUPPLIES ONLY PROVIDE ONE OUTPUT VOLTAGE *POOR EFFICIENCY THE AVERAGE LINEAR REGULATED DEVICE ACHIVES AN EFFICIENCY BETWEEN 30% -60% DUE TO HEAD DISSIPATION
  • 9. FULL WAVE RECTIFIER:  a full-wave rectifier is a device that has two or more diodes arranged so that load current flows in the same direction during each half cycle of the ac supply.  Full-wave rectifier, center-tapped design. Working of Full Wave Rectifier The input AC supplied to the full wave rectifier is very high. The step-down transformer in the rectifier circuit converts the high voltage AC into low voltage AC. The anode of the centre tapped diodes is connected to the transformer’s secondary winding and connected to the load resistor. During the positive half cycle of the alternating current, the top half of the secondary winding becomes positive while the second half of the secondary winding becomes negative.
  • 10. CONTACTOR  Operating principle of Contactors Symbol of contactor the operating principle of a contactor is very simple. Whenever the electromagnetic coil is energized, an electromagnetic field is produced. This electromagnetic field attracts the metallic rod (armature) towards the gap in the hollow cylindrical magnet. In contactors with split electromagnets, the movable half of the electromagnet is attracted towards the fixed electromagnet. This action closes the contacts. The contacts remains closed as long as the electromagnet remains excited. When the coil is de energized, moving contact is pushed back to its normal position by the spring. Contactors are designed to open and close contacts rapidly. Moving contacts may bounce as it rapidly makes contacts with the fixed contacts.
  • 12. FEATURES OF CONTACTORS  A contactor is a relay that is used for switching power.  They usually handle very heavy loads like an electric motor, lighting and heating equipments and so on.  Though their output is used for switching very high loads, they are controlled by a circuit with very less power.  According to the loads they handle, they vary in sizes from a small device to as huge as a yard.
  • 13. ARDUINO WITH LCD: DIGITAL (~PWM) ANALOG IN ATMEGA328P-PU 1121 ~ ~ ~ ~ ~ ~ microcontrolandos.blogspot.com TX RX PD0/RXD 0 PD1/TXD 1 PD2/INT0 2 PD3/INT1 3 PD4/T0/XCK 4 PD5/T1 5 PD6/AIN0 6 PD7/AIN1 7 PB0/ICP1/CLKO 8 PB1/OC1A 9 PB2/SS/OC1B 10 PB3/MOSI/OC2A 11 PB4/MISO 12 PB5/SCK 13 AREF PC5/ADC5/SCL A5 PC4/ADC4/SDA A4 PC3/ADC3 A3 PC2/ADC2 A2 PC1/ADC1 A1 PC0/ADC0 A0 RESET DUINO1 ARDUINO UNO R3 D7 14 D6 13 D5 12 D4 11 D3 10 D2 9 D1 8 D0 7 E 6 RW 5 RS 4 VSS 1 VDD 2 VEE 3 LCD1 LM016L
  • 14. COMPONENTS REQUIRED: ARDUINO BOARD LCD RESISTOR 1K WORKING OF AUDINO WITH LCD: LCD CAN BE USED IN TWO MODES- 4 BIT MODE OR 8 BIT MODE. IN 8 BIT MODE WE REQUIRE 8 DATA PINS AND 3 CONTROL PINS WHEREAS IN 4 BIT MODE, DATA IS SENT USING 4 DATA PINS AND 3 CONTROL PINS. R/W PIN IS ALWAYS GROUNDED SO WE REQUIRE ONLY 6 PINS IN 4 BIT MODE, THUS SAVING NO OF PINS. FIRST INITIALIZE THE LIBRARY AND THEN DEFINE PINS USING THE COMMAND LIQUIDCRYSTALLCD(RS, E, D4, D5, D6, D7), PINS ARE ASSIGNED IN THIS ORDER.
  • 15. THEN IN SETUP FUNCTION WRITE THE MESSAGE TO DISPLAY AS LCD.PRINT(“MESSAGE”). WE CAN PRINT MESSAGE ANYWHERE IN THE LCD BY SELECTING COLUMN AND ROW, IT’S DONE BY WRITING LCD.SETCURSOR(COLUMN, ROW). HOWEVER THERE IS ONE THING TO CONSIDER, THAT’S THE NUMBER OF COLUMNS AND ROWS START FROM ZERO. FOR EXAMPLE, TO PRINT A MESSAGE ON 2ND ROW 1ST COLUMN, WRITE “LCD.SETCURSOR(0,1);” BEFORE THE PRINT COMMAND. SIMILARLY FOR 5TH COLUMN AND 3RD ROW, WE WRITE LCD.SETCURSOR(4,2). YOU CAN USE “LCD.WRITE()” TO SEND CHARACTERS. TO PRINT ZERO ON 2ND COLUM 2ND ROW, TYPE LCD.SETCURSOR(1,1); LCD.WRITE(48); WHERE 48 IS THE DECIMAL EQUIVALENT FOR ACII ‘0’.
  • 16. COMPONENTS REQUIRED FOR DIFFERENTIAL RELAY  Stepdown transformer (230 AC ,secondary 909,750 mA)  Diodes (fullwave rectifier , ceter tapped rectifier  Filter capacitor for removing ac component  5volt regulator 7805  Atmega328 controller  LCD  Reset switch  Electromagnetic relay