Control smartphone with arduino

Hi,
Can I write a program and load it in arduino which can control a Smartphone or to send and receive data from smartphone ?
Please I need your help.
Thanks.

Can I write a program and load it in arduino which can control a Smartphone or to send and receive data from smartphone ?

Yes. You have our permission to do so.

Now, if you want any help, you'll need to define which smart phone you want to talk to, how you intend to talk to it, what you intend to say to it, and/or what you intend to have it ask of the Arduino.

bahri:
Can I write a program and load it in arduino which can control a Smartphone

Controlling the phone might be a bit of a tall order, most people use the phone to control an Arduino

or to send and receive data from smartphone ?

That can be easy, dirt cheap, and is very commonplace. Probably the easiest, cheapest, most common way of doing this is by Bluetooth with an Android phone. It is my standard method for collecting concentrated and immediate data. It is not so easy and not so common to do this with an iPhone. I understand it is not impossible either but you need to do some careful research on that. It may turn out to be simpler to get an Android just for this purpose.

Here is some background on this, just for newbies!, that you might find useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf

http://homepages.ihug.com.au/~npyner/Arduino/BT2way.ino

Hello

Perhaps isn't the right place to post this... but... I don't know where to put it...

Few months ago, I've bought the following bluetooth module - 'JY-MCU'
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=230735842973&ssPageName=ADME:L:OU:ES:3160

I usually use it to stablish communication between Arduino and my Laptop, without any problem.

It happens that now I'm trying to develop an application to communicate between my Android phone (Samsung Galaxy Mini GT-S5570 with Android 2.3.6) and Arduino.
The Android phone don't detect the bluetooth module...

I've tried to pair an 'AEG Glamour'-'bluetooth module', detects the module, ask the code, but it seems that also doesn't pair, because the red light don't stop blinking...

With my Android phone I can pair with my laptop, iPod and even with my Bose Mini SoundLink, but not with Bluetooth Module Slave.

So perhaps I'm missing some configuration on my Bluetooth Module Slave or some protocol... I really don't know...

Please let me know
Thanks on advance
Best regards
Pedro Ferrer

Since you have used the bluetooth with a laptop OK, I assume you know what you are doing, and I don't think you are missing any configuration or protocol. The only exception to this is just a guess. I reckon the device you have is an ordinary HC-06, but it has been fiddled with to run at 115200. All my bluetooth run at the default 9600 and are OK with Android. I have never seen any way to set the baud rate in Android. Maybe it's an automatic setting but, if it isn't, I guess your problem lies there.

Note that there are some compatibility aberrations. I had despaired of ever getting my crappy ICS tablet to work with my HC-06 but I recently found it works just fine with an HC-05. I have no idea why this should be.

Hello Nick

Thanks by your answer.
So, can you suggest me a specific non troubleshooting 'bluetooth module' ?

Thanks on advance
Pedro Ferre

Not "specifically", I am just recounting what happened - without an explanation. I have never heard of anybody with the same problem and I'm putting it down the the tablet rather than the HC-06. My HC-06 works perfectly with my phone but I would not buy another. I would get an HC-05. They are about the same price, $7..

I think you should check out the baud rate bit before you rush out and by another module.

Hi PaulS and thank you for your responses,
I have to connect a tablet android ( version 4.2.0 ) with arduino Uno via USB.
I download and install many apps on my tablet and i like to control them ; for exemple with a program charged on Arduino, is that I can open or close app charged on tablet or is that i can control the tablet camera with an arduino program ?
Best regards .
Thanks.

I have to connect a tablet android ( version 4.2.0 ) with arduino Uno via USB.

This is not going to be as easy as you think. First, the Arduino is a USB slave. You need a USB master (Host) to control a slave. The tablet is unlikely to act as a master in this context.

So, you need a USB Host shield and to be prepared to write some drivers (or a Mega ADK that this capability built in, using supplied libraries).

Then, the Arduino will be able to communicate with some application on the tablet - not ANY application on the tablet. It will be up to the application that the Arduino talks to to start/stop/otherwise diddle with other applications on the tablet.

You'd need to write that application. Given the kinds of questions you are asking here, it seems unlikely that you possess the knowledge or skills needed to do that.

Guys I have the same doubt can I control any one function or open anyone app of an android phone using arduino????