purifier said:I'm stuck with another question. Can i make the robot trace a single path that is only a white line on a black board?
I request someone to atleast give me a boost so that i can continue with this project. I'm completely new to robotics so if no one gives me any help, then i'll have to quit this project. Please help.
One possibility is an electromagnet that is strong enough to lift the mine directly to the surface without drilling.
What is that number? I mean the robot speed is not yet decided... so what is the significance of that number.for the robot to move for 68 seconds before it turn...
purifier said:Thank you very much for your reply... Coming to the movementof the robot i thought i'll do it using sensors that three sensor technique. But i still have a problem. How will it know when to take right and when to take left? Do i have to program even that? I've attached a drawing of the board. Should i go for 5 sensors instead? Front Back Middle Left Right? Or is there any other method?
And is there any other way to detect a metal other than using Ultrasonics... ? I want something which is practical because i don't think i can get Ultrasonic Tx and Rx here in India...Please help.
for the movement of the robot. can u tell me what's the black line in ur diagram is and are the white squares(what colour it will be in ur real game). was it the white line. in my times, the black line was the white. if in this case, let's say that ur starting grid will be at the second box at bottom. the sensor most left sensor should be far enough to detect the horizontal line. so ur program should be every time it detects the white horizontal line it will count 1. so all u need to do is execute a program to turn left when it reaches count 4. to stop u need to tell me 1st what is the colour of ur white box in real game.
purifier said:@glenjoy
Thank you for the reply but we're not allowed to use any premanufactured component. As for the robotic arm its too complex to make a robotic arm that small. Anyways thank you for the suggestion.
@nafaiz
Thats really a good sensor. I need some more help if possible. This is regarding the movement of the robot. I'll somehow detect the white line first using one of the three methods:
1. Using a bend sensor and detecting if the robot is nearer or farther from the wall and steer it accordingly.
2. Using a micro switch to make the robot stay with the wall...
3. Just ask the robot to travel straight until it detects the line.
Problem is i thought of choosing the third method. Can i have some opinion on it?
And now, once it starts travelling... I'll use the already said 3 LED Detector system mounted at the bottom of the robot. When all the three LEDs glow it means that the bot has encountered a line. I'll ask the bot to stop. And then i'll ask it to turn 90 degrees. This is where i have a problem, i just can't ask it to rotate 90 degrees because then it would collide with the wall. I want to know if there is any other method...
Once it has rotated. I thought of creating a virtual array of pits in the microcontroller so that... If the middle LED is giving a 0 and the other two LEDs are giving a 1 it means that the bot has reached an intersection point. And i'll enable the first location of the array so that i'll know what pits the robot has gone through and which were are still left. I could get till here. Now the problem is what to do when the bot predicts a collision. I've attached an image to make everything clear... Is there any method which requires less coding and is the best? Please help...
purifier said:@glenjoy
Thank you for the reply but we're not allowed to use any premanufactured component. As for the robotic arm its too complex to make a robotic arm that small. Anyways thank you for the suggestion.
@nafaiz
Thats really a good sensor. I need some more help if possible. This is regarding the movement of the robot. I'll somehow detect the white line first using one of the three methods:
1. Using a bend sensor and detecting if the robot is nearer or farther from the wall and steer it accordingly.
2. Using a micro switch to make the robot stay with the wall...
3. Just ask the robot to travel straight until it detects the line.
Problem is i thought of choosing the third method. Can i have some opinion on it?
And now, once it starts travelling... I'll use the already said 3 LED Detector system mounted at the bottom of the robot. When all the three LEDs glow it means that the bot has encountered a line. I'll ask the bot to stop. And then i'll ask it to turn 90 degrees. This is where i have a problem, i just can't ask it to rotate 90 degrees because then it would collide with the wall. I want to know if there is any other method...
Once it has rotated. I thought of creating a virtual array of pits in the microcontroller so that... If the middle LED is giving a 0 and the other two LEDs are giving a 1 it means that the bot has reached an intersection point. And i'll enable the first location of the array so that i'll know what pits the robot has gone through and which were are still left. I could get till here. Now the problem is what to do when the bot predicts a collision. I've attached an image to make everything clear... Is there any method which requires less coding and is the best? Please help...
I found this from the question.i think there wont be any possibility that the 3 sensor wont glow at once as the white line is 5 cm. mine last time was only 2 cm.
The position of the bot is fixed. Even the opponents is fixed...do u have to start there(as shown in ur algorithm file) or u can start anywhere else?
i suggest u use 3 sensors that is attached side by side for the line follower and 1 more sensor further than the 3 about >7cm for detecting the horizontal line. the sensor should be in straight row with the 3 sensors but further. use this sensor as the counter for the horizontal line.
why u need to go in that kind of way when u already know where the coin is( as shown in ur diagram before it was at fix 12) or u dont know where the coin is and the diagram shown before was just an example where the coin is hidden.
Not my fault this time. Its my drawing ability. I meant the same path. But while drawing i thought i shouldn't cover those pits...i dont think it's a good idea to go in that direction(as shown in ur algoritm). it will be better if u follow the white line as shown with the red line in file below. make a robot with the wheel and the horizontal line sensor(as mentinoed above) can get pass through the patches.
purifier said:i think there wont be any possibility that the 3 sensor wont glow at once as the white line is 5 cm. mine last time was only 2 cm.
I found this from the question.
"The Gaming arena will have 2 cm thick white lines forming a grid"
So do i have to alter anything else?
i'm getting confused here. in ur post before u wrote that the white line is 5 cm. i think this 2 cm really means the thickness. so u must arrange ur sensor to be 3 cm from ground as the sensor needs 1 cm minimum to detect the white lines. just to remind u that the sensor will be very sensitive to light and 3 cm from ground is very high for the sensor. it might just detect light from surroundings and give logic high same as it detects white line. so u must adjust the sensitivity of the sensor very accurate before going into the game. another thing, i think that ur real game will have very bright surrounding. so u need to test ur robot in a surrounding that is also bright. these are for the sensor parts.
about the 3 sensor wont glow at a same time, refer to diagram 1. the robot on the left will get 3 sensor glow at the same time while robot in the left will only have 2 sensors glow at a time. later it will be 1 and after that no sensor will glow. this will make ur robot movement fail as u want it to turn after 3 sensors glow at a time.
for a line follower, ur robot movement should be like in the diagram 2. it will always steer left and right to find 3 sensors glow at a time.
about the 4th sensor, i've put it in the diagram 2. did u get the idea why i said the 4th should be further than the 3. the 4th is only used for detecting horizontal white line while the 3 is used for detecting only the straight line. this will make ur program easier and more accurate.
i'm sorry about my drawings.
for ur knowledge, it's better if u build ur own game field. there u may test ur robot till it will be perfect. spend some money on building the field. to win the game, u need a very fast and perfect robot. u need to run it on the field and u'll see all the mistakes it will make. trust me ur robot wont run like u want during the game day if u didn't try it on ur own field before. it will not run like u have imagined. there are always mistakes that will happen. and one more thing, during the game day, u will find out that opponents will always come with better ideas and u'll regret that u didn't use the same methods as they were. so, start building ur own field and apply ur robot on ur field. dont wait till last minute. learn from experience.
I'm sorry Sir... I meant that the pits or cues were having a 5 cm side. That means the dimensions of the pit are 5x5x5 cm.i'm getting confused here. in ur post before u wrote that the white line is 5 cm.
So will that be the height of the sensor from the ground?i think this 2 cm really means the thickness. so u must arrange ur sensor to be 3 cm from ground as the sensor needs 1 cm minimum to detect the white lines.
about the 3 sensor wont glow at a same time, refer to diagram 1. the robot on the left will get 3 sensor glow at the same time while robot in the left will only have 2 sensors glow at a time. later it will be 1 and after that no sensor will glow. this will make ur robot movement fail as u want it to turn after 3 sensors glow at a time.
for a line follower, ur robot movement should be like in the diagram 2. it will always steer left and right to find 3 sensors glow at a time.
about the 4th sensor, i've put it in the diagram 2. did u get the idea why i said the 4th should be further than the 3. the 4th is only used for detecting horizontal white line while the 3 is used for detecting only the straight line. this will make ur program easier and more accurate.
Thats a really wise idea... I'll do that as soon as possible...[/quote]for ur knowledge, it's better if u build ur own game field. there u may test ur robot till it will be perfect. spend some money on building the field.
So will that be the height of the sensor from the ground?.
Actually i'll detect the white line only once that is the first time..
After that, i'll just ask the robot to follow the line till the middle LED gives a 1 and the other two LEDs Left and Right give a zero. This will be achieved using this fashion of arrangement.
If the robot is assumed to have a length of 30 cm and breadth of 20 cm and it is so arranged such that the length is parallel to the board's bottom edge, i'll put the middle sensor at a distance of 24 from length and 24 from breadth. The other sensors such that they won't give a one when the robot is moving on a white line... Will this work? Once the robot approaches a pit, the middle LED gives a 0 and the other two will give a 1... So that we can detect a pit has been approached...
i think ur idea is great, but for safety use 2 or more sensors for detecting straight line. as i mentioned earlier, the movement of the robot should be like in diagram 2.
Exactly 45 days from now, i'll have to submit it...can i know how long u still have before the game starts.
I'll take your advice and start on the board right away...for ur information, assembling the robot takes more time than programming it. so start assembling the robot now. divide groups by 2 for game field and 2 for assembling. game field wont take long, so later the other two may join u assembling the robot.
I can have only one bot... I don't think there is any weight restriction but we do have a size restriction 20x30xunlimted height...by the way, how many robots u can have or how much is the weight restrictions for all robots?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?