Bluetooth Arduino LEDs

Bluetooth Arduino LEDs Free App

Rated 4.00/5 (2) —  Free Android application by Net Andino

Advertisements

About Bluetooth Arduino LEDs

Controlar Arduino mediante bluetooth, puede prender y apagar un Led

Datos que envia el APP
Boton Rojo = 'r'
Boton Verde = g'
Boton Azul = 'b'


Boton Enlaces = Esta selecciona el Modulo Bluetooth a que se va a conectar y/o sincronizar

Cómo ejemplo Usaremos los temrnales 5, 6 y 7 u otros según criterio; Logo Bluetooth para conectar


//INICIO

int LedR = 5; // Boton Rojo
int LedG = 6; // Boton Verde
int LedB = 7; // Boton Azul

int vel = 255; // Intencidad de Colores

int estado = 'a'; // inicia detenido o Apagado

int Status=0;

void setup() {

Serial.begin(9600); // inicia el puerto serial para comunicacion con el Bluetooth

pinMode(LedR, OUTPUT);

pinMode(LedG, OUTPUT);

pinMode(LedB, OUTPUT);

}

void loop(){

if(Serial.available()!=0){

Status= Serial.read();

}

if (Status =='r'){

digitalWrite(LedR,HIGH);

digitalWrite(LedG,LOW);

digitalWrite(LedB,LOW);

}

if (Status =='g'){

digitalWrite(LedR,LOW);

digitalWrite(LedG,HIGH);

digitalWrite(LedB,LOW);

}

if (Status =='b'){

digitalWrite(LedR,LOW);

digitalWrite(LedG,LOW);

digitalWrite(LedB,HIGH);

}

}

//FIN


Más Manuales en http://manual.netandino.net Controlling Arduino via Bluetooth, you can turn on and off a led

Data that sends the APP
Red button = 'r'
Button Green = g '
Button Blue = 'b'


Pin links = This selects the Bluetooth module to be connected and / or synchronize

How example will use the temrnales 5, 6 and 7 or others as criteria; Logo Bluetooth to connect


// HOME

Ledr int = 5; // Red Button
LEDG int = 6; // Green Button
LEDB int = 7; // Button Blue

vel int = 255; // Color intencidad

int status = 'a'; // Starts arrested or Off

int Status = 0;

void setup () {

  Serial.begin (9600); // Start the serial port for communication with Bluetooth

  pinMode (Ledr, OUTPUT);

  pinMode (LEDG, OUTPUT);

  pinMode (LEDB, OUTPUT);

}

void loop () {

if (Serial.available ()! = 0) {

Status = Serial.read ();

}

if (status == 'r') {

digitalWrite (Ledr, HIGH);

digitalWrite (LEDG, LOW);

digitalWrite (LEDB, LOW);

}

if (status == 'g') {

digitalWrite (Ledr, LOW);

digitalWrite (LEDG, HIGH);

digitalWrite (LEDB, LOW);

}

if (status == 'b') {

digitalWrite (Ledr, LOW);

digitalWrite (LEDG, LOW);

digitalWrite (LEDB, HIGH);

}

}

// END


More Manuals http://manual.netandino.net

How to Download / Install

Download and install Bluetooth Arduino LEDs version 1 on your Android device!
Downloaded 100+ times, content rating: Everyone
Android package: appinventor.ai_ventasnetandino.BluetoothArduinoLed, download Bluetooth Arduino LEDs.apk

All Application Badges

Free
downl.
Android
1.5+
For everyone
Android app

App History & Updates

More downloads  Bluetooth Arduino LEDs reached 100 - 500 downloads

Oh snap! No comments are available for Bluetooth Arduino LEDs at the moment. Be the first to leave one!

Share The Word!


Rating Distribution

RATING
4.05
2 users

5

4

3

2

1