Giter VIP home page Giter VIP logo

shravananandk7 / mazerunner-robot-algorithm-arduino Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 1.61 MB

Maze Solving algorithm detects the various nodes in a maze formed with black lines using a line follower robot to computes the best path for minimum turns between start to end points.

License: GNU General Public License v3.0

C++ 100.00%
arduino arduino-uno arduino-nano arduino-mega arduino-sketch arduino-ide arduino-library arduino-platform arduino-boards linebot

mazerunner-robot-algorithm-arduino's Introduction

Maze-Solver-Robot-Algorithm-Arduino

Introduction

The algorithm detects the various nodes in a maze formed with black lines using a line follower robot and then computes the best path for minimum turns from start to end point.

Project Description

The embeded c code is in Arduino languge and can be directly dumped to any arduino software, also the various modules of codes are presented seperately for better understanding and integrating with other codes of the user

  • IRRS Sensor Calibration The 6 IR Reflectance Sensors are used which give the intensity of black and white colour use Irrs_codes.ino for geting analog data and irrs_min_max.ino for calibrating the minimum and maximum intensity values which change according to the environment, thus making the robot an adaptable to all lighting conditions.
  • Solving string path Use the maze_solve.ino for solving the string of turns made by the robot in the first time to compute the best path. For more info regarding the string and the alogorithm see https://www.pololu.com/file/0J195/line-maze-algorithm.pdf whre the robot can work in two ways while reading - right justified (Always turns right) or left. Two functions are there in the code the best function can be used acccording to the path given. A C language program is also written Nodes String Solver in C language.cpp for integration to other languages.
  • Node Sensing and Inference Node_checking.ino can be used with just the sensors and the conditions for detection of nodes can be changed according to your positions the positions i used as shown in image Sensor_Positions.JPG, node_version_2.ino works with controling the motors as well this code slows down the speed when a node is approaching for better detection.

- **Final Code** *Integrated_Code.ino* is the final code for the maze solver robob which consista of the the above functions. Change the conditions for detecting nodes accoring to the sensor array configuration of your robot.

mazerunner-robot-algorithm-arduino's People

Contributors

shravananandk7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.