CE Home
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Project Ideas & Seminar Topics
Notices


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)
Old 28th October 2007, 01:18 AM
CE - Newbie
 
Robo-G!RL's Avatar
 
Join Date: 27th October 2007
I'm a Crazy Computer Engineering (CE) Engineer
Posts: 9
Send a message via MSN to Robo-G!RL
Question Line Follower Competition..I don't know how to start

Dear CEans,
I'm a student in the field of computer engineering. I'm currently taking an introduction course to robotics and asked to "design and build a mobile device that will follow an optical path on a track in the shortest amount of time while transporting one ping-pong ball."

It is the same as the IEEE line follower competition; however where doing it in our college. The rules and regulations of the contest can be found here http://roboti.cs.siue.edu/competitio...4/IEEE2004.pdf

I'm wondering if you can help me with that because I'm totaly new to robotics and don't know what hardware is needed for that project besides the optical sensors (such as LDRs)and how to build the car in such way to achieve high speed!!

Thanks in advance.

]Robo G!RL[
Robo-G!RL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)
Old 29th October 2007, 01:54 AM
CE - Newbie
 
Robo-G!RL's Avatar
 
Join Date: 27th October 2007
I'm a Crazy Computer Engineering (CE) Engineer
Posts: 9
Send a message via MSN to Robo-G!RL
Default Re: Line Follower Competition..I don't know how to start

15 views but no replys.

I really need your help CEans...please
__________________
"Scientists investigate that which already is; Engineers create that which has never been." Albert Einstein
Robo-G!RL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 29th October 2007, 01:59 AM
CE - Enthusiast
 
Elisa's Avatar
 
Join Date: 3rd March 2007
Location: Australia
I'm a Crazy Computer Engineer
Posts: 128
Default Re: Line Follower Competition..I don't know how to start

Line following robot has been discussed on forums. Did you try searching for the topic?
Elisa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 29th October 2007, 02:07 AM
CE - Enthusiast
 
Rocker's Avatar
 
Join Date: 20th August 2006
Location: NZ
I'm a Crazy Sound Engineer
Posts: 121
Default Re: Line Follower Competition..I don't know how to start

Take a look here http://crazyengineers.com/forum/show...ght=line+robot
Rocker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)
Old 29th October 2007, 11:07 PM
CE - Editor
 
xheavenlyx's Avatar
 
Join Date: 2nd October 2006
Location: Dubai, UAE
I'm a Crazy Electronics Hacker & Engineer
Posts: 572
Default Re: Line Follower Competition..I don't know how to start

RoboG, the first thing to do is search google for any information about this topic. Then form a rough idea in your head.

Divide into sections and start working.

Hardware (Sensors, Actuators - Motors, Connections, Microcontroller)
Software (Program for the Microcontroller etc)
Power Source.
xheavenlyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)
Old 31st October 2007, 01:20 PM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,534
Default Re: Line Follower Competition..I don't know how to start

Hey there Robo-Girl,
xheavenlyx is right about searching on google. You'll get lots of different ideas there! I recently finished a line following competition, but a simpler one compared to the one you are doing.

For the microcontroller, our group used a PIC16F877a micocontroller. I believe this is under $10. There should be schematics online available on what other components needed to use with this uC. If you are interested, I can upload the one that our seniors gave us for the competition. For example, you will need a voltage regulator, a crystal (for the frequency), capacitors, etc. You will need to know C programming to code the uC.. should be no problem since you are taking Computer Engineering You will also need software to upload the code to the chip. Make sure you have a serial cable ready at hand.

If you dont want to use the uC, you can use Voltage comparators instead. Google them up to find how to use 'em

For the motors, you can use a Tamiya double-gearbox. You can get it from any Tamiya toy shop. The one we used was:
http://www.tamiyausa.com/product/ite...oduct-id=70168
Dont forget to get the matching wheels! You have an option of different gear ratios: 12.7: 1, 38.2:1, 114.7:1, 344.2:1. The smaller the ratio, that faster the wheel turns.. but it also produces little torque power (not good if your robot is kinda heavy). Don't forget, if you make your robot move TOO fast, it can overshoot the black line that it's tracking. We used the 38.2:1 ratio.

To use the motors, you need a motor driver. The L293 IC should be suitable enough By the way, each motor powers a wheel. If you instruct one motor to turn one direction and the other motor to turn the other direction, you'll make the robot steer, like a tank.

