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
13
votes
8answers
8k views

Is it possible to upload a program from a tablet?

Is there any easy way to upload a program/sketch from an iPad or Android tablet without adding extra an shield (Bluetooth or Wi-Fi)? If not, can it be done using shield? Which shield is preferred? ...
9
votes
5answers
1k views

How do I write an Arduino sketch and an Android application to talk to each other over a standard USB cable?

How do I write an Arduino sketch and an Android application to talk to each other over a standard USB cable?
7
votes
3answers
6k 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 ...
6
votes
4answers
4k views

How to connect Android phone to Arduino?

Is it possible to connect an Arduino to an Android Phone and use it for input/output? Are connections possible over USB? Or do I need to have a wifi or Bluetooth shield?
6
votes
1answer
936 views

Programmatically Upload Arduino Sketch From Android App

I am attempting to build an Android app from which I can can upload a .hex file to my Arduino(Leonardo). I am aware of a few apps in the Google Play store that are capable of this functionality but I ...
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 ...
5
votes
2answers
390 views

Simple Arduino Bluetooth Shield Android Display [closed]

I need help with my Arduino code. Here is my setup: LM35 connected to Arduino with output connected to Analog 0. Temperature computation work and serial monitor displays the correct reading. I want ...
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 ...
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 / ...
3
votes
2answers
11k views

How to create a serial communication connection between Cubieboard running Android and Arduino

I am connecting my Arduino to my Cubieboard that is running Android. I tested this originally with my android tablet and USB cable. This worked successfully for the most part using the firmata kit ...
3
votes
0answers
1k views

Arduino sketch works on ATmega1280, but doesn't work on ATmega328 (Arduino Nano)

I'm working on arduino based RGB LED strip controller. This simple schematic was used to control 12V channels via 5V PWM signal from arduino: I have also connected an HC-05 bluetooth module to be ...
2
votes
1answer
5k views

Arduino server to read from multiple clients

Socket programming question here. My interface comprises of an Android device(client), A wireless module hosting an access point, and an Arduino Uno(server). My Android client class works when 1 ...
2
votes
2answers
787 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 ...
2
votes
5answers
5k views

Android <-> HC-05 <-> Arduino communication issue

My project involves Android (Samsung Galaxy 2) to Arduino (Uno) communication via HC-05. HC-05 is connected to Arduino on pins 10,11 using SoftwareSerial lib. I got this setup running for a while ...
2
votes
1answer
13k 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 ...
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 ...
2
votes
2answers
650 views

Is it possible to transmit Longitude and Latitude via RF433MHz?

I want to make a drone project, and to that I will use arduino as the platform. My plane is to use a Play Station controller to control the Drone in the air. In addition to that I want to connect a ...
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 ...
2
votes
0answers
328 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 ...
2
votes
0answers
436 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. ...
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
0answers
98 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 ...
2
votes
0answers
618 views

Arduino + Web Service [closed]

I am doing my CBT, and i need help... I need a Webservice in C#, and it will send commands to my Arduino( Mega 2560 + Ehternet Shield )... My Webservice will recibe commands from Android and Web ...
2
votes
0answers
249 views

How can I automatically start a LAN connection?

I have a Samsung Galaxy Note 10.1 with JuiceSSH installed. I also have Debian Linux installed via chroot. I'll be ordering an Intel Galileo to use as a portable compilation server. I have an ...
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 ...
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 ...
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-...
1
vote
1answer
1k views

Input audio from jack to Arduino, and output by

I've never used Arduino but I know a few of its utilities. I want to input audio from a Jack cable (analog) and be able to send it via Bluetooth, or Wi-Fi, or USB to an Android Phone and being able ...
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 ...
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
1answer
289 views

Configure HC-05

I am trying to send/receive data from Android to my Arduino (via a HC-05) and later from Arduino to Android. I have configured my HC-05 as slave, and the UART=9600,0,0.... To send data from Android to ...
1
vote
2answers
198 views

Controlling bigger motors with an arduino board

i am german and my english is not the best, anyway i hope you will understand my problem. At the moment i construct a little car with some friends. We have still completed the frame and now we think ...
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 ...
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
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 ...
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 ...
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
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 ...
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 ...
1
vote
1answer
5k 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 ...
1
vote
1answer
185 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 ...
1
vote
1answer
888 views

Can Android phone can be used instead of( or with) Arduino as controller?

I am Android application developer and I want to modify regular toy RC car which can be controlled by Android phone. I want to use 2 Android phones: 1 as remote controller, 1 as controller in RC car. ...
1
vote
1answer
432 views

Controlling DC motor from Android device

Ref: https://robotics.stackexchange.com/q/8526/11146 I want to build a simple android controlled robot I will connect android phone<usb>arduino<wire>motor controller<wire>dc motor ...
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
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
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 ...
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 ...