Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 22nd February 2008, 02:28 AM   (permalink)
Moderator
 
Blog Entries: 1
Krumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of light
Send a message via Skype™ to Krumlink
Default Well I'm Stumped!

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
Krumlink is online now   Reply With Quote
Old 22nd February 2008, 02:55 AM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

I can't help with your problem but as you mentioned ASAP, I thought you might like this.

Mike.

Last edited by Pommie; 22nd February 2008 at 04:26 AM.
Pommie is online now   Reply With Quote
Old 22nd February 2008, 03:12 AM   (permalink)
Moderator
 
Blog Entries: 1
Krumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of light
Send a message via Skype™ to Krumlink
Default

Ive seen that many times, and I love it!

Problem is that it uses a ATMEL. I like PIC.

Cool linky though.
__________________
MechTronics
Krumlink is online now   Reply With Quote
Old 22nd February 2008, 03:24 AM   (permalink)
Experienced Member
kjennejohn has a spectacular aura about
Default

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!
kjennejohn is offline   Reply With Quote
Old 22nd February 2008, 03:26 AM   (permalink)
Moderator
 
Blog Entries: 1
Krumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of light
Send a message via Skype™ to Krumlink
Default

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
Krumlink is online now   Reply With Quote
Old 23rd February 2008, 11:08 AM   (permalink)
Experienced Member
 
Wingmax is just really niceWingmax is just really niceWingmax is just really nice
Default



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.
Wingmax is offline   Reply With Quote
Old 23rd February 2008, 12:59 PM   (permalink)
New Member
allbits is on a distinguished road
Default

Quote:
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
It might be because your sensors cannot "sense" the line properly.
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!!
allbits is offline   Reply With Quote
Old 23rd February 2008, 04:49 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by kjennejohn
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.
I would disagree, two is the absolute minimum you can use - using more (while technically more complex) gives much better performance (faster, smoother, more reliable).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd February 2008, 05:47 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

I know that gearbox You should add a 0.1uf cap across the motor leads as close to the motor as you can get.

An early Mongoose, showing the 0.1uf caps (yellow) on the motors.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 23rd February 2008 at 05:53 PM.
blueroomelectronics is offline   Reply With Quote
Old 23rd February 2008, 07:04 PM   (permalink)
Moderator
 
Blog Entries: 1
Krumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of lightKrumlink is a glorious beacon of light
Send a message via Skype™ to Krumlink
Default

Quote:
Originally Posted by allbits
It might be because your sensors cannot "sense" the line properly.
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!!
Thats not the case. It works just fine, the problem is that it has two states:

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
Krumlink is online now   Reply With Quote
Old 24th February 2008, 01:22 AM   (permalink)
Experienced Member
 
Wingmax is just really niceWingmax is just really niceWingmax is just really nice
Default

Quote:
Originally Posted by blueroomelectronics
I know that gearbox You should add a 0.1uf cap across the motor leads as close to the motor as you can get.
An early Mongoose, showing the 0.1uf caps (yellow) on the motors.

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
Wingmax is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 05:54 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.