Seminar report on robotics (line follower) ppt

SYNERGY INSTITUTE OF ENGG & TECH,DHENKANALA
SYNERGY INSTITUTE OF ENGG & TECH,DHENKANALAEngineer à SYNERGY INSTITUTE OF ENGG & TECH,DHENKANALA
GANAPATI INSTITUTE OF ENGG. AND 
TECHNOLOGY(POLYTECHNIC) 
A 
SEMINAR REPORT 
ON ROBOTICS. 
1
ROBOTICS INTRODUCTION 
 What is a Robot ? 
Deffination of Robot ? 
Apllications of Robots ? 
What do we need the Robot ? 
Different parts of Robot ? 
2
3 
 What is a Robot? 
A robot is a device that is 
built to independently 
perform actions and 
interact with its 
surroundings.
DEFFINATION OF ROBOT 
• The word Robot comes from the “Czech” 
word “ROBOTA”. Which means “Forced 
labour.” 
• It is a Electromechanical device. 
• It perform various task. 
• It may be human controlled or automated. 
• It finds its uses in all assepts of our life . 
4
APPLICATIONS OF ROBOTS 
Industry. 
Medical. 
Millitary. 
Space Exploration. 
Research & Development. 
5
INDUSTRY 
Robots are used in 
assembling of Auto 
vehicle. 
Robots are used in 
to feed the metal 
pieces into the blast 
furnance . 
6
MEDICAL 
Robots are used in 
operation work in 
medical. 
Robots are used in 
lazer beam operation 
with high accuracy.s 
7
Millitary 
Drone planes being 
used in U.S army to 
keep a watch on key 
enemy installation 
&enemy movement 
using thermal image 
processing. 
8
SPaCE EXPlOratiON 
Robots are mostly 
used in space 
research. 
Its can easily 
works in harmfull 
space where human 
being can’t perform. 
9
rESEarCh 
&DEvElOPMENt 
Robots are used in 
research & development 
for better working in 
hazardous condition . 
To reduce human 
effort & to increase 
efficiency during 
varying installation & 
assemblies. 
10
Why DO WE NEED thE rObOt ? 
Sensing: The robot must be able to perceive its 
environment through sensors locate obstacles to 
avoid, and objects of interest that we want it to 
interact with. 
Plan/Act: The robot must be able to make 
decisions using its processor based on it’s sensors 
and feed them to it’s actuators to be able to move. 
Moving: The robot must be able to control 
some set of actuators to move how and when we 
want it to. We must be able to reliably place the 
robot anywhere we want. 
11
12
microprocessor Microcontroller 
 CPU is stand-alone, RAM ,ROM ,I/O, 
Timer are external. 
 Size of ROM ,RAM, & I/O ports can be optimized. 
 For applications in which the accuracy and time are 
critical. 
 General purpose system. 
 CPU, RAM ,ROM, I/O AND timer are all on a single 
chip. 
 Fixed size of on chip ROM ,RAM, I/O 
Ports. 
 For applications in which cost ,power , &space are 
critical. 
 Task specific system. 
13
14 
rObOt Part 
1.Upper chassis 
2. Main mother board 
ARKDUINO:
15 
MOTOR DRIVE: 
It can drive the motor there is one 
input and four output pannel.
16 
What is a sensor? 
 Takes readings from physical environment and turns it into an 
electrical message/signal 
Sensors we will work with: 
Touch- hit something and it react 
Light- can sort by color or detect light from dark 
Sonar/ultrasonic- tells how far away things are 
Sound- tells how loud something is
17 
SOUND SENSOR:
18 
LIGHT SENSOR:
19 
MOTOR:
20 
Movement 
 Define Types of movement: 
