Let's Make Robots!

W.A.R --- Wandering Autonomous robot is a socially interactive robot which shows different behaviours under different circumstances. The main behaviour of this robot are:

* Obstacle avoidance

* Light following

* Food seeking (Light source in this case)

* Prey & Predator behaviour

* S.O.C - State of charge monitoring

* Charging - through solar panel

1--- So here it is how its gonna work, initially when u gonna switch on this robot it will scan and mapp the arena with help of SONAR and servo then it starts wandering in the arena randomly while avoiding obstacles and walls of the arena. One good thing about this robot is that its very fast in its decision making as it does not stop and scan to decide which way to turn. Its mapping and scanning while its wandering.

2--It has 6 different movement and turning plans. It can move forward can also move backwards if the object is to near or a dynamic object start coming closer to it. It can take 90 degrees or 45 degrees turns on either side depending upon the position of the obstacle.

3--So while wandering its continously monitoring its state of charge to know its battery level which i have implemented using couple of resistances and voltage division rule. And measuring the voltege using analog pin of the arduino. Once that battery level drops below a point which i have set in programming. its priority changes and now it will start lookinf for its food which in my case is Light source.

4--- It will move towards the Light source while avoiding obstacles. so its kindda tricky algorithm have to keep shifting the priority as if an obstacle came in its way while searching the light source now first it has to avoid that obstacle and then conitnue its search.

5-- Once its close to the light source where its getting the maximum amount of intensity on its LDR its stop there and charge itself through solar panel until its battery level is up again.

*The first video showing obstacle avoiding behaviour.

http://www.youtube.com/watch?v=O6hpfHQ-F2Y

*Second video Showing object following behaviour and prey & predator behaviour

http://www.youtube.com/watch?v=ORDur5Ghq50

* Third video showing Food seeking beahviour.

http://www.youtube.com/watch?v=5kR4vFLT3os

* Fourth behaviour showing dynamic light following behaviour in a dark room.

http://www.youtube.com/watch?v=hnBy_-RD5_Q

* Fifth video Showing Combination of two Behaviours Obstacle Avoidance + Food Seeking.

http://www.youtube.com/watch?v=D0uAAGxPiYg

Comment viewing options

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

awesome job.  I am having some trouble with my code. i map the IR but how did you map the sonar? i like the non stop factor.. please help with my code.

 

I dont want to really paste on here cause i have an idea i would like to perhaps market soon. 

ignoblegnome's picture

Very nice work!

bilal.ahmad.21's picture

thanks =]

Thomas143's picture

awesome job.  

bilal.ahmad.21's picture

am working on to add one more behaviour these days which is sound localization

that whenever i clapp or whistle robot detects a certain frequency sound it turns it heads towards the sound source while wandering .

Lets see how that turns out to be.

lumi's picture

Nice description and well done videos. We like that here at LMR, so we can see all the details.

 

ChuckCrunch's picture

nice work on combining  behaviors  . 

bilal.ahmad.21's picture

=]

ChuckCrunch's picture

i always found it a changeling to combine behaviors. i get lost in the when and why the robot should express a behavior, my efforts just combining 5 distance sensors have been less than successful ( 4 IR and 1 Ultrasonic )  so good job 

bilal.ahmad.21's picture

well, it took me 4 months to build this bot with all these behaviours. so nw for arranging all the stuff in an order and uploading them gonna take few days. =]