SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Tribhuwan University
Institute Of Engineering
Kathmandu Engineering College
Kalimati, Kathmandu
A proposalA proposalA proposalA proposal on Line Maze Solveron Line Maze Solveron Line Maze Solveron Line Maze Solver
Submitted By: Submitted To:
Arjun Paudel Locus 2011 organizing
Pankaj Shakya committee
Rajeev Thapaliya
Sajeet Thapaliya
Saubhagya Joshi
Sushil Dahal
Submitted on: Wednesday, November 23, 2011
1
TITLE
The title of our project is, “Line Maze Solver”.
2
ACKNOWLEDGEMENT
We owe a great many thanks to a great many people who helped and supported us
during this project.
Our deepest thanks to Department of Electronics and Computer Engineering, the
department of Kathmandu Engineering College for guiding and correcting various
mistakes of ours with attention and care. The department members have taken pain
to go through the project and make necessary correction as and when needed.
We express our thanks to the Locus 2011 organizing committee of, Institute of
Engineering, for selecting and providing us a platform to show our project entitled
“LINE MAZE SOLVER”.
Our deep sense of gratitude to Toshak Raj Uprety (Project coordinator),
Kathmandu Engineering College for support and guidance. Thanks and
appreciation to the helpful people at Institute of Engineering, for their support.
We would also thank our colleague and lecturers without whom this project would
have been a distant reality. We also extend our heartfelt thanks to our family and
well wishers.
3
TABLE OF CONTENTS
Contents Page No.
Title 1
Acknowledgement 2
Table of Contents 3
List of Figures 4
Abstract 5
Introduction 6
Objective 7
System Block Diagram 8
Methodology 9-11
Circuit Diagram 12-13
Application 14
Components and Cost Estimation 15
Results 16
Reference 17
4
LIST OF FIGURES
Figures: Page No.:
Fig 1: A Line Maze 6
Fig 2: Hardware System Block Diagram 8
Fig 3: Software System Block Diagram 8
Fig 4: The Eight Maze Possibilities 9
Fig 5: Sensor Placement 10
Fig 6: Arduino Duemilanove 12
Fig 7: L14F1 Photo Darlington transistor 13
Fig 8: L293D Motor Driver Circuit 13
5
ABSTRACT
This project will undertake the construction and implementation of a two-wheeled
robot that is capable of solving a maze constructed as a line. The structural,
mechanical, and electronic components of the bot will be assembled in a manner
that will make the bot possible to solve the maze as quickly as possible.
The wheels of the robot are capable of independent rotation in two directions,
driven by a motor IC circuit. Information about tracks, the dead ends and turns
will be obtained from sensors on the device. The line of tracks will be determined
by sending a Infrared signal to the track and photo-transistors will be used to sense
the infrared signals. Information from the sensors will be fed back to the Arduino
Duemilanove 328 having a ATMEGA 328P-PU micro-controller, which will
convert them to digital values using ADC of the micro-controller, compare the
result and generate output to the motor to keep it in track. To take the correct turns
and to avoid dead ends, next time robot is operated, the memory of the micro-
controller will also be used.
6
INTRODUCTION
A line maze is usually a black line on a white background. It could also be a white
line on a black background. Each line maze has a Start point and a Finish point.
There are a number of dead-end paths in the maze.
Fig 1: A Line Maze
A line maze solver is a robot that can solve the maze in fastest time possible. As
the line maze contains many dead ends, the robot typically cannot traverse the
maze without first taking a number of wrong turns.
7
OBJECTIVE
Autonomous robotics is a field with wide-reaching applications. From bombing
robots to autonomous devices for finding humans in wreckage to home
automation, many people are interested in low-power, high speed, reliable
solutions. There are many problems facing such designs: unfamiliar terrain and
inaccurate sensing continues to plague designers. Automatic vehicles and other
instruments always saves human effort and our time and if we build it properly.
The systems will be controlled when we are out of reach if we build automatic
vehicles or any other systems.
Sensing a line, maneuvering the robot to stay on course and solving a maze, while
constantly correcting wrong moves using feedback mechanism forms a simple yet
effective closed loop system and an effective autonomous robotics. As a
programmer we get an opportunity to ‘teach’ the robot how to solve the maze thus
giving it a human-like property of responding to stimuli.
8
SYSTEM BLOCK DIAGRAM
Fig 2: Hardware System Block Diagram
Fig 3: Software System Block Diagram
Light Sensors
Arduino Duemilanove 328
ATMEGA 328P-PU
Motor Control
(L293D)
Right
Motor
Left
Motor
Hardware Abstraction layer
Normalized sensor
Data (format useful
to other modules)
IR sensor with
phototransistor
Sensor Module Micro-controller
Convert Sensor data
to digital value to
guide motor control.
Store the corrected
maze path in
memory for fast
maze solving after
traversing for first
time.
Motor Control
Guide motors
According to
Feedback
Provided by
micro-controller.
9
METHODOLOGY
The wall follower, the best-known rule for traversing mazes, is also known as
either the left-hand rule or the right-hand rule. If the maze is simply connected,
that is, all its walls are connected together or to the maze's outer boundary, then by
keeping one hand in contact with one wall of the maze the player is guaranteed not
to get lost and will reach a different exit if there is one; otherwise, he or she will
return to the entrance.
The wall follower technique that we are going to implement is left-hand
rule. As our maze contains no loop. The robot can encounter only eight different
possibilities of situations:
Fig 4:
10
As Arduino Duemilanove 328 has six analog input pins. We shall be using six
sensors to detect the lines. The sensors arrangement will be:
Fig 5: Sensor Placement
In the above figure we can see that the sensors 3 and 4 remaining inside the track
keeps the robot in forward direction. Sensors 2,3 and 4,5 keeps the robot in track
and sensors 1,,2 and 5,6 helps in turning the robot towards left and right
directions.
As we have six sensors in placement, we can make 26
=64 different combinations
out of this combination with advance warning which helps to solve the maze very
fast.
The robot, most of the time, will be involved in one of the following behaviors:
1. Following the line, looking for the next intersection.
2. At an intersection, deciding what type of intersection it is.
3. At an intersection, making a turn.
These steps continue looping over and over until the robot senses the end of the
maze.
From the above figure of the eight situations, there is only one possible action.
This distinction needs to be made because later some of these will need to be
stored by the robot and some won't.
‱ In the first two cases of left turn only and right turn only, robot has no choice
but to make a 90 degree turn. As the robot has no other options available,
these turns need not be stored in memory.
‱ In the case of dead end, robot has no other choice than to make a 180 degree
turn or a U-turn. Since reaching a dead end means robot has made a bad
move, this type of move should be stored in memory to correct it at next
round.
1 2 3 4 65
6.5 cm
11
‱ In the case of left turn only or, straight or left turn the robot should move a
small inch forward and determine the correct move. Similar is in the case of
right turn only or, straight or, right turn. This type of turn should be stored in
memory.
‱ In the case of T turn, Four way and end the robot should go a inch forward
and check the path. This type of turn should be stored in memory.
In order to solve the maze, the robot needs to traverse the maze twice. In the first
run, it goes down some number of dead-ends, but records these as “bad” paths so
that they can be avoided on the second run.
12
CIRCUIT DIAGRAMS
Fig 6: Arduino Duemilanove
13
Fig 7: L14F1 Photo Darlington transistor
Fig 8: L293D Motor Driver Circuit
14
APPLICATION
‱ To develop automatic robots
‱ To use robots in bombing
‱ To find humans in wreckage and to save them
‱ To extract radioactive elements from mines
15
COMPONENTS AND COST ESTIMATION
Components Qty. Cost(NRs.)
Arduino Duemilanove 328 1 3000
L293D IC 1 300
IR Transmitter 6 400
L14F1 Photo-transistor 6 1200
Gear Motors 2 800
Wheels 2 200
Robot Base 1 150
Jumper Wire 30 300
Resistor 20 200
Header 10 250
Connecting Wires 4 meter 50
Tracks 2 meter 100
LCD 1 1000
Miscellaneous 1500
TotaTotaTotaTotallll:::: 9450
16
RESULTS
The maze solver turns out to meet the specifications set by the sub goals. It is able
to solve a maze of which it has no more information than that the track is in black
and the background is white. In solving the maze using the technique of always
following the left side of the track, it stores the essential information to find the
exit the second time without detour. Hence the maze solver will find the accurate
track and completes the maze of any type.
17
REFERENCES
http://en.wikipedia.org/wiki/Maze_solving_algorithm#Wall_follower
http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove
http://www.freewebs.com/isuru-c/motor_driver.htm
courses.cit.cornell.edu/ee476/FinalProjects/s2006/nrs27th257/.../L14F1L14F1L14F1L14F1.pdf

