go_away

Author Topic: My First Robot - A Differential Drive Dummy Robot (Version 2)  (Read 8335 times)

0 Members and 1 Guest are viewing this topic.

Offline reefatTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
My First Robot - A Differential Drive Dummy Robot (Version 2)
« on: September 21, 2008, 05:05:45 PM »
Hi everyone, this is the improved version of my previous Differential Drive Robot. I didnít think about any name yet; but will figure out one soon. Anyway, this improved prototype has an IR Rangefinder attached to it which can detect distance of any object in front of it within a range of 10cm to 80cm. And an extra servo is added to this new version to rotate the sensor left or right. Letís take a closer look at the new prototype.



Whenever the robot faces an obstacle in front of it, it looks left and right, and thinks about which side has enough space to go for. Then it turns to that side and moves forward. Check out the following video to see how the robot moves.

[youtube]s9aAY5zDuLo[/youtube]
« Last Edit: September 21, 2008, 05:09:24 PM by reefat »

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #1 on: September 21, 2008, 08:02:06 PM »
reefat, your servo and sharp IR mount look just like mine. Note that the $50 sharp IR code comes from Admin's sumo robot. Look at pictures of that robot and youll see you have your sharp IR mounted backward from the way he has his. this may or may not make a difference i'm still not sure.



Offline reefatTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #2 on: September 21, 2008, 11:49:31 PM »
Thanks for your info. I mounted the IR wrong. I'll fix it.  ;)
And, the code I wrote myself. I have to study and work on the Sharp IR a lot. First I took 100 data (distance vs. voltage) and plot them on graph. Then using MATLAB I had to derive an equation (using Regression) that best-fits with my graph. Although this is a lot of work to invent "THE WHEEL", which is already invented. I like to build everything from scratch.  ;D

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,132
  • Helpful? 109
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #3 on: September 24, 2008, 09:59:04 PM »
Hay Reefat,

So it looks like your robot goes in a straight line until there is a wall directly in front. You then stop: scan left/right to work out which way to go and then go in a straight line again.

Why not scan your sensor left/right whilst you are going in a straight line? Then you can start to turn away from walls BEFORE you get too close. Make your turn angle inversely proportional to how close the wall is. ie if the wall is far away then turn away slowly. If its very close then turn quickly. Then you will have a much more fluid movement.

The next challenge for you is small objects like chair legs, or low objects like the horizontal struts on a table leg. They may be below the line of site of your Sharp IR. How will you handle those?

Dont mean to sound critical - just giving you more challenges to think about!
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline reefatTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #4 on: September 24, 2008, 10:29:59 PM »
@Webbot. I am so glad to have some gr8 !dea and challenges from an expert like you. I appreciate it. I will work on those and let you know.
Right now trying to make a good and stable structure (mechanical body construction). Hope, sooner later I can finish it.
« Last Edit: September 24, 2008, 10:30:44 PM by reefat »

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #5 on: September 25, 2008, 10:52:53 AM »
Hay Reefat,

So it looks like your robot goes in a straight line until there is a wall directly in front. You then stop: scan left/right to work out which way to go and then go in a straight line again.

Why not scan your sensor left/right whilst you are going in a straight line? Then you can start to turn away from walls BEFORE you get too close. Make your turn angle inversely proportional to how close the wall is. ie if the wall is far away then turn away slowly. If its very close then turn quickly. Then you will have a much more fluid movement.

The next challenge for you is small objects like chair legs, or low objects like the horizontal struts on a table leg. They may be below the line of site of your Sharp IR. How will you handle those?

Dont mean to sound critical - just giving you more challenges to think about!


Thats where I'm at, i've seen my robot hit chair legs, and not see objects below the scanner. Although I have a touchless bumper mounter lower then the scanner. I figure any lower than that and the robot can run it over =P

Offline eduard2000

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #6 on: October 11, 2008, 10:57:12 AM »
 I think you could thy to put a little more wait to the back because if you would want it to go faster it would tern over and fall  :'(
 But seal nice robot ;D

Offline GalacticNerd

  • Jr. Member
  • **
  • Posts: 46
  • Helpful? 0
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #7 on: October 30, 2008, 08:26:51 AM »
I'm making one just like it =)
This is all pretty new to me so.. I hope someone can help me if I'm stuck^^

Offline Kirk

  • Jr. Member
  • **
  • Posts: 44
  • Helpful? 2
Re: My First Robot - A Differential Drive Dummy Robot (Version 2)
« Reply #8 on: November 14, 2008, 12:45:55 PM »
I LOVE the cardboard box chassis!  So many builders get all concerned about making the perfect chassis and never get the robot running.  You on the other hand have a cool robot. Good work.  After seeing your robot I think my next robot will use a wood cigar box for a chassis.
Keep posting
Kirk

 


Get Your Ad Here