Big Bertha - Obstacle avoidance

Posted on 24/09/2012 by louisdeves
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

Hi all! So, this is my second robot, not finished yet. Like the first one, the structure is made with knex and the controller is an arduino uno. This time it uses an infrared sensor moved with a micro servo to check distances, and the 2 back wheels are powered wih separated DC motors. The 2 DC motors are controled via a module (bought all mounted) using a double H-bridge (L298), which allows changing direction and speed of the 2 motors separately.     Update 07 october: Structure changed ...


Big Bertha - Obstacle avoidance

Hi all! So, this is my second robot, not finished yet.

Like the first one, the structure is made with knex and the controller is an arduino uno. This time it uses an infrared sensor moved with a micro servo to check distances, and the 2 back wheels are powered wih separated DC motors. The 2 DC motors are controled via a module (bought all mounted) using a double H-bridge (L298), which allows changing direction and speed of the 2 motors separately.

 


 

Update 07 october:

Structure changed completely (was too heavy with all the batteries, wasnt strong enough).

Added pizeo buzzer when starts.


 

Current problem : when arduino is powered through a usb cable, it works, but when powered with batteries, it acts strangely : the wheels don't go in the right direction and it doesn't change speed or direction when obstacle are met. I really don't see what's the reason why it doens't act the same way when it's powered with usb or batteries.

 


 

Update 14 october : By switching batteries (so now, 6AA for arduino and 4AA for the motors), no more problem. A few interferences, easily deleted by adding capacitors in parallel with motors.

Changed also the algortihm, now the robot (almost) never gets stuck --> check videos.

 


Next project : add bumper sensors (like simply two switches), make the robot learn by himself how to use the datas coming from the infrared sensor to avoid obstacles, that is to say, avoid that the bumpers bump. I know it's gonna be difficult and maybe I won't succeed but I want to try.

 

Navigate around with infrared sensor

  • Actuators / output devices: 2 dc motors, 1 micro servo
  • CPU: arduino uno
  • Power source: 4 AA batteries for motors, 6 AA batteries for arduino
  • Programming language: Arduino C
  • Sensors / input devices: 1 Sharp InfraRed Sensor
  • Target environment: indoor
Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post