Weitere Àhnliche Inhalte

Was ist angesagt?

Line Maze Solver Presentation
Line Maze Solver PresentationLine Maze Solver Presentation
Line Maze Solver PresentationSoujanyaChatterjee1
 
Line following robot
Line following robotLine following robot
Line following robotsunil sah
 
Autonomous maze solving robot (1/2)
Autonomous maze solving robot (1/2)Autonomous maze solving robot (1/2)
Autonomous maze solving robot (1/2)Musfiqur Rahman
 
light follower robot
light follower robotlight follower robot
light follower robotanuragyadav94
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower RobotroboVITics club
 
line following robot
line following robotline following robot
line following robotRehnaz Razvi
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semsteraqeel shoukat
 
line following robot ppt
line following robot pptline following robot ppt
line following robot pptSuchit Moon
 
Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
Line follower Robot using PID algorithm
Line follower Robot using PID algorithmLine follower Robot using PID algorithm
Line follower Robot using PID algorithmIfaz Ahmed Aflan
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using ArduinoSamuel Manoj Palani
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower RobotHassan Raza
 
Line follower robot
Line follower robotLine follower robot
Line follower robotANU_110
 
Robotics and Automation_Case Studies
Robotics and Automation_Case StudiesRobotics and Automation_Case Studies
Robotics and Automation_Case StudiesJAIGANESH SEKAR
 
