Skip to main content

Posts

What is A-Frame.io

What is aframe?? Before I get this I like to ask from you, Did you ever have to get a virtual reality? Someones are Yes! or Not!, Do you like to get that experience? So here it is. A-Frame is a web framework for building virtual reality (VR) experience. This web frame is an open-source web framework that can develop many things. It is primarily maintained by Mozilla and WebVR community. But originally from Mozilla. A-Frame was developed to be an easy but powerful and easy way to develop VR content. As an open-source project, A-Frame has grown to be one of the largest and most welcoming VR communities. A-Frame is based on top of HTML, simple to get started. But A-Frame is not just a 3D scene graph or markup language. It is an entity-component system framework for  three.js  where developers can create 3D  WebVR  scenes using HTML. Nowadays HTML provides a familiar tool for web developers and designers while incorporating a popular game development pattern use...

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...