Report
Report
                   BACHELOR OF TECHNOLOGY
                             IN
Raaj (141098)
I hereby declare that the work presented in this report entitled “IOT Based Air and Sound
Pollution Monitoring System” in partial fulfillment of the requirements for the award of
the degree of bachelor of technology in electronics and communication engineering submitted at
Jaypee University of Information Technology, Vaknaghat India,                         is an authentic
record of my work carried out over a period from July 2017 to May 2018 under the supervision of Dr .
Neeru Sharma (Assistant Professor, E.C.E Department)                    . The matter embodied in the
report has not been for the award of any other degree or diploma
This is to certify that above statement made by the candidate is true to the best
of my knowledge.
Dated:
                                                   iiviii
                                                   i
                                    Acknowledgement
We would like to express our special gratitude to our project coordinator Dr.Neeru
Sharma who helped us in to form a concept and idea of the project and actual building of
steps used to complete the project. We would also like to thank our Head of Department
for providing us this golden opportunity to work on a project like this.
This project would have been impossible if it was not for the kind support, extreme
support and continuous counsel of my learned project guide. The deep sense of
heartfelt gratitude that I owe to my learned guide and supervisor “Dr Neeru
Sharma” cannot be expressed in words. Her unconquerable help, constant inspiration,
key counsel, generous nature are among the very few favour that she give upon me time
to time from the inception of this project to this day.
                                              iiivi
                                              iii
                                      CONTENTS                                                        Page
                                                                                                       No.
List of Figures.....................................................................................……(vi)
List of Tables......................................................................................……(vii)
List of Abbreviations..........................................................................…...(vii)
Abstract...............................................................................................…..(viii)
1. Introduction…………………………………………………………….1
         1.1       Problem statement ……………………………………………1
         1.2       Objective of project…………………………………………...2
         1.3       Organization of the project……………………………………3
2. Literature Review……………………………………………………...4
        2.1        Designed & Developed A GSM Based DMD boards……….4
        2.2        Development Of GSM Based Digital Notice Board…….…..4
        2.3        Bluetooth based alphanumeric scrolling display system…….5
        2.4        Smart Led Notice Board Using Bluetooth Device……...……5
3. Proposed Model………………………………………………………..6
        3.1        Project Introduction…………………………………………..6
        3.2        Block Diagram…………………………………………….…7
        3.3        Hardware Requirements……………………………………...7
        3.4        Software Requirements………………………………………15
                                                  ivvii
                                                  ii
4. Working ……………………………………………………………….19
   4.1   Circuit Diagram……………………………………………...19
   4.2   Flow Chart…………………………………………………...21
5. Conclusion……………………………………………………………..22
   5.1   Result………………………………………………………...22
   5.2   Future scope………………………………………………….22
   5.3   Observations…………………………………………………23
6. Appendix……………………………………………………………….25
7. References……………………………………………………………...30
                     vviii
                     i
                                 LIST OF FIGURES
  i.    Block Diagram                                  7
 ii.    LED DMD                                        8
iii.    HC-05 Bluetooth Module                         8
iv.     Atmega328p Microcontroller                     9
v.      IC MAX7219                                     9
 vi.    Arduino Uno                                    10
vii.    Pin Diagram of Arduino                         12
viii. Arduino (IDE) Software                           16
 ix.    Proteus 8 Professional                         18
x.      Circuit Diagram                                19
xi.     Flow Chart                                     21
xii.    Hardware Implementation                        23
xiii.   Output (Default Message)                       24
xiv.    Output (Message Received By Bluetooth)         24
LIST OF TABLES
                                             viivi
                                             iii
                                      ABSTRACT
                                           viiiv
                                           iiii
                            1. INTRODUCTION
       Communication and the need to constantly be in touch with one another are very