Smart School Bus
Smart School BusSmart School Bus
Smart School BusJudy T Raj
 
Automatic Railway Track Brake Detection System
Automatic Railway Track Brake Detection SystemAutomatic Railway Track Brake Detection System
Automatic Railway Track Brake Detection Systemashishbelkhede
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of RoboticsAmeya Gandhi
 
Smart Blind Stick for Blind Peoples
Smart Blind Stick for Blind PeoplesSmart Blind Stick for Blind Peoples
Smart Blind Stick for Blind PeoplesDharmaraj Morle
 
Pick and place robot ppt
Pick and place robot pptPick and place robot ppt
Pick and place robot pptsvsanthoshkumar
 

Was ist angesagt? (20)

Line Maze Solver Presentation
Line Maze Solver PresentationLine Maze Solver Presentation
Line Maze Solver Presentation
 
Line following robot
Line following robotLine following robot
Line following robot
 
Autonomous maze solving robot (1/2)
Autonomous maze solving robot (1/2)Autonomous maze solving robot (1/2)
Autonomous maze solving robot (1/2)
 
light follower robot
light follower robotlight follower robot
light follower robot
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
 
line following robot
line following robotline following robot
line following robot
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semster
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line follower Robot using PID algorithm
Line follower Robot using PID algorithmLine follower Robot using PID algorithm
Line follower Robot using PID algorithm
 
Obstacle avoiding robot
Obstacle avoiding robotObstacle avoiding robot
Obstacle avoiding robot
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using Arduino
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Robotics and Automation_Case Studies
Robotics and Automation_Case StudiesRobotics and Automation_Case Studies
Robotics and Automation_Case Studies
 
Smart School Bus
Smart School BusSmart School Bus
Smart School Bus
 
Automatic Railway Track Brake Detection System
Automatic Railway Track Brake Detection SystemAutomatic Railway Track Brake Detection System
Automatic Railway Track Brake Detection System
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of Robotics
 
Smart Blind Stick for Blind Peoples
Smart Blind Stick for Blind PeoplesSmart Blind Stick for Blind Peoples
Smart Blind Stick for Blind Peoples
 
Pick and place robot ppt
Pick and place robot pptPick and place robot ppt
Pick and place robot ppt
 

Ähnlich wie Line maze solver

