0.0
0 review
130.94 KB
Everyone
Content rating
0
Downloads
PIC32BTN (Bluetooth control) screenshot 1 PIC32BTN (Bluetooth control) screenshot 2 PIC32BTN (Bluetooth control) screenshot 3 PIC32BTN (Bluetooth control) screenshot 4 PIC32BTN (Bluetooth control) screenshot 5 PIC32BTN (Bluetooth control) screenshot 6

About this product

PIC32BTN (Bluetooth control) description

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

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

PIC32BTN Features:
★Send information to a microcontroller.
★20 available buttons to save custom messages.
★Microcontroller can make your phone talk out loud.


You can setup the microcontroller to react to any message that you choose with a simple tap of a button with this application.

Long press the button in order to set and save the message you would like to be sent over Bluetooth.

You can control a servo motor, LED matrix, RGB lights, LCD screen, or anything you would like using a phone or tablet.

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.

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

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:

See the code example below or visit my website to download more example code files.

// Microcontroller code example
//Change delay times if needed
String inputString ="";
char 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 += String(incoming);
}
delay(2);
//must be exact spelling
if(inputString == "Cool")
{
//add code here
}
if(inputString == "Respond")
{
//add code here
}
if(inputString == "Talk")
{
Serial1.println(":TALK:Hello, world.");
}
}
inputString ="";
delay(50);
}

Thank you for checking out my application.

↓ Read more

Version lists