GithubHelp home page GithubHelp logo

solvendo's Introduction

Solvendo 🏁

An intelligent maze solving car 🧠🏎️

Solvendo can solve a complex maze in the shortest amount of time while maintaining a decent velocity profile. It can accomplish this by utilising a combination of closed-loop controllers such as PID and a variety of conditions. It is able to tackle the line following problem using an array of infrared sensors and achieve the same results, That’s why it got its name Solvendo which means solver in latin.

solvendo

💻 Code

The code was written on the Atmega328P board. All low-level drivers were implemented by us, to achieve the best performance and the least code size.

💸 Components & cost

Name Use & description Number Market Cost per Part
Arduino Uno The main development board 1 160 EGP
TCRT 5000 The IR sensor 5 10 EGP
Gearbox Motors The used motors 2 25 EGP
Motor Driver The L298N H-bridge 1 70 EGP
Car chassis Car’s Main body 1 190 EGP
Car batteries Lithium Rechargeable ones 3 35 EGP
Battery Holder To hold the batteries 1 15 EGP

📌 Schematic diagram

Our Car consists of 5 IR sensors and 2 DC motors. In this schematic, we show the connections of the sensors, motors, and power connections.

Copy of Line Follower

Note that: We have used the L293N motor driver, but since it is not supported in the simulation, we have shown the connections of the L293D H-bridge with a voltage regulator. We have used the TCRT 5000 IR sensors, but since it is not supported in the simulation, we have used another module.

Body

📐 Design

image image

After Printing

image

Challenges 🚧

  • The Tight Range of the IR Sensor: One of the most crucial issues we have faced was the tight range of the IR sensor, we weren’t able to agree on a cutting threshold between the white and black colors that was robust to other color and heat changes. We have solved this problem by using some resistors connected with the sensor and tuning its value until we reached the best range and threshold. That came with the cost of slower readings, but a few milliseconds longer wasn’t very critical to our application.
  • Varying Voltage Level: Simply, we were somehow tuning the optimum velocity profile for our car. But, the velocity was affected by how much the batteries are charged. We managed to overcome this issue by using an AC/DC power adapter during the testing and adding fully charged batteries during the competition.
  • Number of IR Sensors: We managed to tackle the line following problem using only 3 sensors but, that wasn't enough to do the same in solving the maze. We had to use extra two sensors; three for following the line and the other two to detect the turns.

solvendo's People

Contributors

ahmed-walid avatar el-nebo avatar halahamdi avatar menna15 avatar mohammed-salama avatar mostafa-wael avatar nadaelsayed11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

el-nebo menna15

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.