Go Down

Topic: Control android via bluetooth (Read 317 times) previous topic - next topic

1soproni

Dec 16, 2017, 08:27 pm Last Edit: Dec 17, 2017, 06:34 pm by 1soproni
Hi there,

Is it possible to control android phone with arduino via bluetooth?
I would need it for my project (https://hackaday.io/project/28150-jvc-to-clio).
I would like to get the contacts from the phonebook then initiate and hang up calls. Audio would go to a head unit in the car also via bluetooth.
How should I start?

Robin2

#1
Dec 16, 2017, 09:10 pm Last Edit: Dec 16, 2017, 09:11 pm by Robin2
You would need a program running on the phone to receive and act on commands received via bluetooth.

And you should not be using a phone while driving !  Give at least 100% of your attention to the task of driving so that the chance of killing anyone is minimized.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

1soproni

I don't think that I need a program on the phone. My JVC stereo can do everything what I want without any app on the phone. But I have to push the buttons on the JVC. My car has built-in steering wheel control. I would like to use it.

JVC does not support phone features via the "steering wheel remote" cable. That is why I want to solve it with arduino+bluetooth.

Robin2

I don't think that I need a program on the phone. My JVC stereo can do everything what I want without any app on the phone. But I have to push the buttons on the JVC. My car has built-in steering wheel control. I would like to use it.
When you have figured out how all that works let us know and we will help with the Arduino part of the programming.

My bet is that if your stereo is capable of making your phone do stuff it is because there is an app on the phone that it connects to.

I would hate to think that any passer-by could make things happen on my phone just by pressing buttons on their stereo.


...R
Two or three hours spent thinking and reading documentation solves most programming problems.

1soproni

I'm sure that is no app on my phone related to it. I'm sure that JVC use standard HFP and PBAP bluetooth protocols.
Can I use the same protocols with a HC-05 or 06 module? Which modules support them?

Nick_Pyner

I think you are right in that you do not need an android app to connect to the the phone. You do need one to do anything else on your android device. What you seem to want is nothing more than a bluetooth extension of the like that is in a car radio, and that includes the contact list, which can be transferred, by the phone, from the phone to the radio. I think you can forget the HC-0x for this as they are plain vanilla SPP devices. You need something rather more sophisticated.

Go Up