URGENT robot questions, deadline 1 week

Hey...

Please I need help. pleanty help.....please

I am working on a line foolowing robot , that is steered by a servo and controlled by a PIC16F84 microcontroller. its is a 16cm by 16cm by 16 cm.
For the sensors , I am using 3 infrared sensors.

Do I need a comparator to compare the signals coming from the sensors considering am using a servo?

Also, what does a relay coil do?

Does the motor need to be connected to the PIC16F84? because , I thought it only needed to be powered?

How far apart shud I keep the sensors to prevent interference?


I would be grateful for any amount of information you can give.

Please try to elaborate on any explanation to help me understand.

Thank you.

Replies

  • harshharsh26
    harshharsh26
    Hi,
    You will need a coparator for sure, It can be a analog comparator in the form of any opamp or a a/d convertor in the microcontroller itself.
    If possible show me the bolck diagram of the project u are trying it would help me to explain you more...
    Or if u dont have any do reply i will try to design some for u,
  • Ashraf HZ
    Ashraf HZ
    I suggest the sensors should not be closer than the width of the line you are trying to follow, and also isolate the sensors so that it can only see it's respective infrared emitter reflection (you can use some sorta tube, maybe).

    The relay coil is just a switch that utilizes an electromagnet. If current goes through it, the magnet pulls a switch. Quite useful if you have to deal with high voltage circuits.
  • caen_clux
    caen_clux
    dont wasting your time..for more information about line following robot you can visit at RoBot EvolusiOn
  • Powerful
    Powerful
    hi, I just saw your message thanx....I dont exactly have a block diagram for the project yet. But if am planning on working it out digitally , for example say,, if the reading from the sensors are 0,1,1 turn right do I still need a comparator. I would be really grateful if you can help me come up with a design...Thank u
  • mahul
    mahul
    u wd need a comparator to feed the analog signals from the sensor to the microcontroller in digital form.the best thing that u can do is to define two voltage levels such that the voltage from the sensor varies as less than the base level when it detects the absence of a line and more than the base level when the sensor is on the line(ie detects the line)(or vice-versa). now connect one base line and one line from a sensor to the inputs of a comaparator(there r many, u cd try the mc1458 for an example).these would digitise ur signal into two levels 0 and 1(there is furthur sophistication possible if u decide to allocate more than a bit for a line but it doesn't seem u wd require that).and connect the output of the comparator to the controller,that's all.now direct the outputs of ur controller to the actuators as per ur requirements and ur line follower is ready.
  • Elektrogeek
    Elektrogeek
    You Surely would need to connect motor to PIC as you also need to stop the motor. as far as for comparator You need to have a comparator for sure to compare the voltage values.

You are reading an archived discussion.

Related Posts

Hi all, Anybody knows about termination schemes in board designs.... if u know plase tell me.. Thanks subbu
Hi everone here At CE! Im Jesus, Glad To join here Hope we can get a good time here Any question? Feel Free to Ask
hi guys a few days ago my pc got infected with some trojan (which i got from a pendrive from my friend). this trojan immediately restricted my access to 1)...
Hi CEans, Can anyone of you throw light on the 'life of LCD TV'? What does the term 'viewing hours' refer to and what happens to the screen once the...
Need some different ideas about project work. My name is Vinoth Sundar and I am just a registered member of CrazyEngineers and I am pretty clueless about which project to...