Grid Based Autonomous Navigator
Grid Based Autonomous Navigator Grid Based Autonomous Navigator
Grid Based Autonomous Navigator Sayeed Mohammed
 
Independent design project
Independent design projectIndependent design project
Independent design projectFabian Okidi
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerElectronics - Embedded System
 
Presentation1
Presentation1Presentation1
Presentation1Paras Mishra
 
LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010Journal For Research
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance RobotRatan Srikanth
 
Implementation of automatic railway platform
Implementation of automatic railway platformImplementation of automatic railway platform
Implementation of automatic railway platformjeevansaral
 
Final report obstacle avoiding roboat
Final report obstacle avoiding roboatFinal report obstacle avoiding roboat
Final report obstacle avoiding roboatShubham Thakur
 
Impediment detection robot using Arduino
Impediment detection robot using ArduinoImpediment detection robot using Arduino
Impediment detection robot using ArduinoAyush Chhangani
 
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection Robot
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection RobotIRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection Robot
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection RobotIRJET Journal
 
embedded system report
embedded system reportembedded system report
embedded system reportmanish katara
 
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)Jayan Kant Duggal
 
Maze Solver Robot Poster
Maze Solver Robot PosterMaze Solver Robot Poster
Maze Solver Robot PosterNaveed Ahmed
 
pdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxpdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxmaheshwaran79
 
23 2 feb17 15nov16 13357 27441-1-sp(edit)
23 2 feb17 15nov16 13357 27441-1-sp(edit)23 2 feb17 15nov16 13357 27441-1-sp(edit)
23 2 feb17 15nov16 13357 27441-1-sp(edit)IAESIJEECS
 
Maze follower robot
Maze follower robotMaze follower robot
Maze follower robotVikasKumar1792
 
Design and Construction of Line Following Robot using Arduino
Design and Construction of Line Following Robot using ArduinoDesign and Construction of Line Following Robot using Arduino
Design and Construction of Line Following Robot using Arduinoijtsrd
 
Line follower robot
Line follower robotLine follower robot
Line follower robotUlla Ahmed
 

Ähnlich wie Line maze solver (20)

Grid Based Autonomous Navigator
Grid Based Autonomous Navigator Grid Based Autonomous Navigator
Grid Based Autonomous Navigator
 
Independent design project
Independent design projectIndependent design project
Independent design project
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro Controller
 
Presentation1
Presentation1Presentation1
Presentation1
 
Path Following Robot
Path Following RobotPath Following Robot
Path Following Robot
 
LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Implementation of automatic railway platform
Implementation of automatic railway platformImplementation of automatic railway platform
Implementation of automatic railway platform
 
Final report obstacle avoiding roboat
Final report obstacle avoiding roboatFinal report obstacle avoiding roboat
Final report obstacle avoiding roboat
 
Impediment detection robot using Arduino
Impediment detection robot using ArduinoImpediment detection robot using Arduino
Impediment detection robot using Arduino
 
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection Robot
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection RobotIRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection Robot
IRJET-Design and Fabrication of Self-Propelled Rail Crack Inspection Robot
 
Front
FrontFront
Front
 
embedded system report
embedded system reportembedded system report
embedded system report
 
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
 
Maze Solver Robot Poster
Maze Solver Robot PosterMaze Solver Robot Poster
Maze Solver Robot Poster
 
pdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxpdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docx
 
23 2 feb17 15nov16 13357 27441-1-sp(edit)
23 2 feb17 15nov16 13357 27441-1-sp(edit)23 2 feb17 15nov16 13357 27441-1-sp(edit)
23 2 feb17 15nov16 13357 27441-1-sp(edit)
 
Maze follower robot
Maze follower robotMaze follower robot
Maze follower robot
 
Design and Construction of Line Following Robot using Arduino
Design and Construction of Line Following Robot using ArduinoDesign and Construction of Line Following Robot using Arduino
Design and Construction of Line Following Robot using Arduino
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 

KĂŒrzlich hochgeladen

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)lakshayb543
 

KĂŒrzlich hochgeladen (20)

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
 

