简体   繁体   中英

How to acknowledge arduino using an LED when a call recieve in smartphone

I'm completely new to the arduino controlling and programming.

I want to get signal my android smartphone , When a call receive to smartphone I want to acknowledge my Arduino uno board by blinking a LED.

Then if I want to take a call using a physical button I have to answer the call or reject it.

Simply I want to send digital signals from my smartphone to Arduino board and I want to receive the analog button press as response to the phone call(Whether answer/ignore)

I connect phone and Arduino via Bluetooth

This is the Where I have struggling right now.

I need some help on this please!!

It just so happens that I wrote an answer that fits this question a couple of days ago here , this is an edited version of it:

You'll have to buy a module to allow the Arduio to communicate via bluetooth. An example of such a module is the HTC-06, wich can be bought online for less then $10 and for which there is an exellent tutorial over at instructables .

The phone side of the story is explained here , in the official Android documentation. It is sometimes convenient to test with a terminal on your phone, I used this one . I have some code laying around that can send some data between the Arduino and my phone, I can post it later today if you'd like that.

Alternatively, if you don't want to write everyting yourself, you can use an app like Tinkernut does is one of his videos .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM