Final Mini Project Documentation (VBNB)
Final Mini Project Documentation (VBNB)
Final Mini Project Documentation (VBNB)
ABSTRACT
The main aim of this project is to utilize the application of the Arduino board to
operate electronic notice board through voice, using liquid crystal display (LCD) to
show scrolling messages and to control them by using our own voice To demonstrate
this concept we here use an LCD screen to display messages. The LCD is interfaced
with an 8051 family microcontroller. We also use a Bluetooth receiver to get the
android transmitted messages, decode them and send them to the microcontroller for
further processing. The microcontroller then displays the message on the LCD screen.
Notice Board is important thing in any institution/organisation or public places
like bus stations, railway stations and so. But sticking paper various notices is a
difficult process. For that, person is required to take care of this notices display. This
project is an advanced smart notice board. The main aim of the project is to develop a
wireless notice board that displays notices when a message is sent from the user’s
android application phone or device which achieved by any smart-phone/Tablet etc.,
with Android OS, upon a GUI (Graphical User Interface) based touch screen
operation. While the user sends the message from the android application device, it is
received and receives by the Bluetooth module at the display system. The Bluetooth
will access password. It is then sent to the micro-controller that to displays the notice
sent from the user on to the notice board which is equipped with a LCD display. It
uses a 8051 micro controller
1. INTRODUCTION
The main objective of this work is to develop a smart notice board which works in a
well-organised manner with respect to date and time which will help the user to
easily keep in track of the notice board every day and each time he uses the system
and to convey the information more effectively.
Bluetooth based notice board is an android based application. In this application, 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.
This system deals with the implementation of voice based system by using
Bluetooth with the help of android application. The communication is made possible
by using Bluetooth module. The main objective of this work is to develop a smart
notice board which works in a well -organized manner with respect to date and time
which will help the user to easily keep in track of the notice board every day and each
time he uses the system and to convey the information more effectively.
Currently we rely on putting up notices on the notice boards using papers. This is time
consuming and also there is wastage of paper. If we need to renew the notice then we
have to take a new hard copy. A separate person is required to take care of this notice
display. Now a day’s GSM modem based notice boards are also in use but they
require router in which cable connections are done which make it complex.
This innovative system can be used in a variety of places including railway stations,
schools, colleges, offices for displaying emergency announcements on the screen
instantly by just speaking out the message instead of typing it in each time. So this is
how voice based notice board project is very useful in various organizations. There
exists a need of electronic notice board that enables efficient way to the user for
displaying notice. By considering increasing compactness of electronic systems, there
is a need of embedding two or more systems together.
This project is an implementation of the idea of wireless communication
between a mobile phone and an Arduino controller. In this project work, as we are
designing a system which consists of display unit, and android device using wireless
technology. The display unit consists of LED display that can be interfaced with
ATmega328 microcontroller. 1) Wireless Notice board is easy to install and easy to
use. 2) Speech controlled rolling display is really helpful for disabled people or
handicapped people
Power Supply
Arduino
Atmega328
Bluetooth LCD
Arduino UNO
12V Adapter
16*2 LCD Display
Bluetooth HC05 Module
Connecting Wires
Breadboard
Overview:
Atmega 16U2 replace the 8U2. "Uno" means one in Italian and is named to
mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the
reference versions of Arduino, moving forward. The Uno is the latest in a series of
USB Arduino boards, and the reference model for the Arduino platform; for a
comparison with previous version 2.2 Schematic & Reference Design The Arduino
reference design can use an Atmega8, 168, or 328, Current models use an
ATmega328, but an Atmega8 is shown in the schematic for reference. The pin
configuration is identical on all three processors. 2.3 Summary Microcontroller -
ATmega328 Operating Voltage - 5V Input Voltage - 7-12V (Recommended) Input
Voltage (limits) - 6-20V Digital I/O Pins - 14 (of which 6 provide PWM output)
Analog Input Pins - 6 DC Current per I/O Pin - 40 mA DC Current for 3.3V Pin - 50
mA Flash Memory - 32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM - 2 KB (ATmega328) EEPROM - 1 KB (ATmega328) Clock Speed - 16 MHz
2.4 Power The Arduino Uno can be powered via the USB connection or with an
external power supply. The power source is selected automatically. External (non-
USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The
adapter can be connected by plugging a 2.1mm center-positive plug into the board's
power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of
the POWER connector. The board can operate on an external supply of 6 to 20 volts.
If supplied with less than 7V, however, the 5V pin may supply less than five volts and
the board may be unstable. If using more than 12V, the voltage regulator may
overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows: VIN -The input voltage to the Arduino board
when it's using an external power source (as opposed to 5 volts from the USB
connection or other regulated power source). You can supply voltage through this pin,
or, if supplying voltage via the power jack, access it through this pin. 5V - This pin
outputs a regulated 5V from the regulator on the board. The board can be supplied
with power either from the DC power jack (7 -12V), the USB connector (5V), or the
VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the
regulator, and can damage your board. We don't advise it. 3V3- A 3.3 volt supply
generated by the on-board regulator. Maximum current draw is 50 mA. GND -
Ground pins. IOREF - This pin on the Arduino board provides the voltage reference
with which the microcontroller operates. A properly configured shield can read the
IOREF pin voltage and select the appropriate power source or enable voltage
translators on the outputs for working with the 5V or 3.3V. 2.5 Memory The
ATmega328 has 32 KB (with 0.5 KB used for the bootloader). It also has 2 KB of
SRAM and 1 KB of EEPROM (which can be read and written with the EEPROM
library).
Input and Output Each of the 14 digital pins on the Uno can be used as an input or
output, using pinMode(), digitalWrite(), and digitalRead()functions. They operate at 5
volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-
up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have
specialized functions: Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit
(TX) TTL serial data. These pins are connected to the corresponding pins of the
ATmega8U2 USB-to-TTL Serial chip. External Interrupts: 2 and 3. These pins can
be configured to trigger an interrupt on a low value, a rising or falling edge, or a
change in value. See the attach Interrupt() function for details. PWM: 3, 5, 6, 9, 10,
and 11. Provide 8-bit PWM output with the analog Write() function. SPI: 10 (SS), 11
(MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the SPI
library. LED: 13. There is a built-in LED connected to digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off. The Uno has 6 analog
inputs, labeled A0 through A5, each of which provide 10 bits of resolution (i.e. 1024
different values). By default they measure from ground to 5 volts, though is it possible
to change the upper end of their range using the AREF pin and the analog Reference()
function. Additionally, some pins have specialized functionality: TWI: A4 or SDA
pin and A5 or SCL pin. Support TWI communication using the Wire library.
There are a couple of other pins on the board: AREF. Reference voltage for the
analog inputs. Used with analog Reference(). Reset. Bring this line LOW to reset the
microcontroller. Typically used to add a reset button to shields which block the one
on the board 2.7 Communication The Arduino Uno has a number of facilities for
communicating with a computer, another Arduino or other microcontrollers. The
Atmega328 providesUART TTL (5V) serial Communication, which is available on
digital pins 0 (RX) and 1 (TX). An ATmega16U2 on the board channels this serial
communication over USB and appears as a virtual com port to software on the
computer. The '16U2 firmware uses the standard USB COM drivers, and no external
driver is needed. However, on windows, a .inf file is required. The Arduino software
includes a serial monitor which allows simple textual data to be sent to and from the
Arduino board. The RX and TX LEDs on the board will flash when data is being
transmitted via the USB-to-serial chip and USB connection to the computer (but not
for serial communication on pins 0 and 1). A Software Serial library allows for serial
communication on any of the Uno's digital pins. The ATmega328 also supports I2C
(TWI) and SPI communication. The Arduino software includes a Wire library to
simplify use of the I2C bus; see the documentation for details. For SPI
communication, use the SPI library.
The Arduino Uno can be programmed with the Arduino software. The ATmega328
on the Arduino Uno comes preburned with a bootloader that allows you to upload
new code to i without the use of an external hardware programmer. It communicates
using the original STK500 protocol (reference, C headerfiles).
2.9 Automatic (Software) Reset Rather than requiring a physical press of the reset
button before an upload, the Arduino Uno is designed in a way that allows it to be
reset by software running on a connected computer. One of the hardware flow control
lines (DTR) of theATmega8U2/16U2 is connected to the reset line of the ATmega328
via a 100 nanofarad capacitor. When this line is asserted (taken low), the reset line
drops long enough to reset the chip.
USB Over current Protection The Arduino Uno has a resettable polyfuse that protects
your computer's USB ports from shorts and over current. Although most computers
provide their own internal protection, the fuse provides an extra layer of protection. If
more than 500 mA is applied to the USB port, the fuse will automatically break the
connection until the short or overload is removed.
Physical Characteristics The maximum length and width of the Uno PCB are 2.7 and
2.1 inches respectively, with the USB connector and power jack extending beyond the
former dimension. Four screw holes allow the board to be attached to a surface or
case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an
even multiple of the 100 mil spacing of the other pins.
Pin description:
Each of the 14 digital pins on the Uno can be used as an input or output, using
pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each
pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor
(disconnected by default) of 20-50 kOhms. In addition, some pins have specialized
functions.
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.
Each of the 14 digital pins on the arduino Uno can be used as an input or
output, using pin Mode(), digital Write(), and digital Read() functions. They operate
at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal
pull-up resistor (disconnected by default) of 20-50 KOhms.
Serial:
pins 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial
data. These pins are connected to the corresponding pins of the ATmega8U2 USB-to-
TTL Serial chip.
External interrupt:
LCD is a type of display used in digital watches and many portable computers. LCD
displays utilize to sheets of polarizing material with a liquid crystal solution between
them. An electric current passed through the liquid causes the crystals to align so that
light cannot pass through them.
LCD technology has advanced very rapidly since its initial inception over a
decade ago for use in lap top computers. Technical achievements has resulted in
brighter displace, higher resolutions, reduce response times and cheaper
manufacturing process.
wavelength (color) of light is allowed to pass, the LCD monitor is able to display
images. A backlight provides LCD monitor‘s brightness.
Over the years many improvements have been made to LCD to help enhance
resolution, image, sharpness and response times. One of the latest such advancement
is applied to glass during acts as switch allowing control of light at the pixel level,
greatly improving LCD ‘s ability to display small-sized fonts and image clearly.
Other advances have allowed LCD‘s to greatly reduce liquid crystal cell response
times. Response time is basically the amount of time it takes for a pixel to ―change
colors‖, in reality response time is the amount of time it takes a liquid crystal cell to go
from being active to inactive.
This is due to following reasons:
The declining prices of LCDs.
The ability to display numbers, characters and graphics. This is in contrast to
LEDs, which are limited to numbers and a few characters.
An intelligent LCD display of two lines, 20 characters per line that is interfaced to
the pic16f72 microcontroller. In corporation of a refreshing controller into the LCD,
there by relieving the CPU to keep displaying the data. Ease of programming for
characters and graphics.
Most of the LCD modules conform to a standard interface specification. A 14-
pin access is provided having eight data lines, three control lines and three power
lines. The connections are laid out in one of the two common configurations, either
two rows of seven pins, or a single row of 14 pins.
One of these pins is numbered on the LCD‘s printed circuit board (PCB), but
if not, it is quite easy to locate pin1. Since this pin is connected to ground, it often has
a thicker PCB track, connected to it, and it is generally connected to metal work at
same point.
Pin Descriptions:
as follows: if R/W = 1, RS = 0. When D7= 1 (busy flag = 1), the LCD is busy
taking care of internal operations and will not accept any information.
Prototype circuit:For a LCD module to be used effectively in any piece of
equipment, a Microprocessor or Micro controller is usually, required to drive it.
However , before attempting a series of switches to the pins of the module. This
can be a quite benefical step, if even you are thoroughly conversant with the
workings of microprocessors.
Advantages:
Very compact, thin and light, especially in comparison with bulky, heavy CRT
displays.
Low power consumption. Depending on the set display brightness and content
being displayed, the older CCFT backlit models typically use less than half of
the power a CRT monitor of the same size viewing area would use, and the
modern LED backlit models typically use 10–25% of the power a CRT
monitor would use.
Little heat emitted during operation, due to low power consumption.
No geometric distortion.
The possible ability to have little or no flicker depending on backlight
technology.
Usually no refresh-rate flicker, because the LCD pixels hold their state
between refreshes (which are usually done at 200 Hz or faster, regardless of
the input refresh rate).
Sharp image with no bleeding or smearing when operated at native resolution.
Emits almost no undesirable electromagnetic radiation (in the extremely low
frequency range), unlike a CRT monitor.
Can be made in almost any size or shape.
No theoretical resolution limit. When multiple LCD panels are used together
to create a single canvas, each additional panel increases the total resolution of
the display, which is commonly called stacked resolution.
Can be made in large sizes of over 80-inch (2 m) diagonal.
Masking effect: the LCD grid can mask the effects of spatial and grayscale
quantization, creating the illusion of higher image quality.
Disadvantages:
saturation, contrast and brightness to vary with user position, even within the
intended viewing angle.Limited viewing angle in some older or cheaper monitors,
causing color.
Uneven backlighting in some monitors (more common in IPS-types and older
TNs), causing brightness distortion, especially toward the edges ("backlight
bleed").
Black levels may not be as dark as required because individual liquid crystals
cannot completely block all of the backlight from passing through.
Display motion blur on moving objects caused by slow response times (>8 ms)
and eye-tracking on a sample-and-hold display, unless a strobing backlight is
used. However, this strobing can cause eye strain, as is noted next:
As of 2012, most implementations of LCD backlighting use pulse-width
modulation (PWM) to dim the display, which makes the screen flicker more
acutely (this does not mean visibly) than a CRT monitor at 85 Hz refresh rate
would (this is because the entire screen is strobing on and off rather than a
CRT's phosphor sustained dot which continually scans across the display, leaving
some part of the display always lit), causing severe eye-strain for some
people. Unfortunately, many of these people don't know that their eye-strain is
being caused by the invisible strobe effect of PWM.This problem is worse on
many LED-Backliftmonitors, because the LEDs switch on and off faster than
a CCFL lamp.
Only one native resolution. Displaying any other resolution either requires a video
scaler, causing blurriness and jagged edges, or running the display at native
resolution using 1:1 pixel mapping, causing the image either not to fill the screen
(letterboxed display), or to run off the lower or right edges of the screen.
In a constant-on situation, thermalization may occur in case of bad thermal
management, in which part of the screen has overheated and looks discoloured
compared to the rest of the screen.
Loss of brightness and much slower response times in low temperature
environments. In sub-zero environments, LCD screens may cease to function
without the use of supplemental heating.
Loss of contrast in high temperature environments.
Introduction
HC05 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 bluecore04 External single chip bluetooth
system with CMOS technology and with AFH (Adaptive Frequency Hopping
Feature).
The Bluetooth module HC-05 is a Master/Slave module. By default the factory
setting is Slave. The Role of the module (Master or Slave) can be configured only by
AT commands. The slave modules cannot initiate a connection to another Bluetooth
device, but can accept connections. Master module can initiate a connection to other
devices. The user can use it simply for a serial port replacement to establish
connection between MCU and GPS, PC to your embedded project, etc. Just go
through the datasheet for more details.
Hardware Features
Software Features
Slave default Baud rate: 9600, Data bits:8, Stop bit:1,Parity: no parity.
Auto connect to the last device on power as default.
Permit pairing device to connect as default.
Auto pairing PINCODE:”1234” as default.
Pin Description
ENABLE:
When enable is pulled low, the module is disabled which means the module
will not turn on and it fails to communicate. When enable is left open or
connected to 3.3V, the module is enabled i.e the module remains ON
and communication also takes place.
Vcc:
GND:
Ground pin
STATE:
It acts as a status indicator. When the module is not connected to/ paired with any
other Bluetooth device, signal goes low .At this low state , the led flashes
continuously which denotes that the module is not paired with other device. When
this module is connected to/paired with any other Bluetooth device, the signal
goes high. At this high state, the led blinks with a constant delay say for example
2s delay which indicates that the module is paired.
BUTTON SWITCH:
Hardware Connections:
As we know that Vcc and Gnd of the module goes to Vcc and Gnd of Arduino. The
TXD pin goes to RXD pin of Arduino and RXD pin goes to TXD pin of Arduino i.e;
(digital pin 0 and pin 1).The user can use the on board Led But here, Led is connected
to digital pin 12 externally for betterment of the process.
2.3 APPLICATIONS
Advanced wireless notice board can be used in public transportation areas like
Bus stations, Railway stations and even at Airports.
2.4 ADVANTAGES
2.5 DISADVANTAGES
3.IMPLIMENTATION
4.SOFTWARE
4.2 ALGORITHM
Step1: Start
Step4: Then take the mobile phone& start pairing mobile Bluetooth to the device
Bluetooth
Step5: Then give the commands to work the operations through the mobile
Step6: Stop
#include <LiquidCrystal.h>
LiquidCrystallcd(7,6,5,4,3,2);
int led=13;
int temp=0,i=0,x=0,k=0;
char str[100],msg[32];
void setup()
{
lcd.begin(16,2);
Serial.begin(9600);
pinMode(led, OUTPUT);
digitalWrite(led, HIGH);
lcd.setCursor(0,0);
lcd.print("Wireless Notice");
lcd.setCursor(0,1);
lcd.print(" Board ");
delay(2000);
lcd.setCursor(0,1);
lcd.print("System Ready");
digitalWrite(led, LOW);
}
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);
}
}
}
1. To create a project, write and test the example source code, follow these steps.
2. Open Arduino application and start a new project. Arduino application support the c,
c++ language.
3. To save the code enter into file and click on save as and save the file.
We can add feedback system in Android app. So that user can get feedback of the
action
We can implement password so that any other person cannot control the system.
5.2CONCLUSION
This system was developed to enable the people wirelessly in transmitting notices on
notice board using Bluetooth. This contributes immensely in making communication
with greater efficiency. Thus, it displays the messages with fewer errors and
maintenance. The paper on voice recognition notice board brings an advanced means
of transferring notices with delay (time limit).This way we can display the notices for
longer period. We can also provide notices at one time along with their respective
delay. This makes our work easy by not giving the notices after certain period. Thus,
it helps to access notices in a simple and well organized manner. Therefore smart
notice board proves to be serviceable in any organizations.
By introducing the concept of wireless technology in the Field of the
communication we can make our communication more efficient and faster, with
greater efficiency. This system can be used in college, school, offices, railway station
and commercial as well as personal uses.
5.3 RESULT
Make the connections as shown in circuit diagram and upload the code to Arduino
software. Turn on the Power supply to the project and now start pairing HC-05
Bluetooth Module with the Mobile Bluetooth option. By giving information which is
in the form of voice to an AMR (Android Makes Robot) Application, it will receive
the information and transmits that exact information and display’s it on the LCD
screen.
REFERENCES
Mr. Ramchandra K. Gurav, Mr. RohitJagtap. Wireless digital notice board using
GSM technology. International Research Journal of Engineering and Technology
(IRJET). 2015.
Abhishek Gupta, Rani Borkar, SamitaGawas, Sarang Joshi. GSM based wireless
notice board. International Journal of Technical Research and Applications. 2016,
30–33p.
Neenu Ann George, Prabitha. P, Priyanka. A.K, Ershad. S.B. Raspberry Pi based
speech recognition sensed smart notice board display. IJSRD - International
Journal for Scientific Research & Development 2016.