Everyone knows how to write and Upload Source Code into Arduino Boards by using official Arduino IDE software tool on a computer, but I can guess that not all of you have heard about Programming of Arduino Board by using a smartphone. In this tutorial, we are going to discuss that how to compile and upload your project source code into any Arduino board direct from Android based Smartphone, indeed this is a great news for all Arduino Lovers.
- Arduino Board ( UNO, MEGA, NANO, PRO E.T.C)
- On the Go – OTG cable ( Plays a Vital Role to create a communication path between Arduino board and your smartphone)
- Arduino USB cable
- Android Based Operating Device
Step 1: In the very beginning we need to install an Application ” ArduinoDroid” into our Android Device from Google PlayStore | Click Here to Install Application
Step 2: You will see a shortcut on your home screen Once You Successfully install Application on your Device. Next step is to open the application and you will see a window like this as shown in the below image, In this window, you can write your own code or simply get example codes from the menu (shown by three dots on an upper right corner).
Step 3: In a DropDown Menu you can find a lot of stuff related to Arduino Programming such as writing New Sketch, adding examples to sketch and libraries.
Step 4: Connect your Arduino board to an Android device with the help of OTG cable and select your Board type inside setting for recognition.
Step 5: Here we are going to Upload a simple Source Code of LED BLINKING project to our Arduino Uno board, we can get blinking led sketch easily from examples. Once you successfully add a sketch to Working space, we need to compile our code first before uploading into Board, click on compile button as shown in the below image to see the status of you code at output window, if the compilation is ok and there is no error in source code then we are ready to click on upload button otherwise we need to correct error in our source code.
Your program is successfully uploaded as you can see in the output window. As soon as its get uploaded you will see onboard LED will start blinking.