wireless electronic notice board using arduino

Introduction:-

In this article, we are going to make an Wireless electronic notice board using arduino uno and bluetooth. If you google it, you can find most of the tutorials related GSM technology. GSM technology is used to transfer the message world wide. But I have planned to display the message in electronic notice board which placed with in a short distance. (e.g) the distance between the LCD display and the principal room. So that i used Bluetooth technology. I just displayed the text on the 16X2 LCD display. I have a future plan to display the text on 128×64 dot matrix led display.

Materials required:-

  1. Arduino uno
  2. 16×2 LCD
  3. LCD breakout board
  4. HC-05 Bluetooth
  5. jumper wires

Materials which i used on this project:-

Circuit diagram:-

LCD connections:-

RS – D13

E – D12

D4 – 11

D5 – 10

D6 – 9

D7 – 8

Note:- I suggest you to use LCD breakout board, so that the power supply connections and RW to GND are integrated on the PCB.

Basic Hardware connections:-

Connect the LCD breakout board to the arduino uno as per the circuit

 Bluetooth Connections to the arduino

Connect the Tx of the arduino to the Rx of the bluetooth and similarly

Code:-

#include<LiquidCrystal.h>
int temp=0,i=0,x=0,k=0;
char str[100],msg[32];
LiquidCrystal lcd(13,12,11,10,9,8);

void setup() {

lcd.begin(16,2);
Serial.begin(9600);
lcd.setCursor(0,0);
lcd.print(“Wireless Notice”);
lcd.setCursor(0,1);
lcd.print(“Board using Bluetooth “);
delay(2000);
lcd.scrollDisplayLeft();
Serial.print(“Enter your message\n”);

}

void loop()
{
for(unsigned int t=0;t<60000;t++)
{
serialEvent();
if(temp==1)
{
x=0,k=0,temp=0;
while(x<i)
{
while(str[x]==’#’)
{
x++;
while(str[x]!=’*’)
{
msg[k++]=str[x++];
}
}
x++;
}
msg[k]=’\0′;
lcd.clear();
lcd.print(msg);
delay(1000);
temp=0;
i=0;
x=0;
k=0;
}
}
lcd.scrollDisplayLeft();
}
void serialEvent()
{
while(Serial.available())
{
char ch=(char)Serial.read();
str[i++]=ch;
if(ch == ‘*’)
{
temp=1;
lcd.clear();
lcd.print(“Message Received”);
delay(1000);
}
}
}

 

Note:- Download the code. Make a proper edit if needed. Before downloading the code, remove the Tx and Rx pin from bluetooth to the arduino and then download the code. After finish downloading the code, reconnect the pins. Otherwise you can face a serial communication error.

Install the android app on your smart phone:-

I have given the link below, download the android app and install it on your smart mobile

link:- download the app from here. This will redirect to playstore.

Result and output:-

  1. Open your android app

2) pair your bluetooth using password “1234”

3) Select your paired bluetooth device

4) The device will connect to our smart phone

5) Select Yes or No

6) Select the TERMINAL Menu

7) You can observe the title card at the beginning and it scrolls

8) Type your needed text with the following format. #MESSAGE*.

9) send the message

10) You can observe the message received display

11) Now the text you entered will scroll on the display

 

For enquirers and doubts feel free to comment below. Thankyou

Leave a Reply

Your email address will not be published. Required fields are marked *