MULTIPURPOSE DETECTION AND PROTECTIONSYSTEM FOR HUMAN USING WIFI.

S. Nivedhan, S. Sutheesh and R. Eranyan. No 49 Annai velankann i nagar phase 1, madnandapuram, porur, Chennai – 600125. ...................................................................................................................... Manuscript Info Abstract ......................... ........................................................................ Manuscript History Received: 03 February 2019 Final Accepted: 05 March 2019 Published: April 2019


Working Of Pir Sensor
The PIR sensor itself has two slots in it each slot is made of a special material that is sensitive to IR .The lenses will be reflect the infrared and also detect the motions of the objects. The sensor inside the system will detect and the signals will be transmitted and the transmitted signals will in the form of the pulses.in the pir sensor the generated pulses will be transmitted to the external circuit connected to it .It also has the potential analyzer and also we can change the potential of the pir sensor so that sensitivity is changed in the pir sensor These change pulses are what is detected as in fig 1.    Figure 1:-Control unit The ATmega328/P provides the following features: 32Kbytes of In-System Programmable Flash with Read-While-Write capabilities, 1Kbytes EEPROM, 2Kbytes SRAM, 23 general purpose I/O lines, 32 general purpose working registers, Real Time Counter (RTC), three flexible Timer/Counters with compare modes and PWM, 1 serial programmable USARTs , 1 byte-oriented 2-wire Serial Interface (I2C), a 6-channel 10-bit ADC (8 channels in TQFP and QFN/MLF packages) , a programmable Watchdog Timer with internal Oscillator, an SPI serial port, and six software selectable power saving modes. The Idle mode stops the CPU while allowing the SRAM, Timer/Counters, SPI port, and interrupt system to continue functioning. The Power-down mode saves the register contents but freezes the Oscillator, disabling all other chip functions until the next interrupt or hardware reset. In Power-save mode, the asynchronous timer continues to run, allowing the user to maintain a timer base while the rest of the device is sleeping. The ADC Noise Reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC to minimize switching noise during ADC conversions. In Standby mode, the crystal/resonator oscillator is running while the rest of the device is sleeping. This allows very fast start-up combined with low power consumption. In Extended Standby mode, both the main oscillator and the asynchronous timer continue to run. Atmel offers the QTouch® library for embedding capacitive touch buttons, sliders and wheels functionality into AVR microcontrollers. The patented charge-transfer signal acquisition offers robust sensing and includes fully denounced reporting of touch keys and includes Adjacent Key Suppression® (AKS™) technology for unambiguous detection of key events. The easy-to-use QTouch Suite tool chain allows you to explore, develop and debug your own touch applications. The device is manufactured using Atmel's high density non-volatile memory technology. The On-chip ISP Flash allows the program memory to be reprogrammed In-System through an SPI serial interface, by a conventional nonvolatile memory programmer, or by an On-chip Boot program running on the AVR core. The Boot program can use any interface to download the application program in the Application Flash memory. Software in the Boot Flash section will continue to run while the Application Flash section is updated, providing true Read-While-Write operation. By combining an 8-bit RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega328/P is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega328/P is supported with a full suite of program and system development tools including: C Compilers, Macro Assemblers, and Program Debugger/Simulators, In-Circuit Emulators, and Evaluation kits.

Figure 2:-Operation of controlling unit
The Atmel 8-bit AVR RISC-based microcontroller combines 32 kB ISP flash memory with read-while-write capabilities, 1 kB EEPROM, 2 kB SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible timer/counters with compare modes, internal and external interrupts, serial programmable USART, a byteoriented 2-wire serial interface, SPI serial port, 6-channel 10-bit A/D converter (8-channels in TQFP and QFN/MLF packages), programmable watchdog timer with internal oscillator, and five software selectable power saving modes. The device operates between 1.8-5.5 volts. The device achieves throughput approaching 1 MIPS per MHz.

Buzzer:
Piezoelectric buzzers, or piezo buzzers, as they are sometimes called, were invented by Japanese manufacturers and fitted into a wide array of products during the 1970s to 1980s. This advancement mainly came about because of cooperative efforts by Japanese manufacturing companies. In 1951, they established the Barium Titanate Application Research Committee, which allowed the companies to be "competitively cooperative" and bring about several piezoelectric innovations and inventions.

Programming Of The esp8266
The esp8266 wifi has been programmed using the c programand it works on the server and client system the server wifi is programmed separately.In this system the clients are connected to the server. A page requested by the client is first parsed in the server and the embedded ASP generated contents in addition to static pages. The following The multipurpose system is which when the signal is received the data signal will be transmitted to the arduino board and the the required direction of the led will be glown.In this system when the animal crosses the pir sensor the sensed signal will be passed to the wifi and the client wifi will transmit the signal to the server wifi and then the signal will be send to the arduino board and then the recognized direction will be processed and the based direction led will be glown.
The Arduino Integrated Development Environment (IDE) is a cross -platform application written in Java, and is derived from the IDE for the processing programming language and wiring projects. It is designed to introduce programming to artists unfamiliar with software development. It includes a code editor with features such as index highlighting, brace matching and automatic indentation. It is also capable of compiling and uploading programs to the board with a single click. Arduino programs are written in C or C++. The Arduino IDE comes with a software library called "Wiring" from the original wiring project, which makes many input/ output operations much easier. User only needs to define two functions to make a runnable cyclic executive program. As the Arduino platform uses Atmel microcontrollers, Atmel"s development environment, AVR studio or the newer Atmel studio may also be used for the development of software for Arduino. Reduced space: Protection system are fully solid and hence extremely compact as compared to hardwire controller where in electromechanical devices are used. The wiring involved is simple and easier.