chetuk
Posts: 49
Joined: Mon Feb 20, 2017 7:27 am

line follower robot

Tue Feb 21, 2017 2:08 pm

Hello Mates,


Can any body help to rotate 180 degree for line follower robot .

/Chetan S.
Last edited by chetuk on Sun Dec 17, 2017 11:18 am, edited 1 time in total.

PiGraham
Posts: 3935
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Rotate 180 degree for line follower

Tue Feb 21, 2017 2:18 pm

What kin of robot? What sort of control?
In a typical two wheel robot you will drive one wheel forward and the other in reverse for the time it takes to move 180 degrees. If you have a sensor that can detect angle (e.g. magnetometer) then turn until the sensor indicates the required bearing has been reached. If you have encoders on the wheels, or if you are driving with stepper motors, drive the wheels for a number of clicks equal to half the circumference of the turning circle (the circle the wheels travel when turning on the spot.


What have you tried?

chetuk
Posts: 49
Joined: Mon Feb 20, 2017 7:27 am

Re: Rotate 180 degree for line follower

Tue Feb 28, 2017 1:49 pm

Hello Expert,

Thanks for post i have not tried yet as looking for some inputs from experts.

yes its 2 wheel robot what i want to achieve is to rotate 180 degree and follow line to initial position.

/Chetan S.
Attachments
Untitled.png
Untitled.png (3.19 KiB) Viewed 1563 times

PiGraham
Posts: 3935
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Rotate 180 degree for line follower

Tue Feb 28, 2017 1:55 pm

What are you asking? How to make a two-wheel robot turn a specific amount (180°)?
How to detect the 'T' bar mark that indicated your should turn around?

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Rotate 180 degree for line follower

Thu Mar 02, 2017 1:11 pm

If I understand you correctly (your picture confused me more than the initial post) then you want the robot to follow the line until a specific (predetermined) distance has been reached and then turn 180 degrees and follow the line back the same distance?

What kind of motors do you have? If there is no external trigger for the turn and final stop then you will need to calculate distance as you travel. Distance travelled can be worked out if you are using stepper motors or motor encoders on electric motors.
Doug.
Building Management Systems Engineer.

chetuk
Posts: 49
Joined: Mon Feb 20, 2017 7:27 am

Re: Rotate 180 degree for line follower

Sun Dec 17, 2017 10:37 am

Hi,

Sorry to confuse !!
Actual trying to build replica as below link.

https://www.youtube.com/watch?v=TmicYvL9QII


/Chetan S.

User avatar
OutoftheBOTS
Posts: 711
Joined: Tue Aug 01, 2017 10:06 am

Re: line follower

Sun Dec 17, 2017 9:47 pm

You will need to provide details of the robot that your using and details os the sensors that your using to detect the line

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13092
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: line follower robot

Sun Jan 21, 2018 1:17 pm

in general terms, to turn the robot around, you just rotate the wheels on either sides of the robot in the opposite direction.

If you have some kind of feedback mechanism, so that you can see how much each wheel rotates, you just rotate each (pair of) wheel(s) the amount needed for a 180 degrees rotation.

if you don't have feedback mechanism you can try to just time the amount of time the wheels need to turn to result in a 180 degree rotation, but it will be just be an estimated guess.

p.s. During the turn you are not trying to follow the line.

Return to “Automation, sensing and robotics”