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 27th March 2008, 06:36 PM   (permalink)
New Member
fuper is on a distinguished road
Default Detect Edge of Table

Hello,

For my first robot I am planning on making a small little guy that can scoot around the table, detect an edge, back up turn around etc.

I'm thinking of using a regular infrared emitter/detector that I picked up from radio shack.

From what I understand so far, I think I use my PIC/555 to set the frequency to 38k. If I pick up a response from the detector, I infer that the signal was bounced and therefore there is something close by. If I don't detect a signal, in the case of the IR pair being over an edge then I should respond to that state accordingly.

Is this the correct approach?
fuper is offline   Reply With Quote
Old 27th March 2008, 09:57 PM   (permalink)
Experienced Member
 
ikalogic is just really niceikalogic is just really niceikalogic is just really nice
Send a message via MSN to ikalogic Send a message via Skype™ to ikalogic
Default

mhh.. you said you'r firt robot right?.. well you'r quite ambitious! just kidding (but not too much! it is still very likely that you will discover that you under estimated that project)

For the 38Khz, well, as you are going to use a micro controller, you can save space/money by letting your micro controller generate that frequency. recent 8051, AVR and PIC micro controllers can do that.

good luck! and keep us posted though!
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Old 27th March 2008, 10:50 PM   (permalink)
New Member
fuper is on a distinguished road
Default

Hah! Ya I even focused on trimming down my goals. I think I can pull it off. Radio Shack has a 38k IR receiver which I will give a shot. I will just use the 555 or more likely my pic to generate the signal. I'll just test the sensor first then move on from there. Should be a fun project.

For the body I am seriously thinking of using an old 1U fan heat sink I have, and dremel out the middle fins. Gives me a metal body and a reason to dremel something since it's still in the box. Will build the sucker on a small breadboard that should fit snugly inside. I have a couple of 100 ma motors, again from Radio shack. Only thing now I'm debating is if I should build my own h-bridge (might do that just to get some experience) or go buy a low current IC driver chip.

I'm tempted to not even use a microcontroller for my first robot and just use a comparator to make the little guy turn when one of the sensors goes off. Will see.

Fuper
fuper is offline   Reply With Quote
Old 27th March 2008, 11:12 PM   (permalink)
Experienced Member
 
ikalogic is just really niceikalogic is just really niceikalogic is just really nice
Send a message via MSN to ikalogic Send a message via Skype™ to ikalogic
Default

not using a micro controller will just make it 10 times harder, and you will lose a looooooooooot of time, and afterall, you'r gonna learn uC anyway..! so what not now!
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Old 28th March 2008, 03:48 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

You can take a microswitch with a roller at the end and flip it upside down and have it depressed in so when it goes off the table, you have NO or NC to deal with
__________________
MechTronics
Krumlink is offline   Reply With Quote
Old 28th March 2008, 04:57 AM   (permalink)
New Member
fuper is on a distinguished road
Default

I like it, thanks!
fuper is offline   Reply With Quote
Old 14th April 2008, 05:04 PM   (permalink)
New Member
billericayboy is on a distinguished road
Smile Roomba

Have you looked at how iRobot have kitted out their Roomba with 4 downward facing IR tranmitters and receivers to detect the floor. If the flood disapears the Robot stops and reverses.

Just what you were looking at.
billericayboy is offline   Reply With Quote
Old 14th April 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

With a DIP switch, you have no worries about noncontact issues. Say if you were riding over a very IR absorbing material (black carpet how wierd it is) it would send a false reading.

Direct contact is usually the most reliant.
__________________
MechTronics
Krumlink is offline   Reply With Quote
Old 18th April 2008, 02:05 PM   (permalink)
Experienced Member
 
Norlin is just really niceNorlin is just really niceNorlin is just really nice
Send a message via ICQ to Norlin Send a message via AIM to Norlin Send a message via MSN to Norlin Send a message via Yahoo to Norlin Send a message via Skype™ to Norlin
Default

unless you have a tiled table! maybe it would lose contact in the grooves
Heh, one of my early little robot is still one of my favorites from the book "Junkbots, Bugbots & Bots on Wheels" called a "Herbie Photovore" for which you can probably find circuits on the net. Has two light sensing "eyes" and drives around heading towards the strongest light source. It has a "feeler" on the front, so if it bumps into something, it backs up and then drives on again.
Norlin is offline   Reply With Quote
Old 26th April 2008, 10:59 PM   (permalink)
New Member
tank1357 is on a distinguished road
Default

Ambitious using infrared to detect the edge on your first robot! In my personal experience, infrared can be a bit difficult to work with. Not only can it pick up interferences, sometimes it'll tell you theres notrhing there when there is, and vice versa. Until you learn how to program/tweak around this, I'd stick to touch sensors, allow something to run along the ground in front of you, and as soon as it drops slightly, it depresses the sensor. In addition, this same sensor and bumper can be used to detect if you run into anything. That way, you'll be able to use the same program and equipment for avoiding falls and walls.
tank1357 is offline   Reply With Quote
Old 26th April 2008, 11:02 PM   (permalink)
New Member
tank1357 is on a distinguished road
Default

along those lines, LEGO makes some great sensors, touch, infrared, temperature, rotation, you name it. Always reliable, durable, and cheap! Pretty hard to ruin durring testing if you accidentally overload it. I'd sugest testing with these, then switch to a more sensitive instrument.
tank1357 is offline   Reply With Quote
Old 27th April 2008, 01: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

This thread is old, besides the original poster only was on for this. He decided to go with (I think) the micro switch, as it is very easy to interface. Problem with legos, is then you have to get a bunch of stuff to use it, ex bricks rods etc. Lego's are also not very integratable nor versatile. the touch switch is not great either.
__________________
MechTronics
Krumlink is offline   Reply With Quote
Old 27th April 2008, 04:39 PM   (permalink)
New Member
tank1357 is on a distinguished road
Default

yeah, but one great thing about threads like these is that they can give other people ideas for awhile after the OP is done with them. Even though i just joined, I've been visiting this site for a while now. Towards the lego bit, I'm talking about completly canibalizing them. Cutting the wires comming out to hook up to your application, hotglueing the sensor, even removing the housing. And the touch sensors are highly reliable, even if they do need to be fully depressed in order to send a signal.
tank1357 is offline   Reply With Quote
Old 28th April 2008, 01:20 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

Quote:
Originally Posted by tank1357
yeah, but one great thing about threads like these is that they can give other people ideas for awhile after the OP is done with them. Even though i just joined, I've been visiting this site for a while now. Towards the lego bit, I'm talking about completly canibalizing them. Cutting the wires comming out to hook up to your application, hotglueing the sensor, even removing the housing. And the touch sensors are highly reliable, even if they do need to be fully depressed in order to send a signal.
It's just easier to buy a dedicated microswitch, you can even get them with rollers.
__________________
MechTronics
Krumlink is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
General Purpose X-Y-Z Table Controller crashsite Electronic Projects Design/Ideas/Reviews 15 12th March 2008 02:53 PM
How to properly do PCB edge connections in Eagle? toodles Electronic Projects Design/Ideas/Reviews 2 10th April 2007 10:35 PM
PIC: Table lookup across page boundary eblc1388 Micro Controllers 11 16th August 2005 02:42 PM
18F Lookup Table Cose Snippet [ASM] pittuck Micro Controllers 0 14th December 2004 07:40 AM
Lookup table for LCD and 7 segment display patricktran Micro Controllers 3 23rd April 2004 01:43 PM



All times are GMT. The time now is 05:55 PM.


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