Skip to main content

Posts

Showing posts from November, 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...