Learn how to program your Arduino chip using an Android device

During your previous career in electronic engineering or derivatives, when building electronic circuit-based projects, you needed to deal with a lot of viable parts that needed to be welded to connect with each other, but after a while the Arduino chip came to the rescue and save you the trouble of connecting, And reduce the possibility of sabotaging pieces that were and still expensive!

If you are a student who has implemented projects using the chip, you must have used the development environment of your free and open-source  Arduino IDE chip so far, and we hope you stay openly free! But what will you do if your computer is not always at your fingertips, and you want to implement an idea?

Now you can program your Arduino chip using your mobile phone simply and flexibly! Thanks to the amazing OTG cable, you can simply use this cable to connect the Arduino chip to your smartphone, and with an application, you can accomplish this task…


At first, you need an Arduino chip, and there are different types of chips you can choose the appropriate chip for your project, a mobile phone supported Android operating system, and supports the operation of the cable OTG, and installed the application ArduinoDroid and OTG cable.

Most of the services available in the original development environment are now in the mobile application. You can open and edit pre-existing codes or offices, in addition to the display in different colors for easy tracking of the source code, and certainly the feature of translating the code and uploading it to the Arduino chip for the implementation of the electronic project.

If you don’t want to watch the ads and pamper yourself a little, feel a little extravagance by enjoying many other services such as: Very special, take advantage of this bundle of premium services that make your work a lot easier.

Let’s start by downloading the ArduinoDroid app, find the app in the play store, and install it on your mobile phone.

The main UI

The application interface is a bit clear and arranged in an orderly and comfortable to the viewer, and the user will have a nice experience for the simplicity of design, it contains at the top a set of clear icons of the appropriate size, and includes many options such as: Save the project if we want to complete later, and the translation option. Ensure that the source code is correct and by the rules, and the project lifting icon for the Arduino chip, as well as a console screen for monitoring and watching the output.

Then most of the remaining space is dedicated to editing source codes and codes, as well as a dedicated tab to search next to the editor in case we want to search for something specific in the code we are working on, and at the bottom is the output screen and the location of the error messages, if any.

The first step 

In the beginning, we open the application as in the following picture, and you can write the code of your e-project in the place of editing appropriate to write codes.

This in-app editor is very similar to the code editor that you use on your computer.

The second step

Then click on the Sketch option from the side menu, then choose the Examples option so we can choose the right example from among the ready examples shown.

The third step

We connect our Arduino chip using the USB cable of the chip with the OTG cable connected to our mobile device and then choose the Arduino type, then the tuning option, then the chip type.

In the Arduino development environment, we usually click on upload to upload the code to the chip. Therefore, our code is automatically translated using the compiler, and then uploaded to the slide, but here we have to click on the option to translate the code to make sure it is a valid and effective code, and you can see the result of the translation of the code.

The fourth step

When the translation process is complete, the code to be run is intact and there are no errors in the code and we are sure that our work is correct, you must click the Upload option to upload the code to the Arduino chip, as in the following image. That is, it does not automatically translate and upload it to the slide, but we must do the two steps separately.

Once the project has been uploaded to the chip, it will give us a notification at the bottom of the screen that our operation has been successful.

Remember that you do not need any external power supply for the Arduino chip, it will consume the necessary electrical power from your mobile phone when you connect the chip to the phone using an OTG cable.

This is a convenient, practical and free solution, of course, to apply our ideas in a fast and flexible way without the need to carry our computer wherever we move. immediately.