Line maze solver

  • 1. Tribhuwan University Institute Of Engineering Kathmandu Engineering College Kalimati, Kathmandu A proposalA proposalA proposalA proposal on Line Maze Solveron Line Maze Solveron Line Maze Solveron Line Maze Solver Submitted By: Submitted To: Arjun Paudel Locus 2011 organizing Pankaj Shakya committee Rajeev Thapaliya Sajeet Thapaliya Saubhagya Joshi Sushil Dahal Submitted on: Wednesday, November 23, 2011
  • 2. 1 TITLE The title of our project is, “Line Maze Solver”.
  • 3. 2 ACKNOWLEDGEMENT We owe a great many thanks to a great many people who helped and supported us during this project. Our deepest thanks to Department of Electronics and Computer Engineering, the department of Kathmandu Engineering College for guiding and correcting various mistakes of ours with attention and care. The department members have taken pain to go through the project and make necessary correction as and when needed. We express our thanks to the Locus 2011 organizing committee of, Institute of Engineering, for selecting and providing us a platform to show our project entitled “LINE MAZE SOLVER”. Our deep sense of gratitude to Toshak Raj Uprety (Project coordinator), Kathmandu Engineering College for support and guidance. Thanks and appreciation to the helpful people at Institute of Engineering, for their support. We would also thank our colleague and lecturers without whom this project would have been a distant reality. We also extend our heartfelt thanks to our family and well wishers.
  • 4. 3 TABLE OF CONTENTS Contents Page No. Title 1 Acknowledgement 2 Table of Contents 3 List of Figures 4 Abstract 5 Introduction 6 Objective 7 System Block Diagram 8 Methodology 9-11 Circuit Diagram 12-13 Application 14 Components and Cost Estimation 15 Results 16 Reference 17
  • 5. 4 LIST OF FIGURES Figures: Page No.: Fig 1: A Line Maze 6 Fig 2: Hardware System Block Diagram 8 Fig 3: Software System Block Diagram 8 Fig 4: The Eight Maze Possibilities 9 Fig 5: Sensor Placement 10 Fig 6: Arduino Duemilanove 12 Fig 7: L14F1 Photo Darlington transistor 13 Fig 8: L293D Motor Driver Circuit 13
  • 6. 5 ABSTRACT This project will undertake the construction and implementation of a two-wheeled robot that is capable of solving a maze constructed as a line. The structural, mechanical, and electronic components of the bot will be assembled in a manner that will make the bot possible to solve the maze as quickly as possible. The wheels of the robot are capable of independent rotation in two directions, driven by a motor IC circuit. Information about tracks, the dead ends and turns will be obtained from sensors on the device. The line of tracks will be determined by sending a Infrared signal to the track and photo-transistors will be used to sense the infrared signals. Information from the sensors will be fed back to the Arduino Duemilanove 328 having a ATMEGA 328P-PU micro-controller, which will convert them to digital values using ADC of the micro-controller, compare the result and generate output to the motor to keep it in track. To take the correct turns and to avoid dead ends, next time robot is operated, the memory of the micro- controller will also be used.
  • 7. 6 INTRODUCTION A line maze is usually a black line on a white background. It could also be a white line on a black background. Each line maze has a Start point and a Finish point. There are a number of dead-end paths in the maze. Fig 1: A Line Maze A line maze solver is a robot that can solve the maze in fastest time possible. As the line maze contains many dead ends, the robot typically cannot traverse the maze without first taking a number of wrong turns.
  • 8. 7 OBJECTIVE Autonomous robotics is a field with wide-reaching applications. From bombing robots to autonomous devices for finding humans in wreckage to home automation, many people are interested in low-power, high speed, reliable solutions. There are many problems facing such designs: unfamiliar terrain and inaccurate sensing continues to plague designers. Automatic vehicles and other instruments always saves human effort and our time and if we build it properly. The systems will be controlled when we are out of reach if we build automatic vehicles or any other systems. Sensing a line, maneuvering the robot to stay on course and solving a maze, while constantly correcting wrong moves using feedback mechanism forms a simple yet effective closed loop system and an effective autonomous robotics. As a programmer we get an opportunity to ‘teach’ the robot how to solve the maze thus giving it a human-like property of responding to stimuli.
  • 9. 8 SYSTEM BLOCK DIAGRAM Fig 2: Hardware System Block Diagram Fig 3: Software System Block Diagram Light Sensors Arduino Duemilanove 328 ATMEGA 328P-PU Motor Control (L293D) Right Motor Left Motor Hardware Abstraction layer Normalized sensor Data (format useful to other modules) IR sensor with phototransistor Sensor Module Micro-controller Convert Sensor data to digital value to guide motor control. Store the corrected maze path in memory for fast maze solving after traversing for first time. Motor Control Guide motors According to Feedback Provided by micro-controller.
  • 10. 9 METHODOLOGY The wall follower, the best-known rule for traversing mazes, is also known as either the left-hand rule or the right-hand rule. If the maze is simply connected, that is, all its walls are connected together or to the maze's outer boundary, then by keeping one hand in contact with one wall of the maze the player is guaranteed not to get lost and will reach a different exit if there is one; otherwise, he or she will return to the entrance. The wall follower technique that we are going to implement is left-hand rule. As our maze contains no loop. The robot can encounter only eight different possibilities of situations: Fig 4:
  • 11. 10 As Arduino Duemilanove 328 has six analog input pins. We shall be using six sensors to detect the lines. The sensors arrangement will be: Fig 5: Sensor Placement In the above figure we can see that the sensors 3 and 4 remaining inside the track keeps the robot in forward direction. Sensors 2,3 and 4,5 keeps the robot in track and sensors 1,,2 and 5,6 helps in turning the robot towards left and right directions. As we have six sensors in placement, we can make 26 =64 different combinations out of this combination with advance warning which helps to solve the maze very fast. The robot, most of the time, will be involved in one of the following behaviors: 1. Following the line, looking for the next intersection. 2. At an intersection, deciding what type of intersection it is. 3. At an intersection, making a turn. These steps continue looping over and over until the robot senses the end of the maze. From the above figure of the eight situations, there is only one possible action. This distinction needs to be made because later some of these will need to be stored by the robot and some won't. ‱ In the first two cases of left turn only and right turn only, robot has no choice but to make a 90 degree turn. As the robot has no other options available, these turns need not be stored in memory. ‱ In the case of dead end, robot has no other choice than to make a 180 degree turn or a U-turn. Since reaching a dead end means robot has made a bad move, this type of move should be stored in memory to correct it at next round. 1 2 3 4 65 6.5 cm
  • 12. 11 ‱ In the case of left turn only or, straight or left turn the robot should move a small inch forward and determine the correct move. Similar is in the case of right turn only or, straight or, right turn. This type of turn should be stored in memory. ‱ In the case of T turn, Four way and end the robot should go a inch forward and check the path. This type of turn should be stored in memory. In order to solve the maze, the robot needs to traverse the maze twice. In the first run, it goes down some number of dead-ends, but records these as “bad” paths so that they can be avoided on the second run.
  • 13. 12 CIRCUIT DIAGRAMS Fig 6: Arduino Duemilanove
  • 14. 13 Fig 7: L14F1 Photo Darlington transistor Fig 8: L293D Motor Driver Circuit
  • 15. 14 APPLICATION ‱ To develop automatic robots ‱ To use robots in bombing ‱ To find humans in wreckage and to save them ‱ To extract radioactive elements from mines
  • 16. 15 COMPONENTS AND COST ESTIMATION Components Qty. Cost(NRs.) Arduino Duemilanove 328 1 3000 L293D IC 1 300 IR Transmitter 6 400 L14F1 Photo-transistor 6 1200 Gear Motors 2 800 Wheels 2 200 Robot Base 1 150 Jumper Wire 30 300 Resistor 20 200 Header 10 250 Connecting Wires 4 meter 50 Tracks 2 meter 100 LCD 1 1000 Miscellaneous 1500 TotaTotaTotaTotallll:::: 9450
  • 17. 16 RESULTS The maze solver turns out to meet the specifications set by the sub goals. It is able to solve a maze of which it has no more information than that the track is in black and the background is white. In solving the maze using the technique of always following the left side of the track, it stores the essential information to find the exit the second time without detour. Hence the maze solver will find the accurate track and completes the maze of any type.