Locomotion – The ability to move from 
place to place (move from place to place) 
Localization – To perform functions in a 
specific area (turn head) 
Manipulation – To touch or move by 
mechanical means (move other things around) 
Cooperation - To work together 
(two motors working together for movement)
21 
What is a processor? 
A computer needs to be able to…: 
Each of the previous three things is 
programmed by the user using a 
programming language. 
Takes readings from physical 
environment and turns it into an 
electrical message/signal Touch- hit 
something and it react
What is an actuator? 
Takes electrical message and turns it 
into a physical action. For example: 
Electric motors receive electricity 
which makes their axles turn. These can 
be connected to wheels, which can make 
the robot move 
Pumps receive electricity which makes 
them compress liquid through tubes 
which can make a robotic arm move 
around. This arm can push, pull, and lift 
things in the world. 
22
23 
IIT MUMBAI FINAL ROUND (FOR WHITE SURFACE):- 
int l,r,switchpin=5; 
void setup() 
{ 
pinMode(10,OUTPUT); 
pinMode(11,OUTPUT); 
pinMode(12,OUTPUT); 
pinMode(13,OUTPUT); 
pinMode(4,INPUT); 
pinMode(3,INPUT); 
pinMode(switchpin,INPUT); 
} 
void loop() 
{ 
int s=digitalRead(switchpin); 
r=digitalRead(4); 
l=digitalRead(3); 
if(s==LOW && r==HIGH && l==HIGH) 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
}
24 
else if(s==LOW && r==HIGH && l==LOW) 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,HIGH); 
digitalWrite(13,LOW); 
delay(50); 
} 
else if(s==LOW && r==LOW && l==HIGH) 
{ 
digitalWrite(10,HIGH); 
digitalWrite(11,LOW); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
delay(50); 
} 
else if(s==LOW && r==LOW && l==LOW) 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,LOW); 
digitalWrite(12,LOW); 
digitalWrite(13,LOW); 
}
25 
else if(s==HIGH && r==LOW && l==LOW) 
{ 
digitalWrite(10,HIGH); 
digitalWrite(11,LOW); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
delay(50); 
} 
else if(s==HIGH && r==HIGH && l==HIGH) 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,HIGH); 
digitalWrite(13,LOW); 
delay(50); 
} 
else 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
}
26 
else if(s==HIGH && r==LOW && l==LOW) 
{ 
digitalWrite(10,HIGH); 
digitalWrite(11,LOW); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
delay(50); 
} 
else if(s==HIGH && r==HIGH && l==HIGH) 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,HIGH); 
digitalWrite(13,LOW); 
delay(50); 
} 
else 
{ 
digitalWrite(10,LOW); 
digitalWrite(11,HIGH); 
digitalWrite(12,LOW); 
digitalWrite(13,HIGH); 
} 
}
THANK YOU. 
27
1 sur 27

Recommandé

Introduction To Robotics par
Introduction To RoboticsIntroduction To Robotics
Introduction To Roboticsparthmullick
70.5K vues11 diapositives
Robotic for presentation 11 10-2018 par
Robotic for presentation 11 10-2018Robotic for presentation 11 10-2018
Robotic for presentation 11 10-2018Arjun R Krishna
1.6K vues32 diapositives
Robotics par
RoboticsRobotics
RoboticsSiranjeevi Ram
2K vues48 diapositives
Robotics par
Robotics Robotics
Robotics Arjun Chopra
3.3K vues14 diapositives
robotics ppt par
robotics ppt robotics ppt
robotics ppt sivabenten1
212.3K vues16 diapositives
Robotics par
RoboticsRobotics
Roboticsnayakslideshare
8.4K vues12 diapositives

Contenu connexe

Tendances

Robotics par
RoboticsRobotics
RoboticsN Anantha Raman
873 vues29 diapositives
Robotics par
RoboticsRobotics
RoboticsABHISHEK SINGH
1.1K vues13 diapositives
Summary for Robotics par
Summary for Robotics Summary for Robotics
Summary for Robotics abdelrahmanelsafty
14.3K vues16 diapositives
Robotics of Future par
Robotics of FutureRobotics of Future
Robotics of FutureSrijan Das
8K vues32 diapositives
Robotics par
Robotics Robotics
Robotics Manish Mudaliar
4.1K vues20 diapositives
Robotics par
RoboticsRobotics
RoboticsMadugula Kumar
3.3K vues21 diapositives

Tendances(20)

Robot PowerPoint par bradschultz
Robot PowerPointRobot PowerPoint
Robot PowerPoint
bradschultz70.4K vues
Seminar Report Robotics par Vivek Yadav
Seminar Report Robotics Seminar Report Robotics
Seminar Report Robotics
Vivek Yadav20.9K vues
Introduction to robotics par Nitesh Singh
Introduction  to roboticsIntroduction  to robotics
Introduction to robotics
Nitesh Singh5.2K vues
Robots Uses, Pictures, Types and More par rithikkapoor7
Robots Uses, Pictures, Types and MoreRobots Uses, Pictures, Types and More
Robots Uses, Pictures, Types and More
rithikkapoor72.5K vues

En vedette

