Con esta aplicación ya seras capaz de poder controlar tu arduino por comandos de voz! desde prender un LED hasta prender un motor o un relevador! Yo que quiero prender y apagar las luces, abanicos, etc. por voz esta es la mejor manera que lo puedo hacer, excelente para Domótica, controlar tu casa por medio de voz
Ejemplo de la programación: (siempre empezar el comando que quieras controlar con un asterisco " * "
String mensaje;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(13, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()){
delay(10); //estabilidad
char c = Serial.read();
mensaje += c; //sumas contenido de la variable c en la variable mensaje
}
if(mensaje.length()>0){
if(mensaje == "*encender"){
digitalWrite(13, HIGH);
} else if (mensaje == "*Apagar"){
digitalWrite(13, LOW);
}
mensaje=""; //RESETEANDO VARIABLE
}
}With this application and you will be able to control your arduino by voice commands! from lighting a LED to turn a motor or a relay! I I want to turn on and off lights, fans, etc. Voice This is the best way that I can do, excellent for home automation, home control by voice
Example of programming: (always start the command you want to control with an asterisk "*"
String message;
void setup () {
// put your setup code here, to run once:
Serial.begin (9600);
pinMode (13, OUTPUT);
}
void loop () {
// put your main code here, to run Repeatedly:
while (Serial.available ()) {
delay (10); //stability
char c = Serial.read ();
message + = c; // sums contents of the c variable in the variable message
}
if (mensaje.length ()> 0) {
if (message == "* On") {
digitalWrite (13, HIGH);
} Else if (message == "* Shutdown") {
digitalWrite (13, LOW);
}
message = ""; RESETTING // VARIABLE
}
}
This version of Bluetooth por Voz Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of Bluetooth por Voz Android App, We have 1 version in our database. Please select one of them below to download.