top of page

Arduino graph using android app

Updated: Oct 15, 2022




Here is simplest component used and good accuracy for Signal Graph, Voltage and current measured reading value (DC) by using Android Application. In this project Bluetooth is used for serial communication, HC-05 is a Bluetooth device used for wireless communication with Bluetooth enabled devices (like smartphone). It communicates with arduino using serial communication.


Circuit diagram:



Component Required:

Arduino UNO: 1 no

Bluetooth HC-05: 1 no

Potentiometer (Linear): 47K- 1 no

Android Mobile for App


Bluetooth HC_05



Default Bluetooth name of the device is “HC-05” and default PIN (password) for connection is either “0000” or “1234”


Ardunio Analog Read:


Serial reads the value from the specified analog pin. Arduino boards contain a multichannel, 10-bit analog to digital converter. This means that it will map input voltages between 0 and the operating voltage(5V or 3.3V) into integer values between 0 and 1023. On an Arduino UNO, for example, this yields a resolution between readings of: 5 volts / 1024 units or, 0.0049 volts (4.9 mV) per unit.

On ATmega based boards (UNO, Nano, Mini, Mega), it takes about 100 microseconds (0.0001 s) to read an analog input, so the maximum reading rate is about 10,000 times a second.

The analog reading on the pin A0. Although it is limited to the resolution of the analog to digital converter 0-1023 for 10 bits.


Subscribe and Download code.


Arduino Code:

int value_pot0;


void setup() {

Serial.begin(9600);

}


void loop() {

value_pot0 = analogRead(A0);

Serial.println(value_pot0);

delay(100); // It should be slower than the Clock Interval.

}


Circuit Connection for 5VDC range Selection in the Android application:


The 47K Potentio meter center point connected to the Arduino pin A0.

For 110V DC range Selection in the Android application:


The Series 100K with 5K Potentio meter and pot center point connected to the Arduino pin A0.

Circuit Connection for 250VAC range Selection in the Android application:


Circuit Connection for 5amp AC/DC range Selection in the Android application:




Android Application:



Download Code:


Download .aia file:

Subscribe and Download code.


1,664 views2 comments
bottom of page