How to program Arduino with android smartphone.

Hey guys,
  As you know we use official Arduino IDE or Arduino web editor  to program the Arduino. But do you know that we can also program the Arduino using android Smart phone . Sometimes we don’t have any PC or laptop to program our Arduino boards. We can still program it using our Android mobile using OTG (On the Go) adaptor or cable.this method helps to edit or upload any program in arduino while its in fixed condition and no need to carry laptop for that i.e; big led light boards.

You can do much more things other than powering up your Arduino board with Smart Phone. In this tutorial, we will compile and upload Arduino code using Android Application called ARDUINODROID .




Materials Required For Tutorial:

  1. Arduino Board( Uno recomonded) 
  2. OTG  cable or Adapter
  3. Arduino USB cable( type-A to type-B) 
  4. Android Device
Let's start with downloading the App arduino droid
Step 1: Download the App from the link given below or simply go to play store and search for ArduinoDroid and install it.

Step 2: Open the app after installing. It will look like as shown in image below:

you can write your own code in editor window or simply get example codes from menu option


Step 3: You will find Sketch option in Dropdown menu as shown below. In sketch menu, there is Examples option, click on it.



In this menu you will find some useful examples as are available in Arduino IDE. Choose the example skethches you want to upload inside Arduino. we will upload "Blink" program in arduino
Step 4: Connect your Arduino board with Android device using USB cable and OTG.
Step 5: Choose your board from Setting > Board Type.

we have to compile program first by clicking Compile button as shown below.

You can see status of compilation in Output window.
Step 6: Once your compilation is completed, click on Upload button 

Your program is successfully uploaded as you can see in output window. As soon as it gets uploaded you will see on board LED will start blinking. You can even upload bigger size programs using android like pc.

Check the video given below :

No comments:

Powered by Blogger.