DIY Arduino Bluetooth Terminal

One time again Hello Arduino lovers.
Welcome to all technology science lover in this website.

Message is a real time journey to contact us and now this time not use GSM messaging. Arduino has own similar pins for Bluetooth.Pins-(D1/TX,D0/RX). Today we are making a simple Arduino based Bluetooth terminal. Simply need a 16*2 LCD Display and HC-05 Bluetooth module. The simple code basis on if(serial.available) to find any others Bluetooth connection and connect any android phone terminal application and then connect HC-05 Bluetooth module and now starts messaging.
The main range of HC-05 Bluetooth module is maximum 6 meters.The Arduino to LCD pins connected using main "Hello World" program.
If you want to save thye pins of Arduino for other use so try I2C Adapter for LCD display and connect to SDA ,SCL pins. Some program function as be change.
Now come here to Circuit system.

Circuit Diagram 


See the above image for schematic view.
Enter a text message and will appear on LCD Display.
First come black pixels.

The Code

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
String inData;

void setup() {
  Serial.begin(9600);       
    lcd.begin(16, 2);
    lcd.print("Welcome!");
    delay(3000);
    lcd.clear();
}
void loop() {
 int i=0;
  char commandbuffer[100];

  if(Serial.available()){
     delay(100);
     while( Serial.available() && i< 99) {
        commandbuffer[i++] = Serial.read();
     }
     commandbuffer[i++]='\0';
  }

  if(i>0)

     Serial.println((char*)commandbuffer);
     lcd.print((char*)commandbuffer);
     delay(1000);
     lcd.clear();
}

Now you will upload this code on your Arduino board .
Now download one app for this system . Click here to Download app .

Thanks For Supporting Us.
Save Tree. Save Life