Questions tagged [android]

For questions about communication or data transfer between Arduino and Android devices. General Android questions can be asked on Android.SE.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

What is the highest baud rate that can work between Android device and an Arduino connected to an HC05?

I see a lot of baud rates in the AT Command documentation for the HC05 however I am not sure what is the fastest that can work between the Arduino controlled embedded system and the Android phone. I ...
1
vote
1answer
21 views

Arduino esp8266 some times data will not be sent to thingspeak.com

I have made an arduino IOT that sends temperature data to thingspeak and works fine . Now I have two questions 1- In spite of active wifi connection from esp8266 toward the web , but why sometimes ...
2
votes
3answers
1k views

How to control android app with arduino

I'm trying to connect Arduino Leonardo to an Android tablet. I would like to make the Arduino send commands (using pushbuttons or a slider for example) to the tablet to switch between pages, to select ...
0
votes
0answers
76 views

BLE HM10 - Set Password - Android Pairing Problem

I have developed an application on Android, which connects to a Bluetooth HM10, launches commands, and turns LEDs on and off through my Arduino. All of this works properly. So, I want to make ...
0
votes
0answers
28 views

Can ESP32 used for mobile game controller?

I have a term project: I need to develop a mobile game(Guitar Hero Like rhythm game) probably on Unity and I need to develop a custom controller for this game that works on android device. There will ...
1
vote
0answers
15 views

Can I Control My Android Game with Arduino Gamepad

I have a project that I need to make a game(guitar hero like rhythm game) on unity for android and develop a custom controller for it that works on mobile game. I decide to use Arduino and hc05 module ...
1
vote
1answer
231 views

HC-05 connecting to Arduino

I have been looking through StackExchange, and searching on the web and cannot find an answer to my issue. Setup: Arduino Nano 168 HC-05 VERSION:3.0-20170601 I am trying to connect my Android phone ...
0
votes
1answer
1k views

Arduino-Bluetooth HC-05 Android app blueterm connection for chatting

I want to communicate between an arduino and an Android phone that has an Android app blue term. I connected HC-05 with Arduino using software serial and I connected the hc05 as a device with the ...
1
vote
0answers
55 views

How to install ch340g driver in android

I recently bought a new Arduino Uno and it works on ch430g. I want to code it using android coz I don't have a pc is there any way to install ch430g driver for android Note: it's a clone
1
vote
0answers
62 views

ESP32 captive portal not working with private IP address for android

