IOT Based Notice Board Major Project
IOT Based Notice Board Major Project
Page
No.
CHAPTER 1: INTRODUCTION
3.1 Atmega328 9
3.2 LCD 14
3.3 NodMcu 19
CHAPTER 4: IMPLEMENTATION
i
CONCLUSION 35
REFERENCES 36
ii
LIST OF FIGURE
iii
LIST OF TABLE
iv
ABSTRACT
This project presents a digital notice board using WiFi module. The idea behind this
project is to provide its users with a simple, fast and reliable way to put up important notices
in an P10 Display where the user can send a message to be displayed in the P10 Display. The
message can be sent through an android application designed in this project, through the WiFi
module . So, notices can be put up in an P10 Display display from any location in the world.
It uses a microcontroller for system control, WiFi based technology for communication and
sends the message through the android application. The project consists of a Atmega328-8 bit
AVR based microcontroller, WiFi module, an P10 Display, and an android application for
user interface with the hardware. This device can be used anywhere irrespective of the place
v
CHAPTER 1
INTRODUCTION
vi
1.2 Problem Statement
The idea behind this project is to provide its users with a simple, fast
and reliable way to put up important notices in an P10 where the user can
send a message to be displayed in the P10. The message can be sent
through an android application designed in this project
vii
CHAPTER 2
LITERATURE REVIEW
This paper is developed a GSM based notice board display using ARM7 controller
along with LED array. The microcontrollers provide all the functionality of the
display notices and wireless control. The Display is obtained on a 7X96 Light Emitting Diode
(LED) dot matrix display. A desired text message from a mobile phone
viii
is sent via a Global System for Mobile Communication (GSM) to the GSM module
located at the receiving end [3]. The GSM modem is connected, through MAX 232
Integrated Circuit (MAX 32IC), to the ARM7 microcontroller. The message that is
stored in the Electrically Erasable Programmable Read Only Memory (EEPROM)
is then displayed on the LED dot matrix display. This hardware uses regulated 5V,
500mA power supply. A three-terminal LM7805 is employed for regulation of the
voltage. A bridge type full-wave rectifier is used to rectify the AC output of the secondary of
230/12V step down transformer. The system was tested to work according
to specification.
The Project aims to provide the services of communication with LED displays
remotely using GSM (that is by using SIMs SMSs via mobile phones) and updating
message instantly on display board unlike a desk bound device such as PC or laptop.
ix
The user can update it even from a remote distant with simple user interaction.
Everything around us is becoming smart such as smart phones, smart televisions, smart
refrigerators, so why not smart displays boards for advertisements and
notices. Display boards are primary thing in any institute, organization, public utility
places like bus stops, railway stations, parks, shopping malls to display information
regarding platforms, various advertisements about the products, or important notices.
People are now adapted to the idea of the world at its fingertips. The old wired display
boards are controlled by microcontroller. To change message, we need to change the
microcontroller program code again and again. By adding GSM wireless communication
interface, we can overcome these limitations [6]. It is a start to the era of smart
and real-time displaying of messages on display boards. This paper explains the development
of GSM based Smart LED Display Boards using Short Message Service(SMS).
Summary
Literature survey is mainly carried out in order to analyze the background of the
current project which helps to find out flaws in the existing system and guides on which
unsolved problems we can work out.
x
CHAPTER 3
HARDWARE REQUIREMENTS
3.1 IC Atmega328
Introduction
The Atmel ATmega8A is a low-power CMOS 8-bit microcontroller based on the AVR
enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the
ATmega8A achieves throughputs close to 1MIPS per MHz. This empowers system designer
to optimize the device for power consumption versus processing speed.
Features
– 512Bytes EEPROM
xi
• In-System Programming by On-chip Boot Program
Block Diagram
xii
Pin Diagram
Pin Descriptions
VCC
GND
Ground
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).
The Port B output buffers have symmetrical drive characteristics with both high sink and
source capability. As inputs, Port B pins that are externally pulled low will source current if
the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition
becomes active, even if the clock is not running. Depending on the clock selection fuse
xiii
settings, PB6 can be used as input to the inverting Oscillator amplifier and input to the
internal clock operating circuit. Depending on the clock selection fuse settings, PB7 can be
used as output from the inverting Oscillator amplifier. If the Internal Calibrated RC Oscillator
is used as chip clock source, PB7:6 is used as TOSC2:1 input for the Asynchronous
Timer/Counter2 if the AS2 bit in ASSR is set. The various special features of Port B are
elaborated in Alternate Functions of Port B and System Clock and Clock Options.
Port C (PC5:PC0)
Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).
The Port C output buffers have symmetrical drive characteristics with both high sink and
source capability. As inputs, Port C pins that are externally pulled low will source current if
the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition
becomes active, even if the clock is not running.
PC6/RESET
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the electrical
characteristics of PC6 differ from those of the other pins of Port C. If the RSTDISBL Fuse is
un-programmed, PC6 is used as a Reset input. A low level on this pin for longer than the
minimum pulse length will generate a Reset, even if the clock is not running. The minimum
pulse length is given in Table 30-5. Shorter pulses are not guaranteed to generate a Reset. The
various special features of Port C are elaborated in Alternate Functions of Port C.
Port D (PD7:PD0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).
The Port D output buffers have symmetrical drive characteristics with both high sink and
source capability. As inputs, Port D pins that are externally pulled low will source current if
the pull-up resistors are activated.
xiv
The Port D pins are tri-stated when a reset condition becomes active, even if the clock is not
running. Port D also serves the functions of various special features of the ATmega8A as
listed in Alternate Functions of Port D.
RESET
Reset input. A low level on this pin for longer than the minimum pulse length will generate a
reset, even if the clock is not running. The minimum pulse length is given in Table 30-5.
Shorter pulses are not guaranteed to generate a reset.
AVCC
AVCC is the supply voltage pin for the A/D Converter, Port C (3:0), and ADC (7:6). It
should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it
should be connected to VCC through a low-pass filter. Note that Port C (5:4) use digital
supply voltage, VCC.
AREF
In the TQFP and QFN/MLF package, ADC7:6 serve as analog inputs to the A/D converter.
These pins are powered from the analog supply and serve as 10-bit ADC channels.
xv
3.5 Power Supply:-
An unregulated power supply is circuit which converts AC into a fluctuating DC which gets
change according to variation in input AC as well as change in load current.
A dc power supply which maintains the output voltage constant irrespective of ac mains
fluctuations or load variations is known as regulated dc power supply.
xvi
Need of regulated power supply:
The step down transformer is used to step down the main supply voltage from 230V AC to
lower value. The step down transformer is static device which decreases mains to the desired
value without changing its frequency. It generates pure sine wave with zero average value to
the rectifier circuit.
Rectifier unit
The rectifier unit is used to convert the AC voltage into its corresponding DC voltage. There
are half-wave ,full-wave, and bridge wave rectifiers are available for these specific function.
The most important and simple device used in rectifier circuit is the diode. The simple
function of diode is to conduct when forward bias and not conduct in reverse bias. During the
positive half-cycle of secondary voltage, one end of the secondary winding becomes positive
and other end negative. This makes two diode forward biased while remaining two diodes as
reverse biased. Therefore, only two forward biased diode will be in series through the load. It
may seen that current flows from top to bottom of the load.
During the negative half cycle of secondary voltage, the polarity of voltage across secondary
gets reverse. This makes previous reverse biased diodes as forward biased and vice versa.
These two diodes will be now in series through the load. It may be seen that again current
flows from top to bottom of the load i.e. in the same direction as for the positive half cycle.
Therefore the pulsating dc output is obtained across load.
xvii
The reasons for choosing the bridge rectifier are:
The TUF is increased to 0.812 as compared the full wave rectifier.
The PIV rating requirement of each diode is Vm and not 2Vm as in two diode rectifier.
Input filters
Capacitors are used as filter. The ripples from DC voltage are removed and pure DC voltage
is obtained. And also these capacitors are used to reduce the harmonics of the input voltage.
Regulator unit
Regulator requires the output voltage to be always constant. The output voltage is maintained
irrespective of the fluctuations in the input AC voltage. As the AC voltage changes, the DC
voltage also changes. Thus to avoid this regulators are used.
Output filter
The filter circuit is often fixed after the regulator circuit. capacitor is most often used as
filter. The principle of the capacitor is to charge and discharge. It charges during the positive
half cycle of the AC voltage and discharges during the negative half cycle so, it allows only
AC voltage and does not allow the DC voltage.
IC voltage regulators
Voltage regulator comprise a class of widely used ICs. Regulator IC units contain the
circuitry for reference source, comparator amplifier, control device, and overload protection
all in a single IC.
xviii
acceptable range, the output voltage remains constant within specified voltage variations
limits. These limitations are spelled out in manufacturer’s specification sheets.
xix
CHAPTER 4
IMPLIMENTATION
P10
HC-05 Controller
Display
xx
4.1.3 Circuit Diagram:
xxi
4.2 Software Implementation
#include <SPI.h> //SPI.h must be included as DMD is written by SPI (the IDE
complains otherwise)
#include <DMD.h>
#include <TimerOne.h>
#include "SystemFont5x7.h"
#include "Arial_black_16.h"
#define DISPLAYS_ACROSS 2
#define DISPLAYS_DOWN 1
//char mess[max_char];
int a;
char msg0[250]="Wait";
char str[250];
int temp1=0,i=0,j=0,k=0;
/*--------------------------------------------------------------------------------------
xxii
Interrupt handler for Timer1 (TimerOne) driven DMD refresh scanning, this gets
--------------------------------------------------------------------------------------*/
void ScanDMD()
dmd.scanDisplayBySPI();
void setup(void)
//initialize TimerOne's interrupt/CPU usage used to scan and refresh the display
dmd.clearScreen( true ); //true is normal (all pixels off), false is negative (all pixels
on)
Serial.begin(9600);
strcpy(message,greeting);
void loop(void)
serialEvent();
if(temp1==1)
dmd.clearScreen( true );
xxiii
j=0,k=0,temp1=0;
while(j<i)
while(str[j]=='{')
j++;
while(str[j]!='}')
msg0[k++]=str[j++]; //Mode
j++;
msg0[k]='\0';
message[i] = '\0';
strcpy(message,msg0);
i=0;
j=0;
k=0;
dmd.selectFont(Arial_Black_16);
long start=millis();
xxiv
long timer=start;
boolean ret=false;
while(!ret)
ret=dmd.stepMarquee(-1,0);
timer=millis();
delay(3000);
void serialEvent()
while(Serial.available())
char ch=(char)Serial.read();
str[i++]=ch;
if(ch == '}')
temp1=1;
xxv
CHAPTER 5
FUTURE SCOPE
The display unit can range from P10 scrolling displays to P10
monitors. The
LED scrolling displays can be set up at public transport places such as bus
stations,
railway stations and airports. They can also be used in offices and similar
organizations for sending notices. The P10 monitors can be setup on
school and college
campuses for sending out notices. Also, as an extension to the current
message displaying template, multiple messages can be displayed at a
time, by dividing the screen
to the required number of parts. A commercial model can be able to
display more than one message at a time.In our project we are sending
messages via WI-FI network and displaying on a LED by utilizing AT-WF
commands. The same principle can be applied to control electrical
appliances at a distant location. Robots can be controlled in a similar
fashion by sending the commands to the robots. These commands are
read by using AT-WF commands and appropriate action is taken. This can
be used for spy robots at distant locations, utilized by the military to
monitor movement of enemy troops.
xxvi
CONCLUSION
The prototype of the proposed WI-FI based electronic notice board was successfully
designed. It can be easily integrated with all general-purpose display board thus proving its
mobility. The message is transferred using wireless technology and is eventually obtained on
the LED matrix. Thus we are using modern technology to replace conventional display
boards the android app interface can make this system even more user friendly and popular.
The system accepts the message from app to be displayed in the form of Short
Message Service (SMS) stores it, checks for its validation and then displays it on the
display unit if it meant for that particular display unit, it decided based on IP address. This
system supports only one message at a time. The proposed system can
be efficiently used for transfer of message instantly on campus. The WI-FI based smart
electronic notice board is efficiently designed. the smart electronic notice board system
accepts new SMS, validate it, store it and display it on 8X8 LED panel. It reduces the overall
development cost and also minimizes the complexity.Therefore, smart electronic notice board
system becomes smarter, efficient, robust and portable.
xxvii
REFERENCES
[1] Darshankumar C. Dalwadi, Ninad Trivedi , Amit Kasundra ,(2011) Wireless notice board
our real-time solution, National Conference on Recent Trends in Engineering & Technology.
[2] Nivetha S. R, Pujitha. R, Preethi Selvaraj & Yashvanthini S.M,(2012) SMS based
Wireless Notice board with monitoring system ,International Journal of Advanced Electrical
and Electronics Engineering, (IJAEEE) ISSN (Print) : 2278-8948, Volume-2, Issue-3, 2013.
[3] Pawan Kumar, VikasBhrdwaj, Kiran Pal, Narayan Singh Rathor & Amit Mishra, (2012)
GSMbased e-notice board: Wireless Communication, International Journal of Soft
Computing andEngineering (IJSCE), ISSN: 2231-2307, Volume 2, Issue-3, pp 601-605.
[4] Prachee U. Ketkar, Kunal P. Tayade, Akash P. Kulkarni & Rajkishor M. Tugnayat,
(2013) GSMmobile phone based led scrolling message display system, International Journal
of ScientificEngineering and Technology (ISSN :2277-1581), Volume 2 Issue 3, pp 149.
[5] AnuradhaMujumdar, VaishaliNiranjane & Deepika Sagne, (2014) Scrolling LED display
using wireless transmission, International Journal of Engineering Development and Research
(ISSN: 2321-9939), Volume 2, Issue 1, pp 475-478.
xxviii