Controle Bluetooth Arduino icon

' platformBuildVersionName= by SuporteTécnicoSDKLAB


Jan 9, 2016

About Controle Bluetooth Arduino

English

Control via Bluetooth to Arduino and MCUs

App de conexão via modulo Bluetooth conectado a um Arduíno para controle de intensidade de 2 leds, só funciona em equipamentos que tenha Bluetooth.

Este APP so funciona em conjunto com aplicação com Arduíno e ou microcontroladores.

Este APP tem carácter didático, só funciona em luminárias feitas com este proposito.

App desenvolvido no B4A...

Segue o sketch a ser carregado em um Arduíno:

#include

SoftwareSerial mySerial(10, 11);

void setup()

{

pinMode(5, OUTPUT);

pinMode(6, OUTPUT);

Serial.begin(9600);

mySerial.begin(9600);

}

void loop()

{

int n;

n = mySerial.read();

if(n == '0')

{

analogWrite(5, 255);

Serial.println("Dimmer Led1 100%");

}

if(n == '1')

{

analogWrite(5, 200);

Serial.println("Dimmer Led1 80%");

}

if(n == '2')

{

analogWrite(5, 150);

Serial.println("Dimmer Led1 60%");

}

if(n == '3')

{

analogWrite(5, 100);

Serial.println("Dimmer Led1 40%");

}

if(n == '4')

{

analogWrite(5, 50);

Serial.println("Dimmer Led1 20%");

}

if(n == '5')

{

analogWrite(5, 10);

Serial.println("Dimmer Led1 10%");

}

if(n == 'A')

{

analogWrite(6, 255);

Serial.println("Dimmer Led2 100%");

}

if(n == 'B')

{

analogWrite(6, 200);

Serial.println("Dimmer Led2 80%");

}

if(n == 'C')

{

analogWrite(6, 150);

Serial.println("Dimmer Led2 60%");

}

if(n == 'D')

{

analogWrite(6, 100);

Serial.println("Dimmer Led2 40%");

}

if(n == 'E')

{

analogWrite(6, 50);

Serial.println("Dimmer Led2 20%");

}

if(n == 'F')

{

analogWrite(6, 10);

Serial.println("Dimmer Led2 10%");

}

if(n == 'X')

{

analogWrite(5, 0);

Serial.println("Dimmer Led1 OFF");

}

if(n == 'Y')

{

analogWrite(6, 0);

Serial.println("Dimmer Led2 OFF");

}

}

Como pode ser visto no Sketch, o APP depois de pareado com modulo Bluetooth, envia caracteres pelo canal serial do link. Cada tecla do APP envia uma string compreendida de um só byte, onde é lida e com parada pelas condicionais IF THEN, controlando a porta do MCU em modo PWM.

What's New in the Latest Version ' platformBuildVersionName=

Last updated on Jan 9, 2016

Minor bug fixes and improvements. Install or update to the newest version to check it out!

Translation Loading...

Additional APP Information

Latest Version

Request Controle Bluetooth Arduino Update ' platformBuildVersionName=

Uploaded by

Kauã Sousa

Requires Android

Android 1.6+

Show More

Controle Bluetooth Arduino Screenshots

Comment Loading...
Languages
Searching...
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Subscribed Successfully!
You're now subscribed to APKPure.
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Success!
You're now subscribed to our newsletter.