In this article we will learn how to make an obstacle avoiding Robot ourself,I have listed some steps in making it below. Materials 1.arduino Uno 2.motor driver 3.switch 4.servo motor 5.battery connector 6.wheel 7.ultrasonic sensor 8.four DC motors. Now the steps: Step 1: making the chasiss The chassis is the frame work of any robot i made mine from plywood so if you can't get that you can use a thick cardboard or cartoon. Step 2 : connections (a)Gum the Arduino uno to the chasiss with either a gum or a double sided sticker (b) connect by plugging the motor driver to the Arduino. (c) also gum the motors to the chassis. (d) connect the motors ,servos,sensor and the driver to the Arduino by following the circuit diagram below B You can upload the code below to the Arduino Uno board. # include <AFMotor.h> # include <NewPing.h> # include <Servo.h> # define TRIG_PIN A4 # define ECHO_PIN A5 # define MAX_DISTANCE 100 # define MAX_SPEED 80 // sets speed of ...
H ow to program an arduino with a smartphone Before, we can only program an arduino with a laptop or desktop computer ,but most hobbyist doesn't can't afford to buy one but thanks to the new era of Technology we can now program our board with our smart phone any where we like and at any time.To program an arduino you need to download Arduino droid or arduino commander from the Google play store, I prefer arduino droid to Arduino commander because of it flexibility and ability to understand.To start coding with your phone you need a knowledge of c++ language,the Arduinodroid is both a compiler and an editor that is you can compile your skecth right after writing it. How to program with your smartphone . You will need an OTG cord to connect your Arduino to your phone for skecth uploading since the arduino cord can't directly connect to it.you can only use an android phone with version 2.0 or higher. When trying to upload your sketch the board will feed current from your phon...