DIY Inventor
Published

Arduino Bluetooth (HC-05) Wireless Notice Board using LCD

This project is going to tell you How to make a HC-05 Bluetooth Controlled Wireless Notice Board LCD with help of Mobile

BeginnerFull instructions provided5,746
Arduino Bluetooth (HC-05) Wireless Notice Board using LCD

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Alphanumeric LCD, 16 x 2
Alphanumeric LCD, 16 x 2
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

LiquidCrystal.h Library
Arduino Bluetooth Control App

Story

Read more

Schematics

Circuit Diagram

Connection of HC-05

Hook the GND pin (Negative Pin) of HC-05 to Pin GND of Arduino.
Connect Red VCC Pin (Positive Pin) of HC-05to VCC of Arduino.
Connect TX pin (Data Transfer Pin) of HC-05to RX pin of Arduino.
Connect RX Pin of HC-05 to TX Pin of Arduino.

Connection Of LCD

Connect the First pin from the left of LCD (GND pin) with GND pin of Arduino.
Connect the Second pin from the left of LCD (VCC pin) with VCC pin of Arduino.
Connect the Third pin from the left of LCD (V0 pin) with GND pin of Arduino.
Connect the Fourth pin from the left of LCD (RS pin) with 11 pin of Arduino.
Connect the Fifth pin from the left of LCD (R/W pin) with GND pin of Arduino.
Connect the Sixth pin from the left of LCD (E pin) with 10 pin of Arduino.
Connect the Eleventh pin from the left of LCD (D4 pin) with 5 pin of Arduino.
Connect the Twelveth pin from the left of LCD (D5 pin) with 4 pin of Arduino.
Connect the Thirteen pin from the left of LCD (D6 pin) with 3 pin of Arduino.
Connect the Fourteenth pin from the left of LCD (D7 pin) with 2 pin of Arduino.
Connect the Fifteenth pin from the left of LCD (5V pin) with 1 K Resistor with 2 pin of Arduino.
Connect the Last pin from the left of LCD (GND pin) with GND pin of Arduino

Code

Code

C/C++
#include <LiquidCrystal.h>
/* 
 *  Idea By:- Devloper Krishna Agarwal (DIY Inventor)
 * Devloper Krishna Agarwal (DIY Inventor)
 * Desgign By:- Devloper Krishna Agarwal (DIY Inventor)
 */
char str[34],L=2;
int draft=0,i=0;
int Pass=0,p=0;
 int c,x,d;

LiquidCrystal lcd(11,10,5,4,3,2);

void setup()
{
 Serial.begin(9600);
    pinMode(7,OUTPUT);
  lcd.begin(16, 2);
  
 
}


void loop() 
{ 
  if(draft==1)
  {
    check();
     draft=0;
    i=0;
    delay(1000);
  }
  
}

void serialEvent() 
 {
      while (Serial.available()) 
      {
      char inChar=Serial.read();
      str[i++]=inChar;
      delay(10);
      }
       for (p=i+1;p<34;p++)
      {
        str[i++]=32;
      }
    draft=1;
  Serial.write(str);
  lcd.setCursor(0, 0);
 lcd.print(str);
  if(i>16)
  {
    d=16;
    for (x=0;x<=17;x++)
    {
    lcd.setCursor(x,2);
    lcd.print(str[d]);
    d++;
    }
  }
 }

void check()
{
if(!(strncmp(str,"1",1)))
  {
   digitalWrite(7,50); 
   lcd.clear(); 
  }
  else if(!(strncmp(str,"2",1)))
  {
   digitalWrite(7,LOW);
   lcd.clear(); 
  }
}

Credits

DIY Inventor

DIY Inventor

0 projects • 15 followers
Hello Guys, My name is Krishna Agarwal , and I'm passionate about Making DIY Projects. Here I make Arduino and Robotics related projects.

Comments