Bluetooth interfacing with arduino
Bluetooth interfacing with Arduino Components require: Arduino uno HC06/HC05 Connecting cables Red LED 1k Resistor Example projects: ROBOT controlling with app Home automation with app 2 arduino communication RGB color change of LED Connections: VCC=5v GND=GND RX=Tx Tx=Rx key=keep Open State=keep Open download app here.. To learn how to interface led with Arduino LEARN LED INTERFACING WITH ARDUINO Arduino Code: /* It's a simple sketch which waits for a character on serial and in case of a desirable character, it turns an LED on/off. Possible string values: a (to turn the LED on) b (tor turn the LED off) */ char junk; String inputString=""; void setup() // run once, when the sketch starts { Serial.begin(9600); // set the baud rate to 9600, same should be of your Serial Monitor pinMode(13, OUTPUT); } void loop() { if(Serial.available()){ while(Serial.available()) { c