Wireless Notice Board using Bluetooth & Arduino
Introduction
A notice board is a vital component in many organizations, schools, and other institutions where important information needs to be disseminated to a large number of people. The traditional method of using a physical board to display notices is no longer feasible in today's fast-paced world where changes can occur rapidly. Wireless notice boards have emerged as a solution to this problem, allowing for real-time updates to be displayed on an electronic board. In this article, we will explore the process of building a wireless notice board using Arduino, Bluetooth module, and 16x2 LCD display.
Overview
The wireless notice board we will be building will consist of an Arduino board, a Bluetooth module, and a 16x2 LCD display. The Arduino board will be used to control the display and receive updates from the Bluetooth module. The Bluetooth module will be used to receive updates from a smartphone or computer and transmit them to the Arduino board. The 16x2 LCD display will be used to display the updates received from the Bluetooth module.
Step-by-Step Guide
Step 1: Gathering the Components
The first step in building the wireless notice board is to gather all the necessary components. The following components will be required:
- Arduino board
- Bluetooth module (HC-05 or HC-06)
- 16x2 LCD display
- Breadboard
- Arduino
- Jumper wires
- USB cable
- Smartphone or computer with Bluetooth capability
Once all the components have been gathered, the next step is to set up the Arduino board. Connect the Arduino board to the breadboard using jumper wires. Connect the 5V and GND pins of the Arduino board to the breadboard's power rails.
Step 3: Connecting the Bluetooth Module
The Bluetooth module should be connected to the breadboard. Connect the VCC and GND pins of the Bluetooth module to the power rails of the breadboard. Connect the TX pin of the Bluetooth module to the RX pin of the Arduino board and the RX pin of the Bluetooth module to the TX pin of the Arduino board.
Step 4: Connecting the LCD Display
The LCD display should also be connected to the breadboard. Connect the VSS pin of the LCD display to the GND rail of the breadboard. Connect the VDD pin of the LCD display to the 5V rail of the breadboard. Connect the V0 pin of the LCD display to a potentiometer, and connect the potentiometer to the GND and 5V rails of the breadboard. Connect the RS, RW, and EN pins of the LCD display to digital pins 12, 11, and 10 of the Arduino board, respectively. Connect the D4, D5, D6, and D7 pins of the LCD display to digital pins 5, 4, 3, and 2 of the Arduino board, respectively.
you can do the following connection by seeing this diagram :
fig: Circuit Diagram |
Step 5: Writing the Code
Now that all the components have been connected, the next step is to write the code that will control the wireless notice board. The following code can be used as a starting point:
//********************************************Program Developed By Sakchyam Bastakoti*************************************************************//
#include
#include
LiquidCrystal lcd (4, 5, 6, 7, 8, 9);
SoftwareSerial mySerial (2, 3); //(RX, TX);
String val = "No Data";
String oldval;
String newval = "No Data";
int i = 0;
void setup()
{
// put your setup code here, to run once:
lcd.begin(16,2);
mySerial.begin(9600);
Serial.begin(9600);
lcd.setCursor(0, 0);
lcd.print("Wireless Notice");
lcd.setCursor(0, 1);
lcd.print(" Board ");
delay(3000);
lcd.clear();
lcd.print("Welcome!");
}
void loop()
{
val = mySerial.readString();
val.trim();
Serial.println(val);
if(val != oldval)
{
newval = val;
}
lcd.clear();
lcd.setCursor(i, 0);
lcd.print(newval);
i++;
if(i >= 15)
{
i = 0;
}
val = oldval;
}
//********************************************Program Developed By Sakchyam Bastakoti*************************************************************//
This code initializes the LCD display and sets up the serial communication between the Arduino board and the Bluetooth.
Step 6: Connect the Bluetooth module to the mobile device
Turn on the Bluetooth on the mobile device, and pair it with the HC-05 Bluetooth module. The default pairing code is 1234.
Step 7: Send messages to the notice board
Open the Serial Monitor in the Arduino IDE, and select the correct baud rate (9600). Type the message you want to display on the notice board, and click send. The message will be displayed on the LCD display.
Here are the some picture as video of this project:
Conclusion:
In this article, we have discussed how to build a wireless notice board using Arduino, Bluetooth module, and 16x2 LCD display. This project can be used in offices, schools, and public places to display important messages and notices remotely. With some modifications, this project can also be used to display weather updates, news headlines, and other information.