![]() | ![]() | ![]() |
| | |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hai all... I am building a line following robo now, and going to use Fairchild QRB1134 IR Photoreflectors.The data sheet is attached. Some body pls tell me the connection diagram of the photoreflector with the micro and the logic behind line following. Thanks in advance... JABIR | |
| |
| | (permalink) |
| connection diagram is shown in the datasheet. but how to follow a line you ask? well there are lot of ways. it all depends on how many sensors you got? if you have only one then you must ensure that the sensor sees black and if it looses it hi must make some turns to find it again. if using 2 then the black line has to be between them at all times so when a sensors sees black robot must turn. same goes for 3 sensors. connect the led to its power source through resistor! then connect the photo transistor as you wold a resistor to ADC pin and read the voltage. also add a 100k resistor from that pin to GND (as i assume you connect the transistor between vcc and ADC.
__________________ Need Help? Press F1 If that doesn\'t help you, ask me... I might know better. | |
| |
| | (permalink) |
| Hai .. Thanks for help. I have five sensors. so did u pls tell me the best configuration ? and i am a newbie in electronics, Pls explain with a schematic. Regards JABIR | |
| |
| | (permalink) |
| well i suppose you are driving on a level ground. then put them all in a line perpendicular(on 90 degrees) with the black line. the distance between the sensors should be (robots width-3) / 5 (let say your bots width is 10 cm, then the distance is (10-3)/5=1,4cm). then as i said before connect the internal LEDs to GND and vcc via 330ohm resistor. the receiver part should be connected like this: C(white) to Vcc(+5v) E(blue) to your micro-controllers input(analogue input is the best but i guess digital will do just fine also). all E's are connected to DIFFERENT inputs. and then hope it works
__________________ Need Help? Press F1 If that doesn\'t help you, ask me... I might know better. | |
| |
| | (permalink) |
| Hi guys Does any one know of a similar device that would detect a dot about 0.002 inch? | |
| |
| | (permalink) |
| could you tell me how big it is in mm's. i cant picture a dot in inches. but if it's big enough most of the sensors can find it when positioned just right.
__________________ Need Help? Press F1 If that doesn\'t help you, ask me... I might know better. | |
| |
| | (permalink) |
| a 2 mil (.002") dot is about .05 mm. some how, I don't think that's what you mean. with out magnification optics, I don't think it's going to be vary easy. Is this still for line following? because that just doesn't make any sense to me. | |
| |
| | (permalink) |
| there's no way you can find that dot with or without lenses or optics. only with a microscope i think. the beam of light is just too big (1mm) for that dot and the surface around the dot reflects more than the dot so the sensor doesn't see the dot.
__________________ Need Help? Press F1 If that doesn\'t help you, ask me... I might know better. | |
| |
| | (permalink) |
| This sensor is designed to use for very short ranging distance. It is not useful for IR array for tracking the line. You can use the one as sensors of odometry to measure speed of wheels for PID control but do not use for other purpose of robots. I recommend you to make your own IR array. To try search with keyword IR array for mobile robots. Best
__________________ Learning by doing. | |
| |
| | (permalink) |
| that's rather odd, I have 2 robots that use them to find a white line and avoid it. I guess all this time it's just been my imagination that they actually work. what's more odd is that they seem to be a standard sensor for line followers. Glad you straightened me out. I'll have to go tell the whole world to stop using them. | |
| |
| | (permalink) | |
| Quote:
"The QRB1133/1134 consists of an infrared emitting diode and an NPN silicon phototransistor mounted side by side on a converging optical axis in a black plastic housing. The phototransistor responds to radiation from the emitting diode only when a reflective object passes within its field of view. The area of the optimum response approximates a circle .200” in diameter" If it is a converging optical axis, then the field of view and hence the 'distance ' should be restricted. The reason it "works at any distance" may be due to the ambient light reflections rather than the internal LED light. This is not clear anywhere in the post. Nor is it clear if modulated light was used. Usually, Line followers are just light reflection sensing setup. I sometimes wonder: why the expensive and hard-to-find reflective sensor? A simple circuit using an LDR would, and are in many a place, work fine with a slit aperture! The .200" diameter can be simulated/fabricated easily. The Mouse chopper wheel sensor module can be adopted for this by cutting and aligning the LED-photo transistor, similar to the QRDxxxx. | ||
| |
| | (permalink) | |
| Quote:
I gave you a general view point of how to build IR array for line follower in my knowledge but you can use the sensor to do so. I know somebody used the sensor for cheap line follower when they used only two sensor to detect left or right of line. Let see, if you do that so your robot would go in zic-zac line because you never know where is exactly central point between two sensors (normally 2 cm). So it is not precise feedback for PID control. Try to design your own IR array with amplifier, cutter,... and using Lagrange intepolating polynominal to find the error of central point of IR array with line to adjust your PID to control you robots. Good luck!
__________________ Learning by doing. | ||
| |
| | (permalink) | |
| Quote:
That sensor is used in quite a few robot designs to detect lines including many line following robots. I am directly disputing your comment that the QRB is not usefull for line following. The facts do not support your assertion. People often put several of those sensors in a line (4-5) and create a very decent line sensing array. They are a bit large though. I have seen them used in numerous line-following competitions. I don't know if they are running off of ambient or not (I suspect not) but they work quite well. frankly, a line follower doesn't need that sophisticated control. Last edited by philba; 9th May 2006 at 06:18 PM. | ||
| |
| | (permalink) | |
| Quote:
The aren't that expensive but i agree you can do cheaper. I built a 5 sensor array using surface mount IR Leds and phototransistors. I made my own PCB and light mask but total cost was less than a dollar. still, that is beyond most bot builders. The reason why PTs are better than LDRs is that they are dead easy to interface to microcontrollers. No ADC, no comparators, just a pull-up resistor and a digital input pin per PT. for larger arrays, a shift reg can be used to reduce the pin requirements. | ||
| |
| | (permalink) | |
| Quote:
But you said that IR array for line-follower does not need sophisticated control is absolutely wrong. It is only simle for very simple scenario and low qualified competition where you do not need to adjust speed of robots, control robot to follow complicated line, opening and closing gate, passing turnel, going down stair... and something more. If you do that, you need very good imput of IR array so you need to apply your mathematical knowledge somewhere as I told about Lagrange Polynominal. You can go to robocup.dtu.dk to see how much is different from competitions you have seen. Cheers,
__________________ Learning by doing. | ||
| |