Robot with Arduino Uno, Sharp IR sensor, for obstacle recognition

preview_player
Показать описание
A weekend project, an Arduino based 2-wheel robot with IR sensor to identify and avoid obstacles. Like coffee!

Robot scans the environment and stops in front of obstacles. Then looks in both directions to find a free way to turn too.

Stuff used:
- 1 x Arduino Uno
- 1 x Arduino Motor Shield to drive 2 DC motors
- 1 x Servo for moving the IR sensor
- 1 x Sharp IR Sensor with range 20-150cm
- Some foamboard and 2 wheels

Arduino code is very simple at the moment, only about 50 lines.
Рекомендации по теме
Комментарии
Автор

can you use the IR to make a 3d map of the environment? Perhaps for 'the most direct route' or other sort of scripts?

AlexanderHL
Автор

Hi, I am going to build my first Arduino robot and I am confused between 2 wheel drive and 4 wheel drive option. It seems like 2 wheel drive is easier to turn, but my aim is to load more feature/hardware and 4 wheel drive seems to offers bigger frame. What would you advise should I go for 2 wheel drive or 4 wheel drive? many thanks

shwarz
Автор

Can you send the code so I can tried it on my robot project ...

damionlawrence
Автор

hey, i would like to ask for help if possible:
for my project i use 2 sharp sensors, (ranges 100-550 and 20-150 GP2Y0A02YK0F) building kind of guiding device/obstacle detector for blind. unfortunately both sensors have the same ‘problem’ i can’t fix. as you can see from the datasheet, the output as a function of distance is parabola - therefore every output voltage may have 2 options for distance. despite the fact i want to use only the range 100-550 (for ex.), the sensor does also react to 0-100 giving different outputs which may be interpreted as other distances leading my blindman to hit the wall or something.. . i’m using the sensors with Arduino, and can’t find a way to handle this double values problem.
will be very very grateful for solutions or ideas Gary

GermanDT
Автор

Plz, share the coding, fortunately we have the same hardware! thx...(Y)
I've made the arduino robot I think it will work as I hope, but apparently it's not precise in avoiding the obstacle. most of get bumping first before avoid the obstacle in its working, oh... silly robo! can solve the solution, plz.!

lurkingcorsa
Автор

is there anyway for me to have the code?

kevlafrance
Автор

Please send me the code for your robot many thanks!

justinrhodes
Автор

hi, can you send to me the codes of your robot? thanks..

Emmanuel
Автор

Come on guys stop begging for code, He clearly doesn't want to share it.

rexfarell
Автор

Very cool!  We built a similar project.  However, we installed an Android device onto a RC car and used an IOIO board instead to control it autonomously. Here is the preliminary result:

abencomo