vital and cannot be over stressed. Communication is a purposeful activity of exchanging
information across space and time using various technical or natural means, whichever is
available or preferred. Communication requires a sender, a message, a medium and a
recipient (Harper, 2013). Due to the present technological development, especially in the
field of communication and Wireless network, a lot of applications appeared for the
facility of our daily life needs. Such applications include using the electronic screens for
Wireless advertisements as a substitute of using normal papers fixed on advertisement
board, which is an inefficient cultural habit in addition to be against a clean environment.
As engineers we are focused to think of alternative solutions to let information be noticed
by others. Furthermore, using such methods spread information all over places such as
universities, libraries, banks, supermarkets and the like. The main purpose is to provide
the people with suitable information necessary and important in their lives. For example,
in the university, it allows the students know about the data and time of their examination,
or any other information they need as students.
                                              1
1.2 Objective of Project:
       This project is based on the idea of designing a led display system for wireless
communication between mobile and led display. In this, wireless communication is done
by Wi-Fi or Bluetooth. Now a day every mobile consist of Wi-Fi and Bluetooth features.
The users having mobile hand set can send message to the display to flash or to display
message content in scrolling pattern. Bluetooth module is used to receive the message in
circuit. The message content sent by the user is stored in Bluetooth module in case, the
user can sent message by using wifi then led controller was received the message and
stored in it. The led dot matrix display consist 8*8 matrix with a distance between the
rows or pins is 10mm. a preprogrammed microcontroller is used to supply with the
standard format of character set containing character and alphabets with the possibility of
generating and displaying punctuation marks, numbers, special characters, simple
graphics. Each character is display in the pattern based on hexadecimal values that are
stored in the microcontroller that is termed as look up or match table. The microcontroller
looks or matches from pattern and sent out the data bits serially and clock signal. Shift
registers are used to shift dada between the pins connected to each led. Persistence of
vision is the based of the fast scanning of data that is set on rows and column, which
allows the pattern to be display because of persistence of vision. Decode counter is used to
control the rows on the bases of pulses that is connected to the clock input of the
microcontroller the design involves both hardware and software.
                                              2
1.3 Organization of the dissertation report:
This section shows the organization of dissertation and serves as a road map to the reader.
   1. Chapter 1 in report starts with introduction of the project background which is the
       analysis of Bluetooth Controlled Notice Board Using Dot Matrix. Next this report
       will touch on the objective, necessity and problem definition that need to carry out
       in order to complete this project. thus this chapter sketches an overview of the
       report.
   2. Chapter 2 contains literature review Bluetooth Controlled Notice Board Using Dot
       Matrix which is helpful for us to develop our project in proteus.
   3. Chapter 3 gives detail block diagram description & working of circuit diagram of
       hardware system development. With this we also discuss about software system
       development & algorithm used in system development step wise execution.
   4. Chapter 4 describes results of the computational study. Simulation test result i.e.
       result of recognized task will be display on led dot matrix display which shows the
       received string via bluetooth.
5. Chapter 5 concludes the report with directions for summary and discussions.
                                              3
                           2. LITERATURE REVIEW
2.1 Rahul Kamboj and Preeti Abrol (2013) designed and developed a
GSM      based      multiple     LED       display     boards     using     AT89S52
microcontroller, GSM module.
       LCD and several moving LED displays. Multiple moving LED displays were
connected via different GSM modules at different geographical locations such that the
same SMS sent was displayed on all the moving LED displays. Though with few
limitations, this work proved to be cost-effective, secured and efficient as compared to
previous works.
       The complete system would have a dual system in terms of changing message
display, dual power supply switchable between solar power system and alternating current
(AC) from the utility supply and inbuilt motion detector that could automatically switch
OFF the whole system after working hours and would automatically switch ON if any
motion sensed by the motion detector after the programmed working hours. This work
would probably prove highly efficient in terms of ensuring better communication and
continuous power supply.
                                            4
2.3 Raj Hakani (2014) worked on Bluetooth based alphanumeric
scrolling display system.
        Small innovative steps in making use of technology for regular purposes would have an
