![]() | ![]() | ![]() |
| | |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
| | Thread Tools | Display Modes |
| | (permalink) |
| Moderator | I've been working on ASAP (as small as possible) Line following robot, and as the name suggests, It doesnt have to be ASAP. I have been working on modifying the line following robot as designed by Dave cook at www.robotroom.com, and I cannot figure out how to get the circuitry to not just veer off left when it cannot find the line. This is what I mean: http://www.youtube.com/watch?v=2bVcqKy48F4 It can only go a certain direction when active. Do you have any suggestions as to solve the problem to make it turn rather than chase its tail? I am using a Dual Comparator LM393 and I do have a Quad comparator (LM339) just in case. Schematic location (it isnt the schematic from the book, but it is the same thing) http://images.google.com/imgres?imgu...icial%26sa%3DG
__________________ MechTronics |
| | |
| | (permalink) |
| Moderator | Ive seen that many times, and I love it! Problem is that it uses a ATMEL. I like PIC. Cool linky though.
__________________ MechTronics |
| | |
| | (permalink) |
| Experienced Member | Hi, Krumlink. I'm mystified as to why he uses six photosensors. I have read a few discussion about designs of line following robots. General concensus usually says only two sensors are needed, and more may just add to design problems. A lot of these designs consist of just two sensors, two transistors, batteries and two motors. That is, one motor per wheel. Each sensor drives a transistor which drives a wheel motor. As long as each sensor detects reflected light, both transistors are on, and both wheels are driven. When the robot wanders across (into?) the line (we're talking black line/white floor), the sensor stops conducting. This leads to the transistor "pinching off" or going open circuit, which limits or kills the wheel motor. Thus, the still driven wheel forces the robot to turn towards the now "dead" side. This brings the sensor back over the floor, so it starts to conduct again. This turns the transistor back on, which now drives the wheel motor,and we're running staright again. Or we overshoot, the other sensor now goes dark, its motor dies... If the design doesn't allow for controlled, gradual speed up/down of the wheel motors, the robot ends up lurching along drunkenly, side to side. You can probably account for this with an RC circuit on each transistor's base. When the sensor "goes dark", the RC circuit bleeds off slowly, thus eliminating completely killing the motor and avoiding the "lurch". There's lots of this on the web, as you already know. This is the minimalist approach. Of course processor controlled contraptions are the only way to go. Later! kenjj
__________________ All my pencils *used* to have erasers! |
| | |
| | (permalink) |
| Moderator | Couldnt I just add a capacitor (10uf or so) across the motor input line? on the drive side not the actual motor lead? Seems like it would still introduce current into the system, making it slowly die off.
__________________ MechTronics |
| | |
| | (permalink) |
| Experienced Member | ![]() I'm working on one of this too.
__________________ May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg Last edited by Wingmax; 23rd February 2008 at 11:51 AM. |
| | |
| | (permalink) | |
| New Member | Quote:
1) Disconnect the motors (Electrically) 2) Use a multimeter to compare the inputs voltages of the comparators. 3) Check this for R5,R6,R7 and R8 on the line and off the line. 4) If the results are not good, the photo resistors might have different resistance values. you might have to change it, or "tune" the circuit by adding trimpots. All the Best!! | |
| | |
| | (permalink) | |
| Super Moderator | Quote:
| |
| | |
| | (permalink) |
| Experienced Member | I know that gearbox ![]() An early Mongoose, showing the 0.1uf caps (yellow) on the motors. Last edited by blueroomelectronics; 23rd February 2008 at 05:53 PM. |
| | |
| | (permalink) | |
| Moderator | Quote:
On-Off When it senses a line (left side) it goes right, and on the right side, left. When it loses sight of the line, it just turns in the opposide direction, making me have to make all the paths go clockwise. I am trying to figure out how to make it have 3 states on-off-on When it senses a line on one side, it goes the other, but when it loses sight of the line, it goes opposite, making it always stay near the line.
__________________ MechTronics | |
| | |
| | (permalink) | |
| Experienced Member | Quote:
Thanks Bill.
__________________ May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg | |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Another Perpetual Motion Machine? MIT Professor Stumped on this one! | Analog | Chit-Chat | 14 | 16th February 2008 10:19 PM |
| Stumped on another BJT problem | jack23 | Electronic Projects Design/Ideas/Reviews | 4 | 17th September 2007 09:50 AM |
| LED light . . . im stumped | zachtheterrible | Electronic Projects Design/Ideas/Reviews | 50 | 1st January 2007 07:11 AM |
| Stumped novice needs advice | Trevor Rymell | Electronic Projects Design/Ideas/Reviews | 25 | 1st September 2005 04:43 AM |
| 3 bit binary input to drive 7 LEDs - totally stumped! | CNO81 | General Electronics Chat | 6 | 25th August 2003 03:13 PM |