Robotics project ppt par
Robotics project pptRobotics project ppt
Robotics project pptVundavalli Shreya
431.5K vues17 diapositives
ROBOTICS AND ITS APPLICATIONS par
ROBOTICS AND ITS APPLICATIONSROBOTICS AND ITS APPLICATIONS
ROBOTICS AND ITS APPLICATIONSAnmol Seth
95K vues21 diapositives
Robots presentation par
Robots presentationRobots presentation
Robots presentationaroobkazim
111.6K vues10 diapositives
Basics of Robotics par
Basics of RoboticsBasics of Robotics
Basics of RoboticsAmeya Gandhi
148.4K vues23 diapositives
Presentation on robotics par
Presentation on robotics Presentation on robotics
Presentation on robotics Alakshendra Tyagi
44.6K vues23 diapositives
Six stroke engine ppt par
Six stroke engine pptSix stroke engine ppt
Six stroke engine pptSYNERGY INSTITUTE OF ENGG & TECH,DHENKANALA
55.8K vues45 diapositives

En vedette(20)

ROBOTICS AND ITS APPLICATIONS par Anmol Seth
ROBOTICS AND ITS APPLICATIONSROBOTICS AND ITS APPLICATIONS
ROBOTICS AND ITS APPLICATIONS
Anmol Seth95K vues
Robots presentation par aroobkazim
Robots presentationRobots presentation
Robots presentation
aroobkazim111.6K vues
Basics of Robotics par Ameya Gandhi
Basics of RoboticsBasics of Robotics
Basics of Robotics
Ameya Gandhi148.4K vues
Line following robot - Mini project par Amit Upadhye
Line following robot - Mini projectLine following robot - Mini project
Line following robot - Mini project
Amit Upadhye27.6K vues
Line follower robot par Priya Hada
Line follower robotLine follower robot
Line follower robot
Priya Hada65.7K vues
robotics and its components par Amandeep Kaur
robotics and its componentsrobotics and its components
robotics and its components
Amandeep Kaur5.1K vues
Application of robot’s par Sudhir Reddy
Application of robot’sApplication of robot’s
Application of robot’s
Sudhir Reddy22.5K vues
Industrial robots par Ohgoma
Industrial robotsIndustrial robots
Industrial robots
Ohgoma 46.6K vues
Agricultural robot par Aleena Khan
Agricultural robotAgricultural robot
Agricultural robot
Aleena Khan66.9K vues
NareshDandu92 Robotics seminar par nareshdandu92
NareshDandu92 Robotics seminarNareshDandu92 Robotics seminar
NareshDandu92 Robotics seminar
nareshdandu921.4K vues
final project report_full edit par Sayam Roy
final project report_full editfinal project report_full edit
final project report_full edit
Sayam Roy1.1K vues
Robotics ppt par THE ROCK
Robotics ppt Robotics ppt
Robotics ppt
THE ROCK121.6K vues
Space robotics par SHUKKURCS
Space roboticsSpace robotics
Space robotics
SHUKKURCS5.6K vues
Final report on line follower par Priya Hada
Final report on line followerFinal report on line follower
Final report on line follower
Priya Hada37.8K vues
A seminar report on mechanical designing software/tools par mdnawab1995
A seminar report on    mechanical designing software/toolsA seminar report on    mechanical designing software/tools
A seminar report on mechanical designing software/tools
mdnawab19956.1K vues

Similaire à Seminar report on robotics (line follower) ppt

Robotics par
RoboticsRobotics
RoboticsBiswajit Khuntia
284 vues23 diapositives
robotics par
robotics robotics
robotics samrana gultasab
734 vues32 diapositives
International Journal of Computational Engineering Research (IJCER) par
International Journal of Computational Engineering Research (IJCER) International Journal of Computational Engineering Research (IJCER)
International Journal of Computational Engineering Research (IJCER) ijceronline
385 vues5 diapositives
Industrial robotics par
Industrial roboticsIndustrial robotics
Industrial roboticsKallinath Patil
5.8K vues22 diapositives
Space robotics par
Space roboticsSpace robotics
Space roboticsMU
2.8K vues13 diapositives
embedded system report par
embedded system reportembedded system report
embedded system reportmanish katara
9.2K vues65 diapositives

Similaire à Seminar report on robotics (line follower) ppt(20)

