PIC32BLUE (Bluetooth control)

PIC32BLUE (Bluetooth control) Free App

Rated 5.00/5 (2) —  Free Android application by D Gardner

About PIC32BLUE (Bluetooth control)

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

How to Download / Install

Download and install PIC32BLUE (Bluetooth control) version 1.0 on your Android device!
Downloaded 1,000+ times, content rating: Everyone
Android package: com.gardnertech.pic32blue, download PIC32BLUE (Bluetooth control).apk

All Application Badges

Free
downl.
Android
3.0+
For everyone
Android app

App History & Updates

More downloads  PIC32BLUE (Bluetooth control) reached 1 000 - 5 000 downloads
More downloads  PIC32BLUE (Bluetooth control) reached 500 - 1 000 downloads
More downloads  PIC32BLUE (Bluetooth control) reached 100 - 500 downloads
More downloads  PIC32BLUE (Bluetooth control) reached 50 - 100 downloads

What are users saying about PIC32BLUE (Bluetooth control)

T70%
by T####:

Giihhhkl


Share The Word!


Rating Distribution

RATING
5.05
2 users

5

4

3

2

1