I suggest you use phototransistors as the sensors.. I THINK its more accurate than LDRs. We had some probs when we used LDRs to detect the 0.5inch black line. If you want to use phototransistors, use Infrared LEDs with it.

Our power source was basically a 9V battery to power the sensors and uC, and also a couple of 1.5V AA batteries (4 of them) in series to power the motor. But they drain real fast, so maybe you should get rechargable AA batteries.

Also, make sure you have these tools in hand with you: Multimeter (you can borrow from lab maybe), soldering gun, lots of solder flux, screwdriver, lots of jumper wires, wire cutter, pincer, small plier. Also get your hands on a prototyping board so you can test some circuits out.

Okay, thats it for now. Feel free to post again if you need more info. In the meantime, me and some friends plan to make a robot boat soon *grin*
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)
Old 31st October 2007, 01:36 PM
Good Administrator
 
The_Big_K's Avatar
 
Join Date: 26th November 2005
Location: Terra-Firma
I'm a Crazy Electrical Engineer
Posts: 5,156
Send a message via Yahoo to The_Big_K
Default Re: Line Follower Competition..I don't know how to start

Ash! Buddy! How about sharing pictures of your team & the robot that you built?

What say?

-The Big K-
The_Big_K is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)
Old 31st October 2007, 05:53 PM
CE - Newbie
 
Robo-G!RL's Avatar
 
Join Date: 27th October 2007
I'm a Crazy Computer Engineering (CE) Engineer
Posts: 9
Send a message via MSN to Robo-G!RL
Default Re: Line Follower Competition..I don't know how to start

thanks all for replying
ash..Thanx buddy..you realy helped me..
I had rough idea about the project but I thought it would be better if I got some other ideas..anyways, I have worked with microcontrollers before and programmed them using C but the question is how to choose the uC? Can I use any or it should have some specifications?!! for example..as I guess; I will need 4 out ports to control each of the 4 motors, and will need # of in ports equall to the # of LDRs used..right?!!

Quote:
If you are interested, I can upload the one that our seniors gave us for the competition.
yes please. I will be greatful.

Quote:
Ash! Buddy! How about sharing pictures of your team & the robot that you built?
yeah..please. It will be GREAT

]Robo G!RL[
__________________
"Scientists investigate that which already is; Engineers create that which has never been." Albert Einstein
Robo-G!RL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)
Old 1st November 2007, 10:35 AM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,534
Default Re: Line Follower Competition..I don't know how to start

Quote:
Originally Posted by The_Big_K View Post
Ash! Buddy! How about sharing pictures of your team & the robot that you built?
Unfortunately, we didnt take any pics of us or robot The robot is partially taken apart now, cause a group of friends need to use the PCB board with its microcontroller for another project of theirs. So now its just wires jutting out, haha. Hopefully when their project is done after a few weeks, i'll assemble it together to take pic. But my group plans to upgrade the line follower to its next version if we have time.

Robo Girl, I'll upload the schematics after next week. At the moment I have final exams so I'm quite busy! Regarding the output, you can just use 2 motors for the rear wheels. They'll act as the steering too. To support the front of your robot you can use an omniwheel, sorta like the ones they use in supermarket trolleys or the chairs that have wheels on them. Also, you are correct about the number of input ports for the sensors. The PIC16F877a has 8 analog pins you can use as inputs, so that means you can have up to 8 LDRs! However, you can also use a number of other ports for digital input. We had planned to put collision detectors on our robot too, which we would have placed at a couple of digital I/O pins (by using a pull-up configuration if anyone was wondering).

Please refer to this link for the datasheet The version we used was the 40 pin PDIP.
http://ww1.microchip.com/downloads/e...Doc/39582b.pdf

Alrighty, will keep you updated next week. Good luck with the robot!
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)
Old 2nd November 2007, 02:24 AM
CE - Apprentice
 
preeste's Avatar
 
Join Date: 2nd November 2007
I'm a Crazy computer Engineer
Posts: 39
Default Re: Line Follower Competition..I don't know how to start

hi ash

i am also very intersted to see the schematics and code to your pic16f877 line follower....could you please post it as soon as possible? desperatly need them in like 2 days if thats possible?
preeste is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 05:07 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.

Advertisements