PIC32BLUE (Bluetooth control) 1.0 Icon

PIC32BLUE (Bluetooth control)

D Gardner Tools
3.7
3 Ratings
1K+
Downloads
1.0
version
Sep 21, 2015
release date
158.9 KB
file size
Free
Download

What's New

About PIC32BLUE (Bluetooth control) Android App

This application allows you to connect to your microcontroller using a serial Bluetooth module to send messages or commands to or from your Android smartphone. See example below for text message command and microcontroller code.

Simply send a message to the microcontroller and you can program any reaction that you would like.

PIC32BLUE Features:
★Send information to a microcontroller.
★Receive information from a microcontroller.
★Microcontroller can make your phone talk.

PIC32BLUE+ Features:
★Everything mentioned above.
★The plus version supports text message abilities.

You can setup the microcontroller to periodically send messages to your Android device through Bluetooth in a chat like form. The chat will be cleared after exiting and closing the application.

You can have the application running in the background by tapping the home button on your device and the app will maintain a connection running in the background.

Tapping the back button within the application will close and disconnect from the Bluetooth device if it is connected.

Note:

There are two versions of this application. The only difference between them is that one supports text messaging functionality and one does not.

PIC32BLUE+ supports text messaging so that you can have the microcontroller text another phone number with a message if you would like by using a special command or another phone can text your phone to have your Microcontroller do a task, like displaying a new message on a LCD.

PIC32BLUE only supports Bluetooth communication only (no text message ability).

This application was made to function with a HC-06 Bluetooth device and others may work but have not been tested.

Example of command to that is sent to device with PIC32BLUE+ installed (this will forward your message to the microcontroller):

:PIC:Hello, Microcontroller

Or

:pic:LightOn


Example of the Microcontroller telling your phone to text another phone:

:PICSMS:XXXXXXXXXX:Hello, from Microcontroller

Or

:picsms:XXXXXXXXXX:The Light is on.

Where the XXX’s is the phone number you are having your phone text. You must include the “:” colon at the end of the phone number also. Note No spaces for phone number and colon.

This application will never send out a text message or forward a command to your microcontroller unless the specific command is included in the message, place at beginning of message.

For the microcontroller to send a text message from your device you must include:

:PICSMS:XXXXXXXXXX:

Or

:picsms:XXXXXXXXXX:


For the phone to forward the received text message to your microcontroller you must include:

:PIC:

Or

:pic:

This application will never send out a text message or forward a command to your microcontroller unless the specific command is at the beginning of the message as seen above.

You can also make your microcontroller have your phone talk out loud using the :TALK: or :talk: command.
For the microcontroller to have your Android phone talk out loud you must include:

:TALK:

Or

:talk:



// Microcontroller code example
//Change delay times if needed
String inputString ="";
int incoming = 0;
void setup ()
{
delay(15);
Serial1.begin(9600);
delay(50);
}
void loop ()
{
if(Serial1.available()>0)
{
while(Serial1.available()>0)
{
incoming = Serial1.read();
delay(1);
inputString += char(incoming);
}
delay(2);
//must be exact spelling
if(inputString == "Cool")
{
//add code here
}
if(inputString == "Respond")
{
Serial1.println("Okay.");
}
if(inputString == "Talk")
{
Serial1.println(":TALK:Hello, world.");
}
if(inputString == "TextOutgoing")
{
Serial1.println(":PICSMS:XXXXXXXXXX:Replace X's with phone #.");
}
}
inputString ="";
delay(50);
}


Visit my website to download more example code files

Other Information:

Requires Android:
Android 3.0+ (Honeycomb, API 11)
Other Sources:
Category:

Download

This version of PIC32BLUE (Bluetooth control) Android App comes with one universal variant which will work on all the Android devices.

Variant
1
(Sep 21, 2015)
Architecture
Unlimited
Minimum OS
Android 3.0+ (Honeycomb, API 11)
Screen DPI
nodpi (all screens)

All Versions

If you are looking to download other versions of PIC32BLUE (Bluetooth control) Android App, We have 1 version in our database. Please select one of them below to download.

Loading..