SlideShare a Scribd company logo
1 of 31
Astrobot
SESSION 6
Relay
It’s the connection ring
between the
microcontrollers that
provides a low electrical
DC Power & the high
electrical power devices
that even may use AC
How it can work?
Connection with Arduino board
Make the lightning
system of your
home automation
Sol
:
Relay
It’s the connection ring
between the
microcontrollers that
provides a low electrical
DC Power & the high
electrical power devices
that even may use AC
How it can work?
Connection with Arduino board
Make the lightning
system of your
home automation
Sol
:
Liquid Crystal
Display
LCD Pins
• Control Pins
- Register Select (RS)
- Read/Write (RW)
- Enable (E)
• Data Pins
- D0 : D7
• Brightness Pins
- Ground (VSS)
- Voltage Support (VDD)
- Brightness (Vo)
• Backlight LED
- A (Anode)
- K (Cathode)
Let's See What controls The Brightness of the Backlight LED
Potentiometer
Let's Setup
The LCD with
The Arduino
Let's Code !
Simple LCD
Code
Output
Debugging
LCD Code
Output
Other Liquid
Crystal
Functions
LCD.CLEAR(); //CLEARS THE
DISPLAY
LCD.BLINK(); //DISPLAYS THE
BLINKING LCD CURSOR
LCD.NOBLINK(); //TURNS OFF
THE BLINKING LCD CURSOR
LCD.CURSOR(); //DISPLAYS
AN UNDERSCORE AT A
CERTAIN POSITION
LCD.NOCURSOR(); //HIDES
THE CURSOR
LCD.SETCURSOR(CHARACTER
_POSITION,ROW);

More Related Content

What's hot

Automatic night lamp with morning alarm
Automatic night lamp with morning alarmAutomatic night lamp with morning alarm
Automatic night lamp with morning alarmviv3ksharma
 
To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...Ankita Tiwari
 
To reduce waste of electricity in our daily life
To reduce waste of electricity in our daily lifeTo reduce waste of electricity in our daily life
To reduce waste of electricity in our daily lifeAkter Hamid David
 
Indus university
Indus universityIndus university
Indus universityTariqkhanIU
 
Embedded based electricity theft identification
Embedded based electricity theft identificationEmbedded based electricity theft identification
Embedded based electricity theft identificationEcwayt
 
Automatic street light control system
Automatic street light control systemAutomatic street light control system
Automatic street light control systemahsen nasim
 
A Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorA Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorsvrohith 9
 
AUTOMATIC NIGHT LAMP AND MORNING ALARM
AUTOMATIC NIGHT LAMP AND MORNING ALARMAUTOMATIC NIGHT LAMP AND MORNING ALARM
AUTOMATIC NIGHT LAMP AND MORNING ALARMvinaykumar potnuru
 
Clap On Clap Off Switch
Clap On Clap Off SwitchClap On Clap Off Switch
Clap On Clap Off Switchfariharowshan
 
Street light controlling using Microcontroller
Street light controlling using MicrocontrollerStreet light controlling using Microcontroller
Street light controlling using Microcontroller9989476539
 

What's hot (20)

Automatic Night Light
Automatic Night LightAutomatic Night Light
Automatic Night Light
 
Automatic night lamp with morning alarm
Automatic night lamp with morning alarmAutomatic night lamp with morning alarm
Automatic night lamp with morning alarm
 
To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...
 
To reduce waste of electricity in our daily life
To reduce waste of electricity in our daily lifeTo reduce waste of electricity in our daily life
To reduce waste of electricity in our daily life
 
Clap Switch
Clap SwitchClap Switch
Clap Switch
 
Indus university
Indus universityIndus university
Indus university
 
Embedded based electricity theft identification
Embedded based electricity theft identificationEmbedded based electricity theft identification
Embedded based electricity theft identification
 
Automatic street lighting system
Automatic street lighting systemAutomatic street lighting system
Automatic street lighting system
 
Laser diode module
Laser diode moduleLaser diode module
Laser diode module
 
Automatic street light control system
Automatic street light control systemAutomatic street light control system
Automatic street light control system
 
A Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensorA Measurements Project on Light Detection sensor
A Measurements Project on Light Detection sensor
 
Final ppt
Final pptFinal ppt
Final ppt
 
AUTOMATIC NIGHT LAMP AND MORNING ALARM
AUTOMATIC NIGHT LAMP AND MORNING ALARMAUTOMATIC NIGHT LAMP AND MORNING ALARM
AUTOMATIC NIGHT LAMP AND MORNING ALARM
 
Clap On Clap Off Switch
Clap On Clap Off SwitchClap On Clap Off Switch
Clap On Clap Off Switch
 
Clap switch mini project using 555 timer IC
Clap switch mini project using 555 timer ICClap switch mini project using 555 timer IC
Clap switch mini project using 555 timer IC
 
Automatic Light Controller
Automatic Light ControllerAutomatic Light Controller
Automatic Light Controller
 
LittleBitsChallange
LittleBitsChallangeLittleBitsChallange
LittleBitsChallange
 
Clap switch
Clap switchClap switch
Clap switch
 
Self sufficient arduino1_2
Self sufficient arduino1_2Self sufficient arduino1_2
Self sufficient arduino1_2
 
Street light controlling using Microcontroller
Street light controlling using MicrocontrollerStreet light controlling using Microcontroller
Street light controlling using Microcontroller
 

Similar to Astrobot session 6

Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal displayVraj Patel
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
MODULO TS-12864A-2
MODULO TS-12864A-2MODULO TS-12864A-2
MODULO TS-12864A-2ESPOL
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)Kavya Gupta
 
microcontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptxmicrocontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptxtariqqureshi33
 
Lcd interfacing with microprocessor 8051
Lcd interfacing with microprocessor 8051Lcd interfacing with microprocessor 8051
Lcd interfacing with microprocessor 8051Hasnain Yaseen
 
04 Arduino Peripheral Interfacing
04   Arduino Peripheral Interfacing04   Arduino Peripheral Interfacing
04 Arduino Peripheral InterfacingWingston
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded SystemsAnkan Naskar
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
Electronz_Chapter_11.pptx
Electronz_Chapter_11.pptxElectronz_Chapter_11.pptx
Electronz_Chapter_11.pptxMokete5
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system designTHANDAIAH PRABU
 

Similar to Astrobot session 6 (20)

Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal display
 
Barcode scanner
Barcode scannerBarcode scanner
Barcode scanner
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Intro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptxIntro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptx
 
MODULO TS-12864A-2
MODULO TS-12864A-2MODULO TS-12864A-2
MODULO TS-12864A-2
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
microcontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptxmicrocontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptx
 
Lcd tutorial
Lcd tutorialLcd tutorial
Lcd tutorial
 
Lcd
LcdLcd
Lcd
 
Lcd interfacing with microprocessor 8051
Lcd interfacing with microprocessor 8051Lcd interfacing with microprocessor 8051
Lcd interfacing with microprocessor 8051
 
Low-Power DAC8564
Low-Power DAC8564Low-Power DAC8564
Low-Power DAC8564
 
04 Arduino Peripheral Interfacing
04   Arduino Peripheral Interfacing04   Arduino Peripheral Interfacing
04 Arduino Peripheral Interfacing
 
Led
LedLed
Led
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded Systems
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Arduino Projects.pptx
Arduino Projects.pptxArduino Projects.pptx
Arduino Projects.pptx
 
7 segment display.ppt
7 segment display.ppt7 segment display.ppt
7 segment display.ppt
 
EEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdfEEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdf
 
Electronz_Chapter_11.pptx
Electronz_Chapter_11.pptxElectronz_Chapter_11.pptx
Electronz_Chapter_11.pptx
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system design
 

Recently uploaded

15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New HorizonMorshed Ahmed Rahath
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxMANASINANDKISHORDEOR
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligencemahaffeycheryld
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...Amil baba
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualBalamuruganV28
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsVIEW
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdfKamal Acharya
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptamrabdallah9
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUankushspencer015
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Software Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfSoftware Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfssuser5c9d4b1
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Studentskannan348865
 

Recently uploaded (20)

15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Software Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfSoftware Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 

Astrobot session 6