International Journal of Computational Engineering Research (IJCER) par ijceronline
International Journal of Computational Engineering Research (IJCER) International Journal of Computational Engineering Research (IJCER)
International Journal of Computational Engineering Research (IJCER)
ijceronline385 vues
Space robotics par MU
Space roboticsSpace robotics
Space robotics
MU2.8K vues
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming par Manpreet Singh
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
Manpreet Singh693 vues
Robotics.fair par kewins
Robotics.fairRobotics.fair
Robotics.fair
kewins4.3K vues
obstacle avoiding robot project par Aisha Naeem
obstacle avoiding robot projectobstacle avoiding robot project
obstacle avoiding robot project
Aisha Naeem395 vues
Fundamental of robotic manipulator par snkalepvpit
Fundamental of robotic manipulatorFundamental of robotic manipulator
Fundamental of robotic manipulator
snkalepvpit41.7K vues
Industrial robots types and application.ppt par PECUG1
Industrial robots types and application.pptIndustrial robots types and application.ppt
Industrial robots types and application.ppt
PECUG19 vues

Dernier

Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... par
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...csegroupvn
5 vues210 diapositives
Renewal Projects in Seismic Construction par
Renewal Projects in Seismic ConstructionRenewal Projects in Seismic Construction
Renewal Projects in Seismic ConstructionEngineering & Seismic Construction
5 vues8 diapositives
Update 42 models(Diode/General ) in SPICE PARK(DEC2023) par
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Tsuyoshi Horigome
38 vues16 diapositives
Searching in Data Structure par
Searching in Data StructureSearching in Data Structure
Searching in Data Structureraghavbirla63
14 vues8 diapositives
DevOps-ITverse-2023-IIT-DU.pptx par
DevOps-ITverse-2023-IIT-DU.pptxDevOps-ITverse-2023-IIT-DU.pptx
DevOps-ITverse-2023-IIT-DU.pptxAnowar Hossain
12 vues45 diapositives
Generative AI Models & Their Applications par
Generative AI Models & Their ApplicationsGenerative AI Models & Their Applications
Generative AI Models & Their ApplicationsSN
10 vues1 diapositive

Dernier(20)

Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... par csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn5 vues
Update 42 models(Diode/General ) in SPICE PARK(DEC2023) par Tsuyoshi Horigome
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Generative AI Models & Their Applications par SN
Generative AI Models & Their ApplicationsGenerative AI Models & Their Applications
Generative AI Models & Their Applications
SN10 vues
MSA Website Slideshow (16).pdf par msaucla
MSA Website Slideshow (16).pdfMSA Website Slideshow (16).pdf
MSA Website Slideshow (16).pdf
msaucla92 vues
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ... par AltinKaradagli
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
AltinKaradagli15 vues
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth par Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 6 vues
MongoDB.pdf par ArthyR3
MongoDB.pdfMongoDB.pdf
MongoDB.pdf
ArthyR345 vues
Ansari: Practical experiences with an LLM-based Islamic Assistant par M Waleed Kadous
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic Assistant
fakenews_DBDA_Mar23.pptx par deepmitra8
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptx
deepmitra816 vues
Design of machine elements-UNIT 3.pptx par gopinathcreddy
Design of machine elements-UNIT 3.pptxDesign of machine elements-UNIT 3.pptx
Design of machine elements-UNIT 3.pptx
gopinathcreddy33 vues
GDSC Mikroskil Members Onboarding 2023.pdf par gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil58 vues
Effect of deep chemical mixing columns on properties of surrounding soft clay... par AltinKaradagli
Effect of deep chemical mixing columns on properties of surrounding soft clay...Effect of deep chemical mixing columns on properties of surrounding soft clay...
Effect of deep chemical mixing columns on properties of surrounding soft clay...
AltinKaradagli10 vues

