How to Create a Cheap Obstacle Avoiding Robot using Arduino uno

Hi Everyone and welcome to The Savvy Engineer Community, today’s topic is about how to create your first obstacle avoiding robot using the Arduino Uno board

What is an Arduino

The Arduino Uno is an open-source microcontroller board based on the Microchip ATmega328P microcontroller and developed by Arduino.cc.The board is equipped with sets of digital and analog input/output (I/O) pins that may be interfaced with various expansion boards and other circuits.


What’s on the Arduino Board

The board is equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards (shields) and other circuits. The board has 14 digital I/O pins (six capable of PWM output), 6 analog I/O pins, and is programmable with the Arduino IDE (Integrated Development Environment), via a type B USB cable. It can be powered by the USB cable or by an external 9-volt battery, though it accepts voltages between 7 and 20 volts.

Electrical & Tools 5% OFF. Coupon: CCGEEK

General pin functions;

  • LED: There is a built-in LED driven by digital pin 13. When the pin is high value, the LED is on, when the pin is low, it is off.
  • VIN: The input voltage to the Arduino/Genuino board when it is using an external power source
  • 5V: This pin outputs a regulated 5V from the regulator on the board.
  • 3V3: A 3.3 volt supply generated by the on-board regulator. The maximum current draw is 50 mA.
  • GND: Ground pins
  • IOREF: This pin on the Arduino/Genuino board provides the voltage reference with which the microcontroller operates.
  • Reset: Typically used to add a reset button to shields that block the one on the board.
mini camera drone

The Components You Need to Create This Robot

To Make this Robot you need to buy the following components;


Introduction About Fritzing

Fritzing is an open-source hardware initiative that makes electronics accessible as a creative material for anyone. We offer a software tool, a community website, and services in the spirit of Processing and Arduino, fostering a creative ecosystem that allows users to document their prototypes, share them with others, teach electronics in a classroom, and layout and manufacture professional PCBs.


The Wire Connections Between the Project Components

In this step, you need to follow the wiring connections between components very carefully in order for you to make this robot work correctly.


The Robot’s Code

Download the pdf file which contains the Arduino code then transfer code it to the Arduino board


How to Upload the Code From the IDE to the Arduino Board

In this video you are going to learn how to upload the Code From the IDE to the arduino board.

Thanks For Visitng The Savvy Engineer World!