Skip to main content

Posts

Showing posts from 2019

Robot Competitions Tutorial - Wall Maze Solving Robot 7

Let's move on to coding part. First, I define the motor pins. // M1 int enA = 5 ; int in1 = 3 ; int in2 = 4 ; // M2 int enB = 6 ; int in3 = 7 ; int in4 = 8 ; Then define the ultrasonics pins int trigLF = 11 ; // Trig - green Jumper int echoLF = 10 ; // Echo - yellow Jumper int trigRF = 18 ; // Trig - green Jumper int echoRF = 19 ; // Echo - yellow Jumper int trigF = 16 ; // Trig - green Jumper int echoF = 17 ; // Echo - yellow Jumper int trigRB = 14 ; // Trig - green Jumper int echoRB = 15 ; // Echo - yellow Jumper Likewise complete code you can find in the above link. https://github.com/buddhikadesilva/Wall-Maze-Solver-Robot See you.

Robot Competitions Tutorial - Wall Maze Solving Robot 6

When we using left hand rule robot goes like that. Finally he will solve the maze. Now lets talk about Right hand rule. It is the same thing. But higher priority set to the Right ,Not  Left. Also these two algorithms have some limitations. Consider this maze. Its a line following maze. In maze there some looping paths. That kind of scenarios cannot be identify using this algorithms. Anyway our purpose are satisfied with this two algorithms.So lets move forward. See you !

Robot Competitions Tutorial - Wall Maze Solving Robot 5

In this article i will discuss about solving maze that's mean maze solving algorithms. These are some basic maze solving algorithms. Lets talk about left hand rule. These algorithms are match to line maze or wall maze. So you have to get the the idea. Then you can implement it your environment. In left hand rule, you have priorities that you have to consider when you getting an action. If you remember, previously we analyzed all the actions of the robots. So now you can prioritize the actions with left hand rule. It simply says if you have possibility to go left then go left, if not check the forward is clear if yes go straight. If not check the right if yes go right if not get 180' turn. Finally the choices would be like that.I think now you are clear with this concept. In next article i will do a simulation , then you can clearly understand secret behind this concept. See you!

Robot Competitions Tutorial - Wall Maze Solving Robot 4

We tested the robot as placing the sensors like that. But it has some errors. Because corners of the bot going to hit to the walls. Then we tried with another sensor placings. We set 45' degree gap between the sensors with setting near all the sensors. In this way problem solved.But some times back part of the robot gone to touch the walls.  How ever we continue the development , When Turning the robot, we set 30cm distance gap to start the turning. Then we understand and analysis the all the possibilities that robot can have to face. Here is the results. Then we analysis the suitable actions in every possibilities. So now we know the story but what actions going to get the robot to solve the maze? So that we need maze solving algorithms. Then we searched about maze solving algorithms. Some Basic algorithms, we found are Left Hand Rule and Right hand rule. In next Article lets discuss about that algorithms. See You!

Robot Competitions Tutorial - Wall Maze Solving Robot 3

Hello.. Lets continue the tutorial. As you can see this gripper is not so good. two mini servo motors for main point not matching. Its better to have a medium level single servo. This a point that you want to remember when building a gripper.When d value increases that weight for the main joint of the gripper is high. So make sure handle d value with a suitable design. Lets move to some examples for grippers. So you can get an idea with these designs. When considering the motor controlling part we used this motors controller. That is a motor controlling shield for arduino. Also we used this li-ion battery for the powering requirements of the robot. This is a very serious point to remember. When you connecting all the components remember all the component must connect to common ground. Otherwise it will not work as a system because of voltage level deference. When we holding sensors to the robot , in first time we decided to set like these. After that we try w...

Robot Competitions Tutorial - Wall Maze Solving Robot 2

I think you have check out previous article.If not please read and get an idea about this tutorial series. Lets talk about the basic hardware parts of this robot.I said that this is my first competition so all the things are did for with try and faults. You can get better idea when i discuss the faults of this project then you can go to next level avoiding the faults. This is the first prototype. We just attached the joints of the chassis with glue gun. It is a major faults. What you want to do is use nuts and bolts to connect the joints. so it will be much strong. Also we used simple plastic gear motors. These are not good because as the time the gear wheels can damage because of plastics. I suggest metal gear motors. Its better because i can be load much good weight and also smooth with low speeds. This is our initial gripper for this robot. It has many faults. Also it connected with glue. For the main weight load point we used two mini servos. Now i suggest a mediu...

Robot Competitions Tutorial - Wall Maze Solving Robot 1

Welcome to the robot competitions tutorial series. In this article i will share the first experience of a robot competition in my life. I started with zero. I learnt basics of arduino and moved to some basic projects tutorials and i tried these. Below you can see below two projects are some examples. When a day walk around the university i found a poster in the notice board. Its about a robot competition. So i excited and searched more about it. Then i got to know its a task based robot competition and task is below you can see. First you have to solve a wall maze then environment be different , judges will give a color before the attempt then robot must have to detect that color of the load and  take to the relevant color path and place the load end of the path. So i had no idea how i started so i met a resource person and he gave me advises. Also he wrote some thing in a paper and gave it to me. that paper showing below. That is a list of items that need for b...

Robot Competitions Tutorial - Intro

This is the first post of Robot competitions tutorial series. I have participated to many robot competitions and i like to share that knowledge with you. First of all lets discuss how to build a team for robot competitions. Most of the competitions, team size contains 5 members per team. To do a great team work , you want different talents to achieve your task. So i will recommend that kind of team members to your group. One or Two members for chassis design.  One or Two members for programming. Additional one member for motivate the team and manage the process. So see you with the next article. Before that, i will show you some basic projects that my team done in the first year of my university life. See you Soon!