There’s so much you can do with an Arduino board, it’s almost impossible to run out of projects. If you’re looking for some inspiration, we’ve got you covered!

One popular use of Arduino boards is DIY robots, and there are so many Arduino-compatible accessories that can be used to help these little machines avoid obstacles (distance sensors, for example).

Here, we’ve gathered the best obstacle-avoiding robot projects. All of our items bring their own special features to the table, so there should be something to interest every maker. Without further ado, read on and get making!

Back to Contents

1
Obstacle-Avoiding Robot Using Arduino: Best Projects

The Classic

Start with the basics
Start with the basics (Source: Alfa via Hackster.io)

The best way to go is to always start with the basics. This is the classic Arduino robot with an ultrasonic sensor for its two eyes, and you can find the necessary traction elements such as wheels and motors available as a kit. There are many versions of this robot available online, but this one is a great starting point because it explains in great detail both the electronics and the programming behind it.

The project covers fundamentals such as electric pulses and on/off diagrams. It also offers a wiring diagram and explains the variables and code used. If you’re still a beginner at Arduino, this can be a great starting point for obstacle avoidance.

Back to Contents

Advertisement
Advertisement
Advertisement
2
Obstacle-Avoiding Robot Using Arduino: Best Projects

Self-Balancing

Only need two wheel if you have equilibrium
You only need two wheels if you have equilibrium! (Source: Axbri via Thingiverse)

As we mentioned, every item on this list has a special feature that makes it unique from the rest. In this case, we have a typical avoidance robot like the last one, but with a clever self-balancing ability added.

Contrary to the previous project, this robot uses only two driven wheels and removes the need for a caster wheel to keep the car balanced. Instead, this project adds an extra component, an accelerometer, and some code in order to discard the caster wheel and make the system automatically balanced.

The chassis is 3D printed, but if you don’t have access to a printer, try Craftcloud by All3DP.

Back to Contents

Advertisement
Advertisement
Advertisement
3
Obstacle-Avoiding Robot Using Arduino: Best Projects

Line Follower

Follow your dreams like a line follower
Follow your dreams like a line follower (Source: speedkornet via Thingiverse)

If you’re familiar with robotics competitions, this project is a classic. It consists of a line follower, which is a robot that uses sensors to continuously search, identify, and follow a trajectory on the floor marked by a dark line. Simultaneously, it uses sensors on its front to find nearby objects in its trajectory. If an object is blocking the line it has to follow, the robot will detour around the object, then find the line once again and keep on its merry way.

This is another robot with a 3D printed chassis, but you could also try to manufacture it some other way, like with woodworking or CNC machining, as it’s essentially a flat platform. You can find the Arduino code as a Zip file among the printing files on Thingiverse.

Back to Contents

Advertisement
Advertisement
Advertisement
4
Obstacle-Avoiding Robot Using Arduino: Best Projects

Object-Avoiding Arm

Not everything has to go on wheels
Not everything has to go on wheels (Source: Marcos Soares and Ricardo Boinho via Arduino Project Hub)

This is a different approach and system compared to what you typically find in obstacle avoidance. Instead of a car, in this case, we have a robot arm that takes an object from a starting point to a finish point. Here’s the magic: if it finds objects blocking its movement in the middle, it can re-route a path to avoid it and still reach its destination.

This project is also interesting because it introduces people in a very simple way to finite-state machines, which can be useful for anyone looking to create their own machines in the future. The creator takes the time to explain in great detail how the FSM approach works and how it’s used to create this system.

Back to Contents

Advertisement
Advertisement
5
Obstacle-Avoiding Robot Using Arduino: Best Projects

Project MODI

Let it roam around, it won't crash!
Let it roam around, it won't crash! (Source: andr9e via Arduino Project Hub)

You might have had this toy as a kid, and now you can make one for your own kids (or your grown-up self). This robot roams around in a random direction, detects if there are things in front of it, and avoids them.

However, it has an added bonus feature: It can detect if it’s horizontal to the floor, in which case it will start moving, but if it’s tipped over, it will sense this and immediately stop. You’ll need to buy the robot chassis, mount an Arduino on top, write a few lines of code, then you’re good to go!

Back to Contents

Advertisement
Advertisement
6
Obstacle-Avoiding Robot Using Arduino: Best Projects

Stair-Climbing

Not even stairs can stop it
Not even stairs can stop it (Source: Dominic Robillard via Hackaday.io)

This is a very smart robot that can detect obstacles, then just go over them. Why would you need to avoid an obstacle, if you can see it before you bump into it, then just climb over it? This robot can go over objects it encounters on its path but also change directions. And if that weren’t enough, it can go up and down stairs, and it auto balances.

If an object is narrow, like a rock, it will go around, but if it is wide, like a step, it will use the auxiliary sticks it’s equipped with to climb its way up. As for going down, it can just fall slowly and bounce a little.

Back to Contents

Advertisement
Advertisement
7
Obstacle-Avoiding Robot Using Arduino: Best Projects

Obstacle Avoiding Drone

It will never crash into a tree again
It will never crash into a tree again (Source: Stephan via Hackster.io)

Have you ever been afraid that your drone will crash into a tree and be ruined forever? Don’t worry, luckily you also know Arduino. This project is a different interpretation of “robot” and a little more on the advanced side, but if you manage to pull it off, it’ll be quite an impressive result.

It uses lidar scanning technology to make your drone detect and avoid objects in real-time as it flies, which helps preserve the life of your object, gives it independence, and gives you bragging rights.

Back to Contents

Advertisement
Advertisement
8
Obstacle-Avoiding Robot Using Arduino: Best Projects

Lego

Some blocks and an Arduino and you're good to go
Some blocks and an Arduino and you're good to go (Source: BrownDogGadgets via Instructables)

If you like creating electronics, 3D printing, or machines, you probably grew up thinking Lego was a really cool toy. Thanks to technological advancements and people’s creativity, nowadays you can use Lego to create real moving machines. Don’t have a 3D printer to print a base for your robot? Don’t want to purchase the kit? No problem! Just use some bricks and Lego wheels and you’re good to go.

This project is essentially the classic, but instead of needing an acrylic chassis, you can make your own with LEGO bricks. The creator provides the instructions to assemble it, fit the wires, and all necessary adjustments.

Back to Contents

Advertisement
Advertisement

License: The text of "8 Great Obstacle-Avoiding Robots Using Arduino" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.

Stay informed with notifications from All3DP.

You get a notification when a new article is published.

You can’t subscribe to updates from All3DP. Learn more… Subscribe to updates

You can’t subscribe to updates from All3DP. Learn more…

Advertisement