For the initial settings of WiFi cerdentials and configuration on a standalone device (ESP32), I try to implement a captive portal using the CaptivePortal example for ESP32 DNSServer (see original ...
1
vote
2answers
13k views

HC-05 Bluetooth Module Blinking Red Light-Arduino Uno

I have looked on google for an answer to my problems to no avail. The you tube video I am following is here: https://www.youtube.com/watch?v=f1v0IMegCvU So basically on my android, I can't see the HC-...
4
votes
1answer
899 views

Unable to receive SMS on Android

I have a GSM/GPRS shield for Arduino. It uses a SIM800 from SIMCOM. I've done several projects using it. Previously I used to send SMS from the same module. which were delivered appropriately. Since ...
0
votes
1answer
24 views

Use Android on Arduino TFT

I don't know whether this is possible or not but is there any way that I can run something similar to Android on a normal TFT. I want to make complex graphics but can't program those complex programs ...
1
vote
1answer
38 views

Wrong data receiving in my Arduino by bluetooth

I have programmed a client-server between an Arduino and my mobile app in Android. I´m using a buetooth HC-06. For the moment is a very basic code just to turn ON/OFF a led, regulate its voltage, and ...
-1
votes
1answer
46 views

Bluetooth: read a user provided value and then obtain time from an Android phone

I'm new to Arduino and try to accomplish following 2 things (via Bluetooth module connected to an Android phone): read an integer value provided by user. obtain current time from the phone (the ...
0
votes
0answers
65 views

Android arduino Serial Communication between Wemos D1 R2 & Mini using OTG

I actually have been successful in doing the android arduino serial communication. Now, I want to shift my arduino circuit to Wemos D1 & R2 mini. Because of that reason, I want Android arduino ...
0
votes
0answers
575 views

HM-10 BLE controller is not responding to some AT commands

I have HM-10 BLE controller and it is not responding to some AT commands which I need to use. AT commands which don't work: AT+TYPE2 returns +TYPE=0 AT+VERR? not responding AT+VERS? not ...
0
votes
1answer
54 views

Receiving multiple Values from android via Bluetooth [duplicate]

my question is, how can I receive 3 integer values in Arduino, which I send from my android phone. I send all 3 values at the same time and I also need to read them in about the same time. I hope you ...
-1
votes
1answer
187 views

upload sketch via bluetooth for android

How can i convert file .ino to hex file so that i can compile new sketch via bluetooth. Can you help me to figure out the way to do this? thanks for helping
1
vote
0answers
382 views

ESP8266/Android app: slow response when using soft access point and keeps dropping connection

I have an ESP8266 which I'm using the Arduino IDE to compile a program which uses soft access points to talk to an Android App compiled using MIT App Inventor. The app seems to work the first couple ...
1
vote
0answers
263 views

requires 18 bits to represent, but 'int' only has 16 bits [-Wshift-overflow=] #define htons(x) ( (((x)<<8)&0xFF00) | (((x)>>8)&0xFF) )

I am doing smart room automation system. I am getting this error when I tried to compile the code and also just for the test I tried to ping one LED when I switch ON it LED is becoming on but when I ...
1
vote
0answers
63 views

Need Help for Home Automation Based on Arduino + Ethernet Shield using Android studio

My project is Smart Room based on Arduino using android studio. Project scope is to control room appliances like fan, door, light. I have completed all the code as below and connected Arduino Uno with ...
0
votes
1answer
1k views

Receive multiple data from arduino using String builder

I am working on a small project where I have to read data from different hardware and display it on android app. I am using arduino Uno to get the values from a sensor and a motor and I use a ...
0
votes
1answer
1k views

Sending Integer > 1 Byte from Android to Arduino over Serial

I´m using public abstract void write(int b) throws IOException; from class OutputStream on Android Studio to sent Integer (degrees from 0 to 360) to the Serial Port of my Arduino over HC06 ...
1
vote
0answers
39 views

Can connect to esp8266 AP which is connected to Arduino UNO but no response

I am new to arduino and am trying to connect the esp8266 to arduino UNO and send commands to the arduino using an android phone. I have double, triple checked the connections and I am sure they are ...
1
vote
0answers
68 views

Cannot make sense of values from Bluetooth HC-01

I have a simple script that listens on pin 0 for input, and if it gets anything, it Serial.prints it. But I cannot make sense of the results. I have a basic app that sends text over Bluetooth (in the ...
5
votes
1answer
2k views

A proper way to get the roll, pitch and yaw values

TL, DR : What is the method(in terms of sensors and algorithm) to get the roll, pitch angles of an aircraft at any instant. I am planning to build a hobby aircraft. I am so confused about which kind ...
1
vote
0answers
378 views

Sending sensor data from Android app to arduino via USB Serial

I've searched this and have only found solutions for receiving data FROM Arduino TO android, I need the opposite. I basically need to figure out how to press a button from my android phone that will ...
1
vote
1answer
280 views

Arduino USB host + RS232

I'd like to get a word of advice regarding the subject. Basically there's a COM port based device which I need to connect to an Android tablet via USB. The tablet will be exchanging data packages with ...
0
votes
2answers
3k views

Esp8266 server unreachable. Port doesn't open

I have followed all the instructions provided on http://allaboutee.com/2015/01/20/esp8266-android-application-for-arduino-pin-control/ I have got the correct setup, I have got the message "Server ...
0
votes
1answer
1k views

Esp8266 not responding to GET request from Android app created using MIT App Inventor

I hope I am posting this question in the right section. I am making a Smart Home Project for my college semester finals. I am using an Atmega328p microcontroller along with an ESP8266 (Esp 01). The ...
1
vote
0answers
388 views

HC-05 sending data to Android a value but it cracked out of its form

I am totally beginner but I am trying to finish my project as school work :-( but from the beginning, I am really stuck. Could anyone help me out? #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
1answer
218 views

Connect a button to bluetooth board and comunicate with Android

I want to create a small device, just a button that sends its status to an Android application through Bluetooth. I bought a Bluno Beetle, but the information it exposes to Bluetooth cannot be ...
1
vote
1answer
61 views

Arduino program has suddenly stopped updating

I am writing a speedo/odometer program which was all working beautifully until I introduced an LCD screen and code for the LCD. The screen works on power up, displays the distance recorded on an SD ...
0
votes
1answer
299 views

Serial communication between a single Android device and multiple Arduino boards [closed]

I am thinking about a project, but I will need let's say two Arduino Uno. I can see that we can just use different USB ports on a PC, but what about an Android device? I want to "run commands" from ...
1
vote
2answers
1k views

Why can't my bluetooth receive serial data from my android phone, but can send serial data from my bluetooth to my android phone?

I can receive serial data from my phone but I can't send serial data to the arduino using bluetooth. I can see my input from serial monitor to my Android but not the other way. I'm using ARF7044A ...
1
vote
2answers
1k views

How do I make the HC-05 bluetooth module take data from the HC-SRO4, and then send it to my Android app?

Currently, I have an Arduino Uno set up, with a HC-SRO4 ultrasonic sensor printing distances of objects in front of it on a scale from 1-15 to the serial monitor. I want to attach the HC-05 bluetooth ...
0
votes
1answer
200 views

Problem connecting Android app to Arduino [closed]

Sorry for doing this, I really don't know where to post beacuse this is both Android Studio code and Arduino code so I've posted to both sites. I want to create a project of using controlling pan-...
0
votes
2answers
7k views

Receive data from Arduino board to Android application

I'm trying to receive data and print it on a label of my application, but I can not get it. Actually, I have 0 experience with Arduino. It's the first time I see this. I read this tutorial to receive ...
0
votes
2answers
64 views

Android as sensor hub [closed]

Generally an Android phone has all the basic sensors like accelerometer, light, proximity, magneto, gyro, sometimes pressure etc. So is there a way to use Android's built-in sensors with an Arduino ...
2
votes
2answers
128 views

Using Arduino to pass data from a coin collector to android app [closed]

Okay. Basically I want the android app to be able to recognize that a coin was inserted into the coin collector before it allows the user to use certain functions of the app. However I am unsure ...
2
votes
1answer
35 views

Can you make it so, when your phone connects to the Hc-05 on a Arduino, a variable changes?

So whenever my phone gets close, and it connects to the Hc-05, the Arduino changes a variable? I want to avoid the use of apps, where the user has to do anything after first time connecting. The ...
1
vote
1answer
62 views

Control/Interacting with Android OS using Arduino board

I am new to arduino, and based on my search, it is possible to connect Android devices and Arduino board thru bluetooth module. But most solutions i found are either for controlling Arduino board ...
3
votes
1answer
11k views

How do I view Serial Output on an Android Device?

Within the Arduino IDE Serial.* output can be viewed with Tools / Serial Monitor. How can I view Serial.* output on an Android? As a concrete example, how can I view the output from Examples / ...
2
votes
0answers
2k views

Send Bluetooth Data to Android App (HC 05)

I'm struggling to send data strictly from my arduino UNO to an android app using bluetooth module HC 05. I am able to send/receive using 1) the serial monitor in arduino IDE and 2) Bluetooth Chat ...
1
vote
0answers
46 views

Arduino - IR firing problem

I am trying to build a mobile application which will be capable of firing different channels via Bluetooth HC-05 and Arduino UNO. We are getting IR codes from Android to Arduino through Bluetooth and ...
1
vote
2answers
13k views

Change the baud rate of HC-05

#include <SoftwareSerial.h> SoftwareSerial BTSerial(10, 11); // RX | TX void setup() { pinMode(9, OUTPUT); // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode ...
1
vote
2answers
150 views

How to make a smooth serial print?

I have a code which make some calculations using sensor values and provide two comma separated values. float x;// initialization float y;// initialization //some calculations here using sensor values ...
0
votes
1answer
712 views

LSM9DS1: Inconsistent data from an accelerometer

I'm currently getting inconsistent data from the accelerometer of my Adafruit LSM9DS1. To be more precise I either get a value close to the correct gravity (eg. 9.496515) or some reading like it was ...
0
votes
1answer
228 views

How will Arduino sketch and Android app communicate over GPS? [closed]

How will I make Arduino with GPS communicate with an Android app? I just need this for my school project.