Let's Make Robots!

crash question

how do you awoid that your robot drive over the cleff, or down the stairs?

Cant find any solution, as it have to know that the edge is there in time to either stop, or drive around it. And right now i cant see any way that ultrasonic, IR or any other sensor that can detect that kind of ting from a distance.

Any1 know how to solve this?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Not sure that IR will work, as you wont be able to get a good readiing from it. As the beam will not be reflected back, will it?

And you have to keep in mind that the robot will be moving.

TeleFox's picture

If you point the IR at the floor ahead of the bot, then you know there's a drop when the IR detector stops seeing a reflection. If the reflection can still be detected, then you know there's more floor ahead.

amando96's picture

exactly, in my robot i'm doing that by using a line detector.

multitasking, cliff detector, and line follower 8) 

rik's picture

I tried the Sharp IR distance sensor on my 1069-e1 (search for it).

It worked. With just one sensor, I was able to detect obstacles in front of the bot. And by tilting down the sensor by maybe 10-20 degrees, I also detected the absence of a floor in front of the bot.

A cliff detector that detects you just went over the cliff, will only be beneficial if your bot lives in RoadRunner's world. Meep Meep!

It did not work perfectly though. But that made for funny video. The fault was in the coding by the way. The sensor worked beautifully.

patrickmccabe's picture
a ir sensor will work, just point it down at a angle.
maneuver's picture

an LDR might work unless your surface is non reflective (matte black).

The most lowtech would be to have a microswitch touching the ground