Arduino & ESP32 programming with Android

Seamless Arduino & ESP32 Code Uploads via Arduinodroid Android app

Jeet Solanki
3 min readDec 31, 2023

Table of Content:

1. Prerequisites

2. Installation & Setup

3. Process

4. Summary

1. Prerequisites:

Before diving into the exciting process of uploading code to your ESP32 / Arduino using your Android phone, ensure you have the following:

  • Microcontroller board : Make sure you have board name with model (ESP32,Arduino Uno, Arduino nano etc…)
  • USB cable : You need a cable to connect the phone with the board

2. Installation & Setup:

Setting up your environment is crucial for a smooth code upload. Follow these steps:

A. Install ArduinoDroid App: As it is not available on the playstore, it can be installed from the browser by searching Arduinodroid

Arduinodroid app icon

B.Configure ArduinoDroid: Open arduinodroid app > Settings > Board type > Select board accordingly

  • Here I’m using ESP32 wroome Settings > Board type > ESP32 > ESP32 Dev Module select and ok
Select board Accordingly
For Esp32
Use according and ok

3.Process:

  • Open or type your code.

(I’ll go with the internal led blink test code.)

#define ONBOARD_LED  2

void setup() {
pinMode(ONBOARD_LED,OUTPUT);
}

void loop() {
delay(1000);
digitalWrite(ONBOARD_LED,HIGH);
delay(100);
digitalWrite(ONBOARD_LED,LOW);
}
  • Now save and compile code, then make sure the code is compiled without error.
Code Complied Successfully
  • Now, connect your phone with your microcontroller and upload code.
Code upload completed
  • After code upload completion, verify that you see the onboard LED blinking on and off (on my board. The LED is blue)
Light blink on ESP32

4. Summary:

Uploading code to your ESP32 / Arduino with your Android phone is a convenient and efficient way to develop IoT projects on the go. With the ArduinoDroid app, the process becomes streamlined, allowing you to code, compile, and upload directly from your mobile device.

In conclusion, this guide has covered the prerequisites, setup, and step-by-step process for uploading code to your ESP32 / Arduino using an Android phone. Embrace the flexibility and mobility this method offers for your next ESP32 / Arduino project.

Happy coding!

--

--

Jeet Solanki
Jeet Solanki

Written by Jeet Solanki

Passionate programmer who combine tech to develop innovative technology

No responses yet