http://www.youtube.com/watch?v=PunHtW_nRoE
What you need for experimentation and development: Android phone, such as Bluetooth module (HC-05), Atmega microcontroller, PIC, Arduino, a device that has a serial communication.
What does this program: Allows your microcontroller serial communication with the Internet.
So that the microcontroller can now: send and receive email, send and receive text messages, making calls, sending and receiving data on the Internet using the HTTP protocol, receiving instant messages via Google Cloud Messaging Service.
GCM messages can be sent from another Android phone using my other program:
http://play.google.com/store/apps/details?id=gcm.controller.serial
Commands that will be sent to the serial port:
After each command response is "ok" if delivered free.
At the end of the command is recommended to send a CR , LF ( chr ( 13 ) , Chr ( 10 ) ) , but not necessary .
When data is received to indicate the end of the message is LF ( Chr ( 10 ) ) , and you can go out and the timeout , eg if 2ms no data on the serial port all arrived .
1. "read mail " - only gmail ( in Bascome Print "read mail"; )
Checks to see if there is new mail address to receive e-mails ( mail and password are entered on android )
If there is no new mail response is "no mail "
if the error code reading - "error mail"
if you have new mail response mail content (body ) . If you send in the form of text ##text message## then the answer is "text message"
2. "read mailx,[email protected] ,password" - only gmail
If there is no new mail response is "no mail "
if you have new mail response mail content (body ) . If you send in the form of text ##text message## then the answer is "text message"
3. "send mail,subject,message" - for example "send mail,rehearsal,this is the message"
Send a message to a predefined email with predefined mail - mail and password entered on android
If the message is sent , the answer is : "mail sent"
If not sent "mail error"
4. "send mailx,mail that I send,via mail by sending,password,subject,message" - just over Gmail
Example: "send mail,[email protected],[email protected],password,this is a subject,this is the message"
If the message is sent , the answer is : "mail sent"
If not sent "mail error"
5. Sending and receiving data via HTTP to a Web server
way first "log,?variable=21.6" - the android is defined by the rest of the http address ,
eg: http://site.com/logdata.php/ , when connected = http://site.com/logdata.php/?varijabla=21.6 ( logdata.phph - file on your server )
Temperature 21.6 is sent to the variable "variable" in "logdata.php " file .
Route 2 "logx,http://site.com/logdata.php/?varijabla=21.6"
6.Receiving text message - when you have received it automatically arrives via serial .
7.Sending text message : "send smsx,number,message" - "send sms,0981234567,this is the message"
8.Sending text message : "send sms,message" - "send sms,this is the message " - the number to which the message is sent in android
9.Nazivanje with a cell phone : "callx,the number of" - "call,0981234567"
10.Nazivanje with a cell phone "call" - "call" - the number that call is in android
11.Request number of sms sender "sms number" - the number of the sender sends free SMS messages . ( those who arrived on Android )
12.Sending messages via Google Cloud Messaging service.After registration for GCM in the application (enter an username and password and clicking on Register.
It is possible two-way communication GCM messages between two android phones.
To send a message from another GCM Android mobile phone, the browser or PHP program: http://tamponsms.com/sendGCMx.php/?username=yourusername&password=yourpassword&message=yourmessage
The message will be delivered via a serial connection for a few seconds.
If GCM send a message via the serial from your device back to the Android mobile phone which is managed by:
If the message is sent successfully answer is: "gcm sucess"
If sending failed "gcm error"
This version of Arduino Serial bluetooth GCM Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of Arduino Serial bluetooth GCM Android App, We have 1 version in our database. Please select one of them below to download.