Seminar report on robotics (line follower) ppt

  • 1. GANAPATI INSTITUTE OF ENGG. AND TECHNOLOGY(POLYTECHNIC) A SEMINAR REPORT ON ROBOTICS. 1
  • 2. ROBOTICS INTRODUCTION  What is a Robot ? Deffination of Robot ? Apllications of Robots ? What do we need the Robot ? Different parts of Robot ? 2
  • 3. 3  What is a Robot? A robot is a device that is built to independently perform actions and interact with its surroundings.
  • 4. DEFFINATION OF ROBOT • The word Robot comes from the “Czech” word “ROBOTA”. Which means “Forced labour.” • It is a Electromechanical device. • It perform various task. • It may be human controlled or automated. • It finds its uses in all assepts of our life . 4
  • 5. APPLICATIONS OF ROBOTS Industry. Medical. Millitary. Space Exploration. Research & Development. 5
  • 6. INDUSTRY Robots are used in assembling of Auto vehicle. Robots are used in to feed the metal pieces into the blast furnance . 6
  • 7. MEDICAL Robots are used in operation work in medical. Robots are used in lazer beam operation with high accuracy.s 7
  • 8. Millitary Drone planes being used in U.S army to keep a watch on key enemy installation &enemy movement using thermal image processing. 8
  • 9. SPaCE EXPlOratiON Robots are mostly used in space research. Its can easily works in harmfull space where human being can’t perform. 9
  • 10. rESEarCh &DEvElOPMENt Robots are used in research & development for better working in hazardous condition . To reduce human effort & to increase efficiency during varying installation & assemblies. 10
  • 11. Why DO WE NEED thE rObOt ? Sensing: The robot must be able to perceive its environment through sensors locate obstacles to avoid, and objects of interest that we want it to interact with. Plan/Act: The robot must be able to make decisions using its processor based on it’s sensors and feed them to it’s actuators to be able to move. Moving: The robot must be able to control some set of actuators to move how and when we want it to. We must be able to reliably place the robot anywhere we want. 11
  • 12. 12
  • 13. microprocessor Microcontroller  CPU is stand-alone, RAM ,ROM ,I/O, Timer are external.  Size of ROM ,RAM, & I/O ports can be optimized.  For applications in which the accuracy and time are critical.  General purpose system.  CPU, RAM ,ROM, I/O AND timer are all on a single chip.  Fixed size of on chip ROM ,RAM, I/O Ports.  For applications in which cost ,power , &space are critical.  Task specific system. 13
  • 14. 14 rObOt Part 1.Upper chassis 2. Main mother board ARKDUINO:
  • 15. 15 MOTOR DRIVE: It can drive the motor there is one input and four output pannel.
  • 16. 16 What is a sensor?  Takes readings from physical environment and turns it into an electrical message/signal Sensors we will work with: Touch- hit something and it react Light- can sort by color or detect light from dark Sonar/ultrasonic- tells how far away things are Sound- tells how loud something is
  • 20. 20 Movement  Define Types of movement: Locomotion – The ability to move from place to place (move from place to place) Localization – To perform functions in a specific area (turn head) Manipulation – To touch or move by mechanical means (move other things around) Cooperation - To work together (two motors working together for movement)
  • 21. 21 What is a processor? A computer needs to be able to…: Each of the previous three things is programmed by the user using a programming language. Takes readings from physical environment and turns it into an electrical message/signal Touch- hit something and it react
  • 22. What is an actuator? Takes electrical message and turns it into a physical action. For example: Electric motors receive electricity which makes their axles turn. These can be connected to wheels, which can make the robot move Pumps receive electricity which makes them compress liquid through tubes which can make a robotic arm move around. This arm can push, pull, and lift things in the world. 22
  • 23. 23 IIT MUMBAI FINAL ROUND (FOR WHITE SURFACE):- int l,r,switchpin=5; void setup() { pinMode(10,OUTPUT); pinMode(11,OUTPUT); pinMode(12,OUTPUT); pinMode(13,OUTPUT); pinMode(4,INPUT); pinMode(3,INPUT); pinMode(switchpin,INPUT); } void loop() { int s=digitalRead(switchpin); r=digitalRead(4); l=digitalRead(3); if(s==LOW && r==HIGH && l==HIGH) { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,LOW); digitalWrite(13,HIGH); }
  • 24. 24 else if(s==LOW && r==HIGH && l==LOW) { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,HIGH); digitalWrite(13,LOW); delay(50); } else if(s==LOW && r==LOW && l==HIGH) { digitalWrite(10,HIGH); digitalWrite(11,LOW); digitalWrite(12,LOW); digitalWrite(13,HIGH); delay(50); } else if(s==LOW && r==LOW && l==LOW) { digitalWrite(10,LOW); digitalWrite(11,LOW); digitalWrite(12,LOW); digitalWrite(13,LOW); }
  • 25. 25 else if(s==HIGH && r==LOW && l==LOW) { digitalWrite(10,HIGH); digitalWrite(11,LOW); digitalWrite(12,LOW); digitalWrite(13,HIGH); delay(50); } else if(s==HIGH && r==HIGH && l==HIGH) { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,HIGH); digitalWrite(13,LOW); delay(50); } else { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,LOW); digitalWrite(13,HIGH); }
  • 26. 26 else if(s==HIGH && r==LOW && l==LOW) { digitalWrite(10,HIGH); digitalWrite(11,LOW); digitalWrite(12,LOW); digitalWrite(13,HIGH); delay(50); } else if(s==HIGH && r==HIGH && l==HIGH) { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,HIGH); digitalWrite(13,LOW); delay(50); } else { digitalWrite(10,LOW); digitalWrite(11,HIGH); digitalWrite(12,LOW); digitalWrite(13,HIGH); } }