Download Bluetooth por Voz - Arduino APK latest version Free for Android
Version | 1.3 |
Update | 5 years ago |
Size | 2.67 MB (2,797,818 bytes) |
Developer | Eduardo Muñoz |
Category | Apps, Art & Design |
Package Name | com.thunkable.android.eduardomunozc98.CASA_INTELIGENTE |
OS | 4.0 and up |
Bluetooth por Voz - Arduino APPLICATION description
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:
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
Programming example:
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
}
}
Ejemplo de la programación:
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
Programming example:
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
}
}
Old versions
Version | Size | Update |
---|---|---|
⇢ 1.3 (1 variants) | ↓ 2.67 MB | ◴ 5 years ago |
⇢ 1.1 (1 variants) | ↓ 2.67 MB | ◴ 7 years ago |