Arduino Graph Using Android App Via Bluetooth
by RameshDofbot in Circuits > Arduino
68 Views, 0 Favorites, 0 Comments
Arduino Graph Using Android App Via Bluetooth
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.
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. }