adverse effect on the environment issues which we are presently concerned about. The main aim
of this paper is to design a SMS driven automatic display Board which can replace the currently
used programmable electronic display and conventional notice boards. It is proposed to design to
receive message in display toolkit which can be used from an authorized mobile phone. 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 matrix display board. Serial to parallel
communication is used for the entire process from WIFI module to Microcontroller and from
microcontroller to the matrix display. And for the acknowledgement LED display is used. The
proposed system in this paper 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.
                                                 5
                              3. PROPOSED MODEL
3.1 Introduction:
       Traditionally notice board is all about sticking information, but sticking various
notices day to day is a difficult process and consumes more time. To overcome this problem
here is a project deals with and innovative wireless notice board using bluetooth. The
system is comprised of both software and hardware. Software area includes the Bluetooth
android application development and code algorithm for microcontroller to receive and
display a notice on graphical dot matrix display. In this project, we used Arduino IDE
software for coding and Proteus 8 professional software for simulation. The hardware area
includes the development of receiver hardware using Atmega328P microcontroller are its
configuration of both module. The development system reflects the minimum requirement
to realize wireless notice board. This digital notice board project is design to develop a
mobile controlled scrolling message display for notice board. This scrolling display made up
off matrix LEDs. Android mobile can be used to change the display on the notice board. In
this project we are using Bluetooth technology to excess the display. Whenever used to turn
power supply then the system display default message on the LED display. Whenever user
needs to change the message on the notice board, the user had to type a message on an
application installed on an android mobile and send it to the microcontroller using Bluetooth
technology.
                                               6
3.2 Block Diagram:
                                               7
                              Figure 3.3.1: LED DMD
     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.
                                             8
3.3.3 Atmega 328 Microcontroller:
     The Atmega 32 bit microcontroller combines 32 kilobyte ISP flash memory with
read and write capabilities, 1 kilobyte EEPROM, 2 kilobyte SRAM, 23 general purpose
input output lines, 32 general purpose working registers, 3 flexible timer/counters with
compare modes, internal and external interrupts.
3.3.4 IC MAX7219
                                              9
3.3.5 Arduino Uno:
       The Uno board and version 1.0 of Arduino Software (IDE) were the reference
version of Arduino, now evolved to newer releases. This board is the first in a series of USB
Arduino boards.
                                              10
Microcontroller                    ATmega328P
Operating Voltage                  5V
SRAM                               2 KB (ATmega328P)
EEPROM                             1KB (ATmega328P)
Clock Speed                        16 MHz
Length                             68.6 mm
Width                              53.4 mm
                              11
3.3.6 Pin Diagram:
                                        12
Power USB
Arduino board is high-powered by victimisation the USB cable from your laptop. All
you would like to try to to is connect the USB cable to the USB affiliation (1).
Voltage Regulator
The main perform of transformer is to regulate the voltage given to the UNO board
and stabilize the DC volt utilized by the processor and alternative parts.
Crystal Oscillator
Crystal oscillator helps Arduino board in handling time problems. however will
Arduino calculate time? the solution is, by victimisation the quartz oscillator. the
amount written on high of the Arduino crystal is sixteen.000H9H. It tells North
American nation that the frequency is 16,000,000 Hertz or sixteen Mega Hertz.
Arduino Reset
You can reset your Arduino board, i.e., starts your program from the start. you'll reset
the UNO board in 2 ways in which. First, by exploitation the push button (17) on the
board.
      Most of the components used with Arduino board works fine with 3.3 volt and
       5 volt.
      GND (8)(Ground) − There are several GND pins on the Arduino, any of which
       can be used to ground your circuit.
      Vin (9) − This pin also can be used to power the Arduino board from an
       external power source, like AC mains power supply.
                                           13
