Wireless LCD Via Bluetooth
Wireless LCD Via Bluetooth
Over a long period of time people have always tried to pass information across
to the public using different means which include sign boards, stop signs, static
billboards and notice painted on wood panels or walls as a means of passing
information. These methods (traditional signage) used become boring, monotonous in
nature, hard to stand out from the crowd and causes confusion and ambiguity in
locating desired areas. Technology today has advanced to such an extent that there has
become the need for electronic display systems capable of displaying messages,
graphics, logos and moving animation to satisfy all purposes, whether it be for
business or domestic use that are sure to capture the attention of any audience. Most
of these electronic display systems were using wired connections. The Bluetooth
technology used in this project is aimed at eliminating wired connections.
1
This study was therefore aimed at improving upon what has earlier been done
by different investigators in respect to the design and implementation of message
display boards by introducing the Bluetooth HC-05 which allows a message to be sent
wirelessly free of charge.
1.3 METHODOLOGY
The whole process can be described from the transmitter and receiver section.
The BLUETOOTH module receives a message from the authorized mobile phone and
the message is extracted by the microcontroller from the BLUETOOTH module and
is displayed on the LCD display board. Serial to parallel communication is used for
the entire process from Bluetooth module to Microcontroller and from microcontroller
to the LCD display.
The power supply given to the microcontroller is designed by using step down
transformer which is connected to diodes, capacitors, resistor and voltage regulator
arranged as per circuit diagram.
Electronic displays are one of the widely used ones ranging from primary
schools to major organizations to convey messages at large. A lot of paper is being
used and which is later wasted by the organizations. This in turn leads to a lot of
deforestation thus leading to global warming. So in order to prevent such global
warming and make the displaying work easy for people using the present technologies
available, this wireless LCD controlled via Bluetooth is very much important. This
system finds its applications in various fields. Some of them are:
2
Educational Institutions and Organizations: Currently we rely on putting up
papers on notice boards to inform people of events. This method can be discarded
by using wireless notice boards to display information in real time.
Crime Prevention: Display boards put up on roads will display tips on public
security, accident prevention, information on criminals on the run. The board will
help flash messages such as vehicle thefts as and when they occur.
Managing Traffic: In metropolitan cities we frequently come across traffic jams.
One way to avoid this would be informing people beforehand to take alternate
routes. A wireless notice board serves well for this purpose.
Advertisement: In shopping malls we get to hear the offers on various products
from time to time. Instead we continuously display the information regarding the
products and related offers on electronic display boards.
Railway Station: Instead of announcing the delay in arrival of trains we can
display the information.
3
CHAPTER-2
WIRELESS LCD
2.1 LITERATURE REVIEW
Bluetooth based electronic board is an LCD display connected to a
microcontroller. In this system, user sends the message from the android application
device, and then the message is received and retrieved by the Bluetooth device at the
display unit. The Bluetooth access password will only be known to the user. It is then
sent to the microcontroller that further displays the notice sent from the user on to the
electronic notice board which is equipped with a 16X2 LCD display. It uses a
microcontroller Arduino Uno.
Generally, less convenient as you have to be cabled in, but transfer speeds often
faster.
Wired networks are not convenient for public use, but sometimes acceptable for a
traditional office.
4
When the data needs to be changed continuously, it is difficult to rewrite the data.
2.3 METHODOLOGY
The Bluetooth module(HC05) is connected to Tx & Rx and Vcc and gnd pins of
the Arduino UNO microcontroller. LCD display is also given to the pins of
Arduino UNO. Power supply is given to Arduino which supplies the required
power to LCD and HC05 module.
5
CHAPTER-3
Initially power supply is given to Arduino UNO board which divides the supply to
both HC-05 Bluetooth module and the LCD display unit.
LCD display unit and the HC-05 Bluetooth are connected to respective ports of
microcontroller board.
The message is sent from a mobile unit which is connected via HC-05 module and
Arduino UNO sends the message to display the message on LCD.
6
3.2 DESCRIPTION
Power Supply:
This section is meant for supplying Power to all sections mentioned above. It
basically consists of a Transformer to step down the 230V ac to 9V ac followed by
diodes. Here diodes are used to rectify ac to dc. After rectification the obtained
rippled dc is filtered using a capacitor filter. A positive voltage regulator is used to
regulate the obtained dc voltage.
Microcontroller:
This section forms the control unit of the whole project. This section basically
consists of a Microcontroller board like Arduino UNO with its associated circuitry
like Crystal with capacitors, reset circuitry, pull up resistors (if needed) and so on.
The Microcontroller forms the heart of the project because it controls the devices
being interfaced and communicates with the devices according to program being
written. Here in our project the microcontroller board used is Arduino UNO board.
Arduino UNO:
7
Liquid Crystal Display (LCD):
It is the display unit. This section is basically meant to show up the message
given from any device consisting of Bluetooth feature to the Bluetooth module.
Bluetooth Technology:
This section in the block diagram is used to receive the text or message from
the mobile unit or any device in a remote area and send it to Arduino board so that the
message is displayed on the Liquid Crystal Display (LCD).
HC‐05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module,
designed for transparent wireless serial connection setup. The HC-05 Bluetooth
Module can be used in a Master or Slave configuration, making it a great solution for
wireless communication. This serial port Bluetooth module is fully
qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with
complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04‐External
8
single chip Bluetooth system with CMOS technology and with AFH (Adaptive
Frequency Hopping Feature).
Mobile Unit:
This section in our project is a remote source which is used to pair with the
Bluetooth module i.e., HC-05 and send the message that we want to be displayed on
the Liquid Crystal Display (LCD). Generally, a mobile phone is used as this remote
device, but any other device with Bluetooth terminal can be used. In our project we
are using Android Mobile Phone to send the input message to be displayed on the
LCD display.
9
CHAPTER-4
HARDWARE COMPONENTS
4.1 MICROCONTROLLER (Arduino UNO)
4.1.1 Introduction:
The board has 14 Digital pins, 6 Analog pins, and programmable with
the Arduino IDE (Integrated Development Environment) via a type B USB cable. It
can be powered by a USB cable or by an external 9-volt battery, though it accepts
voltages between 7 and 20 volts. It is also similar to the Arduino Nano and Leonardo.
"Uno" means one in Italian and was chosen to mark the release of Arduino
Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were
the reference versions of Arduino, now evolved to newer releases. The Uno board is
the first in a series of USB Arduino boards, and the reference model for the Arduino
platform.
10
Fig 4.1.1 Arduino UNO Board
4.1.2 History:
The Arduino project started at the Interaction Design Institute Ivrea (IDII)
in Ivrea, Italy. At that time, the students used a BASIC Stamp microcontroller at a
cost of $100, a considerable expense for many students. In 2003 Hernando Barragan
created the development platform Wiring as a Master's thesis project at IDII, under
the supervision of Massimo Banzi and Casey Reas, who are known for work on
the Processing language.
The project goal was to create simple, low-cost tools for creating digital
projects by non-engineers. The Wiring platform consisted of a printed circuit
board (PCB) with an ATmega168 microcontroller, an IDE based on Processing and
library functions to easily program the microcontroller.
In 2003, Massimo Banzi, with David Mellis, another IDII student, and David
Cuartielles, added support for the cheaper ATmega8 microcontroller to Wiring. But
instead of continuing the work on Wiring, they forked the project and renamed
it Arduino. Early Arduino boards used the FTDI USB-to-serial driver chip and
an ATmega168. The Uno differed from all preceding boards by featuring the
ATmega328P microcontroller and an ATmega16U2 (Atmega8U2 up to version R2)
programmed as a USB-to-serial converter.
11
4.1.3 Technical Specifications:
Operating Voltage 5V
SRAM 2 KB
EEPROM 1 KB
12
4.1.4 Pin Description of Arduino UNO:
The following table depicts the operation of each pin in Arduino Uno:
Power Vin, 3.3V, 5V, Vin: Input voltage to Arduino when using an
GND external power source.
5V: Regulated power supply used to power
microcontroller and other components on the
board.
3.3V: 3.3V supply generated by on-board voltage
regulator. Maximum current draw is 50mA.
GND: ground pins.
Serial 0(Rx), 1(Tx) Used to receive and transmit TTL serial data.
13
Fig 4.1.2 Pin Mapping in Arduino UNO
4.1.5 Software:
Once Arduino IDE is installed on the computer, connect the board with
computer using USB cable. Now open the Arduino IDE and choose the correct board
by selecting Tools>Boards>Arduino/Genuino Uno, and choose the correct Port by
selecting Tools>Port. Arduino Uno is programmed using Arduino programming
language based on Wiring.
14
4.2 HC-05 BLUETOOTH MODULE:
4.2.1 Introduction:
HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module,
designed for transparent wireless serial connection setup. Serial port Bluetooth
module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps
Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR
Bluecore 04-External single chip Bluetooth system with CMOS technology and with
AFH (Adaptive Frequency Hopping Feature). It has the footprint as small as
12.7mmx27mm. Hope it will simplify your overall design/development cycle.
4.2.2 Specifications:
Hardware Features:
PIO control
15
Software Features:
Default Baud rate: 38400, Data bits:8, Stop bit:1, Parity: No parity, Data control:
has.
Supported baud rate: 9600,19200,38400,57600,115200,230400,460800.
Given a rising pulse in PIO0, device will be disconnected.
Status instruction port PIO1: low-disconnected, high-connected;
PIO10 and PIO11 can be connected to red and blue led separately. When master
and slave are paired, red and blue led blinks 1time/2s in interval, while
disconnected only blue led blinks 2times/s.
Auto-connect to the last device on power as default.
Permit pairing device to connect as default.
Auto-pairing PINCODE:”0000” as default
Auto-reconnect in 30 min when disconnected as a result of beyond the range of
connection.
The following table depicts the pin configuration of HC-05 Bluetooth module:
16
4 TX – Transmits Serial Data. Everything
Transmitter received via Bluetooth will be given
out by this pin as serial data.
17
4.3 LIQUID CRYSTAL DISPLAY (LCD)
4.3.1 Introduction:
Liquid Crystal Display (LCD) is widely used in various electronics
applications. It is commonly used in various systems to show different status and
parameters.
A liquid crystal display (LCD) has liquid crystal material sandwiched between
two sheets of glass. Without any voltage applied between transparent electrodes,
liquid crystal molecules are aligned in parallel with the glass surface. When voltage is
applied, they change their direction and they turn vertical to the glass surface. They
vary in optical characteristics, depending on their orientation. Therefore, the quantity
of light transmission can be controlled by combining the motion of liquid crystal
molecules and the direction of polarization of two polarizing plates attached to the
18
both outer sides of the glass sheets. LCDs utilize these characteristics to display
images.
RS
Selects command register when low, and data register
4 (Register
when high
Select )
19
Sends data to data pins when a high to low pulse is
given; Extra voltage push is required to execute the
instruction and EN(enable) signal is used for this
6 purpose. Usually, we make it en=0 and when we want to Enable
execute the instruction we make it high en=1 for some
milliseconds. After this we again make it ground that is,
en=0.
7 DB0
8 DB1
9 DB2
10 DB3
8-bit data pins
11 DB4
12 DB5
13 DB6
14 DB7
20
4.3.4 Commonly used LCD 16x2 commands:
TABLE 4.3.2: Commonly used LCD 16x2 commands
Code Execution
Command to LCD
(HEX) Time
Now, while printing a character on LCD16x2, we need to send the ASCII code
of that character to LCD16x2. Suppose, we want to print a character ‘H’ on the LCD,
then we should send 0x48 (ASCII code of ‘H’) data to the LCD16x2. The LCD16x2
has its own controller, which does the printing job on the LCD16x2.
21
4.4 TRANSFORMER
The input coil is called the primary and the output coil is called the secondary.
There is no electrical connection between the two coils, instead they are linked by an
alternating magnetic field created in the soft-iron core of the transformer. The two
lines in the middle of the circuit symbol represent the core.
Voltage Transformer:
22
Fig 4.4.2 Voltage Transformer
4.5 IC LM7805
23
4.6 LIGHT EMITTING DIODE (LED)
4.7 POTENTIOMETER
A potentiometer is a three-terminal resistor with a sliding or rotating contact
that forms an adjustable voltage divider. If only two terminals are used, one end and
the wiper, it acts as a variable resistor or rheostat.
24
4.8 RESISTOR
A Resistor is a two-terminal electronic component designed to oppose an
electric current by producing a voltage drop between its terminals in proportion to the
current, that is, in accordance with Ohm's law:
V = IR
4.9 CAPACITOR
25
CHAPTER-5
BLUETOOTH TECHNOLOGY
5.1 INTRODUCTION
5.2 HISTORY
Bluetooth wireless technology was named after a Danish Viking and King,
Harald Blatand; his last name means “Bluetooth” in English. He is credited with
uniting Denmark and Norway, just as Bluetooth wireless technology is credited with
uniting two disparate devices.
26
5.3 HOW BLUETOOTH WORKS
Bluetooth Network consists of a Personal Area Network or a piconet which contains a
minimum of 2 to maximum of 8 Bluetooth peer devices- Usually a single master and
up to 7 slaves. A master is the device which initiates communication with other
devices. The master device governs the communications link and traffic between itself
and the slave devices associated with it. A slave device is the device that responds to
the master device. Slave devices are required to synchronize them transmit/receive
timing with that of the masters. In addition, transmissions by slave devices are
governed by the master device (i.e., the master device dictates when a slave device
may transmit). Specifically, a slave may only begin its transmissions in a time slot
immediately following the time slot in which it was addressed by the master, or in a
time slot explicitly reserved for use by the slave device.
Scatter nets are created when a device becomes an active member of more than one
piconet. Essentially, the adjoining device shares its time slots among the different
piconets.
27
5.4 BLUETOOTH SPECIFICATIONS
Core Specifications: It defines the Bluetooth protocol stack and the requirements
for testing and qualification of Bluetooth-based products.
The profiles specification: It defines usage models that provide detailed
information about how to use the Bluetooth protocol for various types of
applications.
The core specification consists of 5 layers:
28
CHAPTER-6
CONSTRUCTION & WORKING
The following table depicts the parts required for construction of a power supply:
TABLE 6.1.1: Parts required for construction of Power Supply
29
(ii). Working:
The datasheet says that it needs between 7V and 25V to work correctly. So
need to add a few components that convert 220V (or 110V) AC to a DC voltage that
stays between 7V and 25. The transformer transforms the voltage down to around
12V. Then this AC voltage is fed into a bridge rectifier to rectify it. Then the
capacitor on the output is used to keep the voltage above the necessary 7V at all
times. This capacitor value can be 1000 µF, and output of capacitor is 25V. Then this
voltage is passed through IC7805 and at output we get 5V.
LCD modules form a very important part in many Arduino based embedded
system designs. So the knowledge on interfacing LCD module to Arduino is very
essential in designing embedded systems. JHD162A is a 16×2 LCD module based on
the HD44780 driver from Hitachi. The JHD162A has 16 pins and can be operated in
4-bit mode (using only 4 data lines) or 8-bit mode (using all 8 data lines).
30
TABLE 6.2.1: LCD to Arduino UNO
LCD Potentiometer
Pin-1 Fixed end-1
Pin-2 Fixed end-3
Pin-3 Variable end-2
31
TABLE 6.2.3: Interfacing HC-05 to Arduino UNO
VCC 5V
Gnd Gnd
Tx Rx (Pin-0)
Rx Tx (Pin-1)
32
6.3 WORKING PRINCIPLE
• The whole process can be described from the transmitter and receiver section.
• The BLUETOOTH module receives a message from the authorized mobile phone
and the message is extracted by the microcontroller from the BLUETOOTH
module and is displayed on the LCD display board.
• Serial to parallel communication is used for the entire process from Bluetooth
module to Microcontroller and from microcontroller to the LCD display.
6.4 PROCEDURE
2. Open Arduino IDE. Select COM port from your computer’s Device Manager. Set
baud rate to 9600. Compile and upload the code to Arduino board.
3. Connect the 5V power supply to the Arduino board. The LED in HC-05 Bluetooth
module will blink continuously. This means Bluetooth module is working fine.
Adjust the preset by varying VR1 till you get clear text on LCD1.
4. Pair HC-05 module with your Smartphone's Bluetooth using 1234 as password.
After getting paired, the LED on HC-05 module will blink intermittently instead of
blinking continuously.
5. Open Bluetooth Terminal and pair it with HC-05 module. You will see ‘Connected’
on the app.
6. Type a message and press Send. The message will get displayed on LCD1.
33
6.5 FLOW CHART:
34
6.6 ARDUINO CODE
#include <LiquidCrystal.h>
char str;
void setup() {
lcd.begin(16,2);
Serial.begin(9600);
void loop() {
while(Serial.available())
str = Serial.read();
if(str=='#')
delay(5);
else if(str=='*')
35
else if(str=='%')
while(str!='!')
str=Serial.read();
delay(1000);
else
lcd.print(str);
delay(100);
36
CHAPTER-7
37
CHAPTER-8
As the technology is advancing every day the display board systems are
moving from Normal hand writing display to digital display. Further to Wireless
display units. This paper develops a photo type laboratory model wireless LCD
system with BLUETOOTH connected to it, which displays the desired message of the
user through an Bluetooth terminal in a most populated or crowded places. This
proposed system has many upcoming applications in educational institutions and
organizations, crime prevention, traffic management, railways, advertisements etc.
Been user friendly, long range and faster means of conveying information are major
bolsters for this application. By using this proposed methodology, we can enhance the
security system and also make awareness of the emergency situations and avoid many
dangers.
Electronic Notice Board is one of the application where Bluetooth can be used
effectively. It can also be used in Malls and Highways for Advertisement purpose. A
moving display with variable speed can also be used in place of static display.
38
REFERENCES
• https://electronicsforu.com/electronics-projects/wireless-lcd-display-bluetooth
• File:///C:/Users/Computers%20Zone/Downloads/43711487161174%20(1).pdf
• http://www.circuitstoday.com/interfacing-lcd-to-arduino
• file:///C:/Users/Computers%20Zone/Downloads/wireless-e-notice-board-using-
bluetooth-technology-IJERTCONV6IS07092.pdf
• https://www.electronicwings.com/arduino/hc-05-bluetooth-module-interfacing-
with-arduino-uno
• http://www.circuitstoday.com/interfacing-lcd-to-arduino
• http://oaji.net/articles/2017/4371-1487161174.pdf
• https://www.ijert.org/research/wireless-e-notice-board-using-bluetooth-
technology-IJERTCONV6IS07092.pdf
• http://www.123seminarsonly.com/EC/Digital-Notice-Board.html
• http://www.irdindia.in/journal_ijacte/pdf/vol2_iss3/1.pdf
39