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
1 vote
0 answers
28 views

Is it possible to control android accessibility with arduino nano?

I am trying to build an ACC device. when a button is pressed the changes should be made via android accessibility mode. I am using arduino nano, and I don't know how to control android using arduino.
user avatar
1 vote
0 answers
338 views

Using BLE via NRF24L01 to communicate with Android phone

I have been going through a tutorial about this, based on the example code for the "BTLE" Arduino Library. This is my program: #include <SPI.h> #include <RF24.h> #include <...
user avatar
1 vote
1 answer
125 views

Send packet of multiple sensors data to Bluetooth module

In my project I am using 3 sensors. I am sending a regular stream of sensors data to Bluetooth module but now I want to send data in form of packet (which may be 30 bytes or 40 bytes of size) in ...
user avatar
-1 votes
1 answer
582 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 ...
user avatar
1 vote
0 answers
51 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 ...
user avatar
1 vote
0 answers
121 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 ...
user avatar
1 vote
0 answers
424 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 ...
user avatar
  • 181
2 votes
0 answers
435 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 ...
user avatar
  • 131
0 votes
1 answer
37 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 ...
user avatar
1 vote
1 answer
118 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 ...
user avatar
-1 votes
1 answer
96 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 11
-1 votes
1 answer
298 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
user avatar
1 vote
0 answers
549 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
0 answers
43 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 ...
user avatar
1 vote
0 answers
171 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 ...
user avatar
5 votes
1 answer
3k 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 ...
user avatar
  • 165
1 vote
0 answers
447 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 ...
user avatar
1 vote
1 answer
343 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 ...
user avatar
  • 125
1 vote
1 answer
498 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
1 vote
0 answers
408 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 ...
user avatar
0 votes
1 answer
249 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 ...
user avatar
  • 1
0 votes
1 answer
340 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 ...
user avatar
1 vote
2 answers
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 ...
user avatar
1 vote
1 answer
72 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 ...
user avatar
1 vote
1 answer
211 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-...
user avatar
0 votes
2 answers
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 ...
user avatar
  • 111
2 votes
1 answer
37 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 ...
user avatar
  • 23
1 vote
1 answer
98 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 ...
user avatar
  • 111
2 votes
0 answers
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 ...
user avatar
  • 121
1 vote
2 answers
178 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 ...
user avatar
  • 11
0 votes
1 answer
831 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 ...
user avatar
0 votes
1 answer
236 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.
user avatar
1 vote
2 answers
15k 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 ...
user avatar
0 votes
2 answers
1k views

#Ardunio Send Float values with bluetooth.print in arduino

I have been creating the example for bluetooth communication with arduino with hc_05 Problem I am facing are below. String statuss= "1.00,2.00,3.00"; bluetooth.print(statuss); Serial.print(statuss); ...
user avatar
-1 votes
2 answers
242 views

Arduino: Camera streaming [closed]

I want to make Arduino to stream video by camera thru bluetooth to android. Is Arduino powerfull enough to stream it without lag(Sorry if the question is stupid) Are there any good cameras, I have ...
user avatar
1 vote
2 answers
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 ...
user avatar
2 votes
0 answers
355 views

Triggering actions in Android smartphone via Bluetooth from Arduino

Am working on a wearable using Arduino Micro and I am thinking it would be cool if I can trigger some events in my smartphone using Arduino. Say for example a button press in my wearable should ...
user avatar
1 vote
2 answers
15k 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-...
user avatar
  • 86
7 votes
3 answers
8k views

How to know positive and negative in breadboard

I have this breadboard, and there is no indication on it about what is positive/negative on it. In comparison, this other breadboard (pic from the internet) DOES have indications: Can anyone give ...
user avatar
  • 354
0 votes
2 answers
206 views

Arduino Uno with UsbSerial Android library w/ baud rate over 9600?

I am having no issues talking to Android at baud rate of 9600. But once I raise the baud rate to anything higher Android seems to become deaf. When I try to read the Serial output using putty all ...
user avatar
1 vote
1 answer
6k views

Control Android Camera using Arduino over Bluetooth

I want to Control Android Mobile Camera shutter using Arduino over Bluetooth. So i can click photos using arduino. I have HC-05 Bluetooth Module and Arduino Nano/Arduino leonardo. The Connection as ...
user avatar
0 votes
1 answer
563 views

Data sent via UART Bluetooth different than SerialMonitor

I am using a 9-axis accelerator on an Arduino Uno (Atmega 328P processor) with a BLE Nordic rRF8001 chipset. I am trying to send the accelerometer data via bluetooth to a smart phone (android). The ...
user avatar
  • 3
1 vote
1 answer
195 views

Is it possible to digitally stop a moving motorbike using an Arduino module?

I am working on a bike protection project that is supposed to be part of my CS syllabus. Although I got most of the things worked out, there is one thing that bugs me; that is to how to stop a moving ...
user avatar
4 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
208 views

BLE Shield v2.1

I have an Arduino Mega 2560 and a BLE Shield v 2.1 from RedBearLab. When I try to connect it through Bluetooth from my laptop to 'BLE Shield', it says 'Connected!'. When I try from a Windows phone, it ...
user avatar
  • 1
2 votes
2 answers
824 views

Arduino audio frequency reader

I have a simple project for my arduino : light some leds when i send a certain frequency from my smartphone through the jack output . For example , I play a simple audio file generated with a ...
user avatar
  • 23