Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am making an RC car project for my school in which i drive the motors with Arduino and making an Android App to control it.

My question is,how can i read the sensor data i get with arduino(it works on bluetooth terminal so nothing wrong with hardware) on Android Studio?

I can control the motors with Android App but i can't get the sensor data.

Thanks in advance!

share|improve this question
    
There are many types of sensors that measure distance. Which one are you trying to get to work? – st2000 Dec 21 '16 at 21:42
    
Polulu-Sharp 0A41sk analog distance sensor. – Tunc Sahin Dec 21 '16 at 22:02
    
Since you already are getting the data into the bluetooth terminal app, this is an Android Development question, not an Arduino one, and thus off-topic here. Also, Android Studio is not a system or language - it is an IDE, which is to say a glorified text editor, you don't accomplish any runtime task "on" it. – Chris Stratton Jan 21 at 1:19

It is assumed the question is in regards to how to write an Android application which communicates with a Bluetooth device.

This publication (Sending and Receiving Data via Bluetooth with an Android Device) about an Android application talking over a bluetooth link to an Arduino appears to describe what you are asking about.

Also, it can be argued this question has little to do with an Arduino. If we apply this approach to searches we can find many answer to this question. This answer (How to receive serial data using android bluetooth) in another stack exchange forum is a good example of this.

share|improve this answer
    
Yep, see that now, changed answer to reference a PDF about Android program which talks over Bluetooth to, interestingly enough, an Arduino. – st2000 Jan 21 at 12:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.