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
42 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
19 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
162 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 ...
0
votes
0answers
73 views

Mini USB Host Shield external power supply problem

I'm trying to use the Mini USB Host shield with the USB Host Shield 2.0 library running on an Arduino Pro Micro 3.3V. shield: https://opencircuit.nl/Product/13307/Mini-USB-Host-Shield arduino pro ...
0
votes
0answers
106 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
70 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
1answer
51 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
240 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 ...
0
votes
0answers
222 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
101 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 ...
0
votes
1answer
148 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
736 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
1answer
56 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
151 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
4k 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 ...
2
votes
1answer
33 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
47 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 ...
1
vote
0answers
1k 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 ...
0
votes
2answers
124 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
470 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 ...
-1
votes
1answer
191 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.
0
votes
2answers
9k 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 ...
0
votes
2answers
663 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); ...
-1
votes
2answers
213 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 ...
0
votes
2answers
55 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 ...
1
vote
2answers
841 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 ...
1
vote
0answers
266 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 ...
0
votes
0answers
41 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
9k 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-...
5
votes
3answers
3k 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 ...
0
votes
2answers
167 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
417 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 ...
1
vote
1answer
104 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 ...
2
votes
1answer
675 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
174 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 ...
2
votes
2answers
630 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 ...
1
vote
0answers
411 views

I can't receive data from Arduino through Bluetooth

I am developing an app that controls an Arduino robot. For that I need to communicate through Bluetooth. That means sending and receiving data. Why receiving? Because I also have sensors on the robot. ...
0
votes
1answer
3k views

Using SIMCOM SIM800 as a Bluetooth SPP Client

I just bought a SIM800 module for my Arduino project and I found that I supports Bluetooth too. I have already worked with HC-05 and my Android phone. I tried to play with this module and able to ...
0
votes
1answer
653 views

Can't read two bytes through Serial.read - Arduino

I'm sending via Bluetooth with an Android App two bytes like this: private void _sendCommand(byte command, byte arg) { if (CONNECTED) { try { os.write(new byte[]{...
2
votes
2answers
118 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 ...
0
votes
1answer
2k views

Arduino Mega 2560 and Android USB OTG serial communication

currently I am building a little project based on the Arduino Mega 2560. My goal is to send some data gathered by some sensors to an Android phone. It has to be as basic as possible. Buying new ...
2
votes
1answer
11k views

Sending data via bluetooth

I am trying to both send and receive data using bluetooth module. Receiving data works fine with this code: void setup() { Serial1.begin(9600); Serial.begin(9600); } void loop() { if ...
-1
votes
1answer
194 views

arduino usb android controller

i am pretty much newbie with arduino and want to start my first project so i may be asking stupid questions. My goal is to make usb controller for android tv (running on raspberry pi or s905). I want ...
1
vote
0answers
4k views

How do I solve error 516 : Broken Pipe with HC-05 and arduino? [closed]

I am doing an LED project from howtomechatronics.com . It is to control and LED by pressing the on and off buttons on an Arduino Bluetooth terminal app. I am using the app made by the ...
0
votes
1answer
215 views

How can I interface HMC5883L compass board to a smartphone with OTG?

Friends... I have an idea to attach the compass sensor (HIMC5883L) with my android smartphone using arduino, but I don't clearly know how to do this. I mean I want to make an OTG compass for ...
1
vote
0answers
86 views

How to get power for a nexus 7 while reading serial data from an arduino over usb?

Does anyone know how to simultaneously power a Nexus 7 tablet while simultaneously reading serial data from an arduino over USB? I have had quite some trouble with this and have attempted multiple ...
-1
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
47 views

Arduino recorder Wi-Fi device [closed]

I wish to build a simple headless device, powered by a 9 V battery that allows a person to speak into it upon touch. The device would then capture to allow "speech to text" functionality and, ...