Analog pins
The Arduino UNO board has five analog input pins A0 through A5. These pins will
scan the signal from AN analog device just like the gas device or humidness device
and convert it into a digital price that may be scan by the silicon chip.
Main microcontroller
Each Arduino board has its own microcontroller (11). you'll be able to assume it
because the brain of your board. the most IC on the Arduino is slightly totally different
from board to board.. you need to recognize what IC your board has before loading up
a replacement program from the Arduino IDE.. For a lot of details concerning the IC
construction and functions, you'll be able to confer with the information sheet.
ICSP pin
Mostly, ICSP (12) is associate degree AVR, a small programming header for the
Arduino consisting of MOSI, MISO, SCK, RESET, VCC, and GND. it's typically
mentioned as associate degree SPI (Serial Peripheral Interface), that may well be
thought-about as associate degree "expansion" of the output. Actually, you're slaving
the output device to the master of the SPI bus.
TX and RX LEDs
On your board, you'll notice 2 labels: TX-(Transmit) and RX-(receive). they seem in 2
places on the Arduino UNO board. 1st at the digital pins zero and one, to point the
pins accountable for serial communication. Second, the Transmit and receive junction
rectifier (13). The Transmit junction rectifier flashes with completely different speed
whereas causing the serial knowledge.
Digital I/O
The Arduino UNO board has fourteen digital Input-output pins (15) (of that six give
PWM (Pulse dimension Modulation) output. These pins will be organized to figure as
input digital pins to browse logic values (0 or 1) or as digital output pins to drive
completely different modules like LEDs, relays, etc.
                                          14
      AREF
      AREF stands for Analog Reference. it's typically, wont to set Associate in Nursing
      external reference voltage between zero and five Volts because the higher limit for the
      analog input pins.
        The editor has characteristics for cutting/pasting and for searching/replacing text.
The message area gives information while saving and also show errors. The console shows
text output by the Arduino Software (IDE), which includes complete error messages and
other information. The lowermost right-hand corner of the window shows the configured
board and serial port. The toolbar buttons allow you to validate and upload programs, create,
open, and save sketches, and open the serial monitor.
                                                15
                              Figure 3.4.1: Arduino (IDE)
       Drawing the schematic is very easy using Proteus. You can click the "Pick
devices" button and select the desired component. You can draw wires by clicking on the
terminal of the component or Vcc, Ground, etc.
                                             16
       Many of the components in Proteus can be simulated. There are two options for
simulating: Run simulator and advance frame by frame. The "Run simulator" option
simulates the circuit in a normal speed (If the circuit is not heavy). "Advance frame by
frame" option advances to next frame and waits till you click this button for the next time.
       You can make your own design or let Proteus do that for you. Making your own
design is simple, you just have to place the components used in the schematic and draw
traces over them. Don't worry about violating any design rules because it automatically
detects design rule (DRC) errors. You can also let Proteus do the work for you. 
                                              17
Figure 3.4.2: Proteus 8 Professional
                    18
                                 4. WORKING
                                                19
      The eight display matrix row, the output of the atmega328p, that is controlling 4017
decade counter as well as 74HC595 shift register for column. A current limiting register is
connected with each LED of the column. The shift register can allow current up to 8ma.
The 0 and 1 are in binary code is used for blinking the LEDs in the sequence to display
character. Microcontroller use ASCII code for character to be display stored in the internal
memory that matches the pattern in character generation. Controller send the code in series
of display pattern to the shift register. Any bit pattern that is ‘1’ means turn on the LED,
and any bit pattern that is ‘0’ means off LED. The clock transfer of serial data into shift
register is done by the controller and the process is repeated for first line of other matrix
display column segment now decade counter first pin controls the first row of the matrix in
dmd. All high LED display the character pattern. This process is repeated for all rows and
columns. The 16 bit display buffers are used for scrolling effect in 4 display matrix and the
message scroll from right to left direction.
     The system is a Microcontroller based SMS box. The main components of the kit
includes Microcontroller, GSM modem and Bluetooth device. These components are
integrated with the display board and thus incorporate the wireless features. The GSM
modem receives the SMS which are in turn passed to the microcontroller via a Bluetooth
connecting device. The AT commands are serially transferred to the modem through
MAX232. In return the modem transmits the stored message through the COM port. The
microcontroller validates the SMS and then displays the message in the LED display board.
Various time division multiplexing techniques have been suggested to make the display
boards function efficiently. In this prototype model, LED display is used for APP purpose.
During the process of implementation this can be replaced by actual display boards. In
addition to address matching, data can be received only by the dedicated receiver, and this
data is displayed on LED. It displays the same message until it receives another verified
message.
                                               20
4.2 Flowchart:
                              21
                                5. CONCLUSION
5.1 Result:
       With the completion of this project, Figures 5.3.2, & 5.3.3, the display is able to
properly display the intended voice recognition and automatically scrolling them through
the LED-dot matrix display. The LED dot matrix display is very versatile display and a
robust device that had been around through this vast spreading technology world, and yet
the way it has been use does not change a lot. Usually the display is being program through
wired data transfer. Many of them produce the display with different kind of software to
run them, while not all of them are working with one another. The usage of this project
would standardize the way it being reprogrammed.
       This project would eliminate the need to even physically touch the display that is
probably placed on a higher place. The app was able to reprogram the display from afar
through its Bluetooth connection. The objective is to integrate an android application that
able to access the Bluetooth capabilities in the phone was a success the app is able to turn
on the Bluetooth present on the phone and initiate the connection with other Bluetooth. The
app had successfully control the Arduino through the RX/TX modulation thus being able to
reprogram the display.
                                             22
5.3 Observations:
                                    23
      Fig 5.3.2. Default message
                 24
                                       6. APPENDIX
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
#if USE_UI_CONTROL
#include <MD_UISwitch.h>
#endif
#if DEBUG
#define PRINT(s, x) { Serial.print(F(s)); Serial.print(x); }
#define PRINTS(x) Serial.print(F(x))
#define PRINTX(x) Serial.println(x, HEX)
#else
#define PRINT(s, x)
#define PRINTS(x)
#define PRINTX(x)
#endif
// Define the number of devices we have in the chain and the hardware interface
// NOTE: These pin numbers will probably not work with your hardware and may
// need to be adapted
#define HARDWARE_TYPE MD_MAX72XX::PAROLA_HW
#define MAX_DEVICES 8
                                                    25
#define CLK_PIN 13
#define DATA_PIN 11
#define CS_PIN 10
// HARDWARE SPI
MD_Parola P = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
// SOFTWARE SPI
//MD_Parola P = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, CS_PIN,
MAX_DEVICES);
// Scrolling parameters
#if USE_UI_CONTROL
//const uint8_t SPEED_IN = A5;
const uint8_t DIRECTION_SET = 8; // change the effect
const uint8_t INVERT_SET = 9; // change the invert
#if USE_UI_CONTROL
MD_UISwitch_Digital uiDirection(DIRECTION_SET);
MD_UISwitch_Digital uiInvert(INVERT_SET);
                                                26
void doUI(void)
{
  // set the speed if it has changed
  {
    int16_t speed = map(analogRead(SPEED_IN), 0, 1023, 10, 150);
                                               27
void readSerial(void)
{
  static char *cp = newMessage;
  while (Serial.available())
  {
    *cp = (char)Serial.read();
    if ((*cp == '\n') || (cp - newMessage >= BUF_SIZE-2)) // end of message character or full
buffer
    {
      *cp = '\0'; // end the string
      // restart the index for next filling spree and flag we have a message waiting
      cp = newMessage;
      newMessageAvailable = true;
    }
    else // move char pointer to next position
      cp++;
  }
}
void setup()
{
  Serial.begin(9600);
  Serial.print("\n[Parola Scrolling Display]\nType a message for the scrolling display\nEnd
message line with a newline");
#if USE_UI_CONTROL
 uiDirection.begin();
 uiInvert.begin();
 pinMode(SPEED_IN, INPUT);
 doUI();
#endif // USE_UI_CONTROL
                                                  28
    P.begin();
    P.displayText(curMessage, scrollAlign, scrollSpeed, scrollPause, scrollEffect, scrollEffect);
}
void loop()
{
#if USE_UI_CONTROL
  doUI();
#endif // USE_UI_CONTROL
    if (P.displayAnimate())
    {
      if (newMessageAvailable)
      {
        strcpy(curMessage, newMessage);
        newMessageAvailable = false;
      }
      P.displayReset();
    }
    readSerial();
}
                                                     29
                                7. REFERENCES
[1] Priyanka. M, Bavithra, N and Ramya, R. (2018). Wireless E-Notice Board Using Bluetooth
   Technology ; UG Scholar Dept. of ECE, K.S.K Engineering College Kumbakonam,
   Tamilnadu ,India ,(ISSN: 2278-0181), International Journal of Engineering Research and
   Technology (IJERT) www.ijert.org
[2] Xuefeng BAI, Hanqing LI, (2015). The Design of LED Display Based on Solar Energy;
   (DOI: 10.1051/matecconf20153108001), Beijing Information Science and Technology
   University, Beijing, China, Mechanical and Electrical training Centre School of
   Automation. MATEC Web of Conferences 31,08001(2015) www.ioserjen.org
[3] Modi Tejal Prakash, kureshi Noshin Ayaz, Ostwal Pratikshas Sumtilal (2017). Digital
   Notice Board; SNJB’S. Katabatic Bhavarlalji Jain College of Engineering, Chandwad, Dist.
   Nashik, India. International Journal of Engineering Development and Research
   (IJEDR1702022), 2017 IJEDR/Volume 5, Issue 2/ ISSN:2321-9931 www.ijedr.org
[4] Farooquie Aliya, Sakhre Ashwarya Bomade Balaji Badole Madhavi, Ughade Ashvini, Prof.
   Shyam D. Bawanker (Vol. 09, Issue 5 May 2019), PP 52-56. Design and Implementation of
   wireless Notice Board Display on Arduino and Bluetooth Technology, Dept. of Electronics
   Engineering, D College of Engineering and Management, Nagpur, India. ISOR Journal of
   Engineering( IOSRJEN)
[5] Dabhare Tejas, Harne Gaurav, Bokade Akash, Matre Shubham (Vol. 04 Issue 06 2017).
   Digital Wireless Notice Board.BE Dept. of Electronic and Telecommunication, PJLCE,
   Nagpur, Maharashtra, India. International Research Journal of Engineering and
   Technology(IRJET) www.irjet.net
[6] Meenachi. A, Kowsalya S, and Kumar. P, pp.14-20, 2016 .wireless e-notice board using
   Wi-Fi and Bluetooth technology, vol 6 no 4 Journal of Network Communication and
   Engineering Technology (JNCET).
                                              30
[7] Mujumdar Anuradha, Niranjane Vaishali and Sagne Deepika, (2014) (pp.475-478).
   Scrolling LED display using Wireless transmission, International Journal of Engineering
   Development and Research (ISSN: 2321-9939), Volume 2, Issue 1.
[8] Kasilingan0. Gowrishankar, Ramlingam Mritha and Sekar Chandra (2014) .A Survey of
   light Emitting Diode (LED) Display Board Indian Journal of Science and Technology,
   vol.7(2), 185- 188, February 2014.
[9] Garg Vijay Kumar, Ewilkes Joseph, (pp177-192, 1999). Principle and Application of GSM
   Upper Saddle River, NJ Prentice Hall PTR.
                                               31
32
33
34
35
36