With the advent of technology, life has become faster in pace and shorter in interactions, with others, as well as with the surroundings. In such a scenario, there is a need to have an endeavor to have everything at the push of a button away, and more importantly, automated. Home Automation is such an endeavor, in which, all the electrical appliances present at home are connected to each other, having interactions with sensors placed at strategic positions in a closed loop manner in order to perform meager tasks automatically, leaving less burden on the humans. With this project we are promoting the fact that Home Automation can greatly contribute to energy conservation too.
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkKumar Goud
Abstract: The foremost critical task for coal mine is of keeping track of miners spread out across a large mining areas .It becomes even difficult when mine tunnels collapse. Many mines use a radio system to track miners, but when a collapse occurs, the base stations connected by a thin wire often are rendered useless. In this project to overcome the demerits of radio system we used wireless technology for tracking the miners. For this purpose a small RF transmitter module is equipped to each person entering a mine. Each transceiver placed in the mine look after the location of miners. The transceivers communicate with base stations through Zigbee module. In addition of tracking the location of miners we also include sensors such as temperature & humidity to intimate the base station & miners when some atmosphere changes occur. Mine operators are now able to monitor the real-time locations of each miner to better pinpoint their locations in the event of an emergency. Even after a full-day of use, mine operators can locate an individual miner within ten feet.
Key Words: Wireless sensor networks (WSN), ZIGBEE, and LPC2148.
Adding Remote Controller Functionality To Any StereoEditor IJCATR
Use of stereo has become common in our lives. They are used in cars, TVs, music players etc. And it is essential at least to control their volumes. Suppose there is a stereo amplifier which functions pretty well but it does not have a remote. It would be very annoying if its volume cannot be controlled. So this project is useful as it creates a device which makes use of any existing remote to control the volume. For controlling the volume, we use a volume controller IC. The electronic volume controller IC PT2258 is a digital potentiometer which can be controlled using I2C protocols. It is used to control the attenuation for every combination possible from 0 to -79 dB/step. Universal IR receiver is used to decode the IR codes and the data will be transferred to the Arduino which in turn communicates with the IC PT2258 and controls the volume. The device also consists of two buttons, which are used to synchronize the IR code of the existing remote with the device. So the user will be able to use the device easily.
My solution for this involves IoT device fixed on the safety jacket which is called Smart safety jacket.The Smart Safety Jacket enables complete safety of the employees working in mining and construction industries by installing a different type of sensors like Temperature sensor, Humidity sensor, Ultrasonic sensor, Motion sensor, Gas sensor, Sound sensor, RFID, Emergency Panel, and Notification Panel. These sensors connected to the network through Wi-Fi makes more relevant and valuable ever than before. In case of emergency, immediate notification will be sent to an admin who is monitoring entire miners in the mining industry and immediate action will be taken to rescue miner from the hazard.
The whole process can be stated in two points.
1. The miner has to wear the smart safety jacket (connected with the sensors) which is connected to the control room via a network.
2. A Monitor in the control room who is continuously monitoring the miners and the mining site should check the hazard status and alert and rescue the miners in case of any critical situation.
Thus the mining environment and miners will be protected from the hazard.
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkKumar Goud
Abstract: The foremost critical task for coal mine is of keeping track of miners spread out across a large mining areas .It becomes even difficult when mine tunnels collapse. Many mines use a radio system to track miners, but when a collapse occurs, the base stations connected by a thin wire often are rendered useless. In this project to overcome the demerits of radio system we used wireless technology for tracking the miners. For this purpose a small RF transmitter module is equipped to each person entering a mine. Each transceiver placed in the mine look after the location of miners. The transceivers communicate with base stations through Zigbee module. In addition of tracking the location of miners we also include sensors such as temperature & humidity to intimate the base station & miners when some atmosphere changes occur. Mine operators are now able to monitor the real-time locations of each miner to better pinpoint their locations in the event of an emergency. Even after a full-day of use, mine operators can locate an individual miner within ten feet.
Key Words: Wireless sensor networks (WSN), ZIGBEE, and LPC2148.
Adding Remote Controller Functionality To Any StereoEditor IJCATR
Use of stereo has become common in our lives. They are used in cars, TVs, music players etc. And it is essential at least to control their volumes. Suppose there is a stereo amplifier which functions pretty well but it does not have a remote. It would be very annoying if its volume cannot be controlled. So this project is useful as it creates a device which makes use of any existing remote to control the volume. For controlling the volume, we use a volume controller IC. The electronic volume controller IC PT2258 is a digital potentiometer which can be controlled using I2C protocols. It is used to control the attenuation for every combination possible from 0 to -79 dB/step. Universal IR receiver is used to decode the IR codes and the data will be transferred to the Arduino which in turn communicates with the IC PT2258 and controls the volume. The device also consists of two buttons, which are used to synchronize the IR code of the existing remote with the device. So the user will be able to use the device easily.
My solution for this involves IoT device fixed on the safety jacket which is called Smart safety jacket.The Smart Safety Jacket enables complete safety of the employees working in mining and construction industries by installing a different type of sensors like Temperature sensor, Humidity sensor, Ultrasonic sensor, Motion sensor, Gas sensor, Sound sensor, RFID, Emergency Panel, and Notification Panel. These sensors connected to the network through Wi-Fi makes more relevant and valuable ever than before. In case of emergency, immediate notification will be sent to an admin who is monitoring entire miners in the mining industry and immediate action will be taken to rescue miner from the hazard.
The whole process can be stated in two points.
1. The miner has to wear the smart safety jacket (connected with the sensors) which is connected to the control room via a network.
2. A Monitor in the control room who is continuously monitoring the miners and the mining site should check the hazard status and alert and rescue the miners in case of any critical situation.
Thus the mining environment and miners will be protected from the hazard.
IR BASED HOME AUTOMATION USING ARDUINO UNOMln Phaneendra
In this work, a remote controlled device is used to control 1 - 6 different single phase loads like Fans, Tube Lights and etc.,
This Automation can be operated up to a 30 feet of distance . Our work is based on Infra-Red(IR) technology and a simple Arduino Board(AB) using Printed Circuit Board(PCB).
The new designed circuit is more advantageous as it is portable, easy to carry and use.
This ppt presentation is to develop a home automation system with a touch screen based control panel based on microcontroller
Edgefxkits.com has a wide range of electronic projects ideas that are primarily helpful for ECE, EEE and EIE students and the ideas can be applied for real life purposes as well.
http://www.edgefxkits.com/
Visit our page to get more ideas on popular electronic projects developed by professionals.
Edgefx provides free verified electronic projects kits around the world with abstracts, circuit diagrams, and free electronic software. We provide guidance manual for Do It Yourself Kits (DIY) with the modules at best price along with free shipping.
The Project is about anti-theft & automation. It also provides protection against gas leakage by notification through sms and internet. Ability to control electrical equipments via internet
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...IJERA Editor
This paper describes an investigation into the potential for remote controlled operation of home automation (also called as Domotics) systems. It considers problems with their implementation, discusses possible solutions through various network technologies and indicates how to optimize the use of such systems. This paper emphasizes on the design and prototype implementation of new home automation system that uses WiFi technology as a network infrastructure connecting its parts. The proposed can be viewed on two fold; the first part is the software (web server), which presents system core that manages, controls, and monitors users’ home. Users and system administrator can locally (LAN) or remotely (internet) manage the system code. Second part is hardware interface module, which provides appropriate interface to sensors and actuator of home automation system. Unlike most of available home automation system in the market the proposed system is scalable that one server can manage many hardware interface modules as long as it exists on WiFi network coverage.
This is to design a circuit such that one can control home or industrial appliance using the help of remote. This circuit can be used to any of your home appliances (lamp, fan, radio, etc.) to make the appliance turn on/off from a TV remote control.
Using remote to control appliances reduces human efforts without compromising on efficiency. It also saves time. Infrared (IR) light is an electromagnetic radiation with a wavelength longer than that of visible light, measured from the nominal edge of visible red light at 0.7 μm and extending conventionally to 300 μm,. These radiations with a frequency below our eyes sensitivity cannot be seen, but can only be felt by our skin temperature sensors. Infrared is interesting, because it is easily generated and doesn't suffer electromagnetic interference and so it is widely used in communication and control circuits. The adventure of using lots of infrared in TV remote controls helped engineers to work on innovative projects like controlling home appliances using TV remotes etc. Receiver in the circuit receives pulsed IR rays from the remote and decoded signal is thus received by relay driver whose output activates the corresponding home appliance. According to this, it makes sense that the logical direction about managing home appliances (HASs) in the near future is going to be by means of a remote control. But wireless technologies in domestics should be implemented carefully.
The objective of this project is to design and develop a wireless communication link to monitor our organizations that require high security like Banks , Offices etc.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
This project is called ‘Voice Controlled Home Automation project using Arduino’
which enables a user to control the home appliances through voice commands sent to
an Android app i.e AMR voice app.
This paper aims to design an Advanced home automation system using normal web server and Wi-Fi technology. The devices can be switched ON OFF and sensors can be read using a Personal Computer PC through Wi-Fi. This paper helps to develop a home automation system that gives the user complete control over all remotely controllable aspects of his or her home. The automation system will have the ability to be controlled from a central host PC, the Internet, and also remotely accessed via a Pocket PC with a Windows Mobile based application. Er. Bharti Sood | Er. Rahul Gupta "Smart Home Automation using Wi-Fi" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-3 | Issue-2 , February 2019, URL: https://www.ijtsrd.com/papers/ijtsrd21372.pdf
Paper URL: https://www.ijtsrd.com/engineering/electronics-and-communication-engineering/21372/smart-home-automation-using-wi-fi/er-bharti-sood
IR BASED HOME AUTOMATION USING ARDUINO UNOMln Phaneendra
In this work, a remote controlled device is used to control 1 - 6 different single phase loads like Fans, Tube Lights and etc.,
This Automation can be operated up to a 30 feet of distance . Our work is based on Infra-Red(IR) technology and a simple Arduino Board(AB) using Printed Circuit Board(PCB).
The new designed circuit is more advantageous as it is portable, easy to carry and use.
This ppt presentation is to develop a home automation system with a touch screen based control panel based on microcontroller
Edgefxkits.com has a wide range of electronic projects ideas that are primarily helpful for ECE, EEE and EIE students and the ideas can be applied for real life purposes as well.
http://www.edgefxkits.com/
Visit our page to get more ideas on popular electronic projects developed by professionals.
Edgefx provides free verified electronic projects kits around the world with abstracts, circuit diagrams, and free electronic software. We provide guidance manual for Do It Yourself Kits (DIY) with the modules at best price along with free shipping.
The Project is about anti-theft & automation. It also provides protection against gas leakage by notification through sms and internet. Ability to control electrical equipments via internet
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...IJERA Editor
This paper describes an investigation into the potential for remote controlled operation of home automation (also called as Domotics) systems. It considers problems with their implementation, discusses possible solutions through various network technologies and indicates how to optimize the use of such systems. This paper emphasizes on the design and prototype implementation of new home automation system that uses WiFi technology as a network infrastructure connecting its parts. The proposed can be viewed on two fold; the first part is the software (web server), which presents system core that manages, controls, and monitors users’ home. Users and system administrator can locally (LAN) or remotely (internet) manage the system code. Second part is hardware interface module, which provides appropriate interface to sensors and actuator of home automation system. Unlike most of available home automation system in the market the proposed system is scalable that one server can manage many hardware interface modules as long as it exists on WiFi network coverage.
This is to design a circuit such that one can control home or industrial appliance using the help of remote. This circuit can be used to any of your home appliances (lamp, fan, radio, etc.) to make the appliance turn on/off from a TV remote control.
Using remote to control appliances reduces human efforts without compromising on efficiency. It also saves time. Infrared (IR) light is an electromagnetic radiation with a wavelength longer than that of visible light, measured from the nominal edge of visible red light at 0.7 μm and extending conventionally to 300 μm,. These radiations with a frequency below our eyes sensitivity cannot be seen, but can only be felt by our skin temperature sensors. Infrared is interesting, because it is easily generated and doesn't suffer electromagnetic interference and so it is widely used in communication and control circuits. The adventure of using lots of infrared in TV remote controls helped engineers to work on innovative projects like controlling home appliances using TV remotes etc. Receiver in the circuit receives pulsed IR rays from the remote and decoded signal is thus received by relay driver whose output activates the corresponding home appliance. According to this, it makes sense that the logical direction about managing home appliances (HASs) in the near future is going to be by means of a remote control. But wireless technologies in domestics should be implemented carefully.
The objective of this project is to design and develop a wireless communication link to monitor our organizations that require high security like Banks , Offices etc.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
This project is called ‘Voice Controlled Home Automation project using Arduino’
which enables a user to control the home appliances through voice commands sent to
an Android app i.e AMR voice app.
This paper aims to design an Advanced home automation system using normal web server and Wi-Fi technology. The devices can be switched ON OFF and sensors can be read using a Personal Computer PC through Wi-Fi. This paper helps to develop a home automation system that gives the user complete control over all remotely controllable aspects of his or her home. The automation system will have the ability to be controlled from a central host PC, the Internet, and also remotely accessed via a Pocket PC with a Windows Mobile based application. Er. Bharti Sood | Er. Rahul Gupta "Smart Home Automation using Wi-Fi" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-3 | Issue-2 , February 2019, URL: https://www.ijtsrd.com/papers/ijtsrd21372.pdf
Paper URL: https://www.ijtsrd.com/engineering/electronics-and-communication-engineering/21372/smart-home-automation-using-wi-fi/er-bharti-sood
An IOT Project Integrated with RFID and GPRSIJMTST Journal
In current scenario there is no security for the students and parents find difficulty to monitor the safety of the children when they move to school. Children may hold wrong bus or they may get down at wrong stop they may left behind the school or in the bus or they might simply skip the classes. In schools attendance were taken manually that kills the time for the teacher to call each student name and mark the attendance This project is very useful for the schools administrator to keep track of each and every student and look after their security. The main purpose of this project is to give the security for the students and to give the information for their parents to reduce their work and to reduce the burden involved in day-to-day activity of the teacher by taking the attendance. This software helps in reduce the hacking of the password and it is stored in the encrypted form. This development provides user friendliness. The main benefit of this project is for the administrator and also for the parents to reduce their burden. The project can be accessed by the authenticated users only and its dashboard helps the administrator to know about the student who is present for the class. It will notify the date and time of the student got into the bus so that it will helps the parents to know about the student information. Each module is made up of several supportive models performing various operations.
In this paper we have to design and implement
surveillance system by use of smart sensors like ultrasonic
sensors and pyroelectric infrared sensors (PIR) to detect an
intruder in a home, ATM, Industries, Bank Locker room or a
storehouse. The PIR sensors are placed on the ceiling, and the
ultrasonic sensor module consists of a transmitter and a receiver
which are placed vertically on the wall. We are going to use the
camera to capture images of the people those are coming under
the surveillance area. And we are sending these images to
authorized and related personnel via e-mail to avoid the storage
cost. This system will also help to reduce the power consumption.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
ML for identifying fraud using open blockchain data.pptx
Home Automation Using Arduino and ESP8266
1. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1446
Home Automation Using Arduino and ESP8266
Samir Samanta, Koushik Kr. Khan, Arghya Bhattacharyya, Sounak Das, Atul Barman, Mr.
Koushick Mathur
University Institute of Technology, The University of Burdwan, Golapbag (North), Burdwan, West Bengal, India
Abstract— With the advent of technology, life has become
faster in pace and shorter in interactions, with others, as
well as with the surroundings. In such a scenario, there is a
need to have an endeavor to have everything at the push of
a button away, and more importantly, automated. Home
Automation is such an endeavor, in which, all the electrical
appliances present at home are connected to each other,
having interactions with sensors placed at strategic
positions in a closed loop manner in order to perform
meager tasks automatically, leaving less burden on the
humans. With this project we are promoting the fact that
Home Automation can greatly contribute to energy
conservation too.
Keywords— Home Automation, ESP8266, sensors.
I. INTRODUCTION
A brief definition of Home Automation may be given in this
way as, “Home Automation is the technology, in which
every electrical appliance present inside a particular house
are connected to one another and to a set of “sensors”
placed at particular strategic positions, reading specific data
in a closed loop fashion to serve the purpose to automate all
the connected home appliances.”
The most important part in a fully automated system are the
sensors, be it [1]
IR motion sensors, heat sensors, smoke
detectors. The data they acquire are then sent to the
microcontroller unit, which then processes the data and
performs specific switching of the Home Appliances in a
real time fashion.
In this project we have set these specific objectives for our
version of the automated system.
1. Turn ON all the appliances when a
person enters the room.
2. He/They can then turn them ON or OFF
using an IR remote, or use a web
application for the purpose as
convenient.
3. Turn off everything whenever everyone
leaves the room, in other words, when
there are no one inside.
4. A person can remotely access the home
appliances if he feels the need be.
In addition to these there are many more possibilities that
we can explore with Home Automation systems.
We are using [2]
Arduino Uno development board as the
brain or the microcontroller unit of the system, [3]
ESP8266
as the World Wide Web interface and IR sensors to count
the number of people entering or leaving the room.
1.1Arduino Uno
According to the description given in the Arduino Website,
“Arduino/Genuino Uno is a microcontroller board based on
the ATmega328P. It has 14 digital input/output pins (of
which 6 can be used as PWM outputs), 6 analog inputs, a 16
MHz quartz crystal, a USB connection, a power jack, an
ICSP header and a reset button.”
Fig.1.1: Arduino Uno Development Board
Arduino is an open source project aiming at developing
greater curiosity towards DIY projects among students and
enthusiasts. Along with the development board, comes the
Arduino IDE based on a programming language called
Processing for programming the microcontroller.
1.2 ESP8266 Wi-Fi Module
The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP
stack and microcontroller capability produced by Espressif.
This small module allows microcontrollers to connect to a
Wi-Fi network and make simple TCP/IP connections
using AT commands.
The very low price and the fact that there were very little
external components on the module which suggests that it
could eventually be very inexpensive in volume make it the
component of choice for our needs.
2. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1447
Fig.1.2: Pin diagram of ESP8266
1.2.1 AT (Hayes) Commands
The Hayes command set is a specific command
language originally developed by Dennis Hayes for
the Hayes Smartmodem 300 baud modem in 1981. The
command set consists of a series of short text strings which
can be combined to produce commands for operations such
as dialing, hanging up, and changing the parameters of the
connection. The vast majority of dial-up modems use the
Hayes command set in numerous variations.
[4]
Some AT Commands used in our project with the ESP8266 and there functions
AT Command Response Description
AT OK
AT+RST
Description about the device
followed bt “OK”
To reset the module and refresh all
the settings.
AT+GMR
Description about the device
followed by “OK”
AT+CWMODE=<1,2,3> OK
1. The module acts as a Wi-Fi
enabled device that must
be connected to a router.
2. Acts as a Wi-Fi Hotspot
3. Acts as both
AT+CWLAP
Information about every Wi-
Fi router present in the
vicinity separated by
newlines.
To get to know if any AP is present
so that to connect to it.
Note: Doesn’t work in Mode 1.
AT+CWJAP=<SSID>,<password>
WIFI CONNECTED
WIFI GOT IP
OK
To connect to a specific access
point.
Note: Doesn’t work in Mode 1.
AT+CIOBAUD=<baud rate> OK
To set the Baud rate of the module
in accordance of the baud rate of the
microcontroller with which it is
used.
AT+CIPMUX=1 OK
To use the module in multiplexed
mode.
AT+CIPSERVER=1,80 OK
To get the message from port
number 80.
1.3 IR Sensors
We are using TSOP1738 IR sensor. The TSOP 1738 is a
member of IR remote control receiver series. This IR sensor
module consists of a PIN diode and a pre amplifier which
are embedded into a single package. The output of TSOP is
active low and it gives +5V in off state.
When IR waves, from a source, with a centre frequency of
38 kHz incident on it, its output goes low. TSOP
module has an inbuilt control circuit for amplifying the
coded pulses from the IR transmitter. A signal is generated
when PIN photodiode receives the signals. This input signal
is received by an automatic gain control (AGC). For a range
of inputs, the output is fed back to AGC in order to adjust
the gain to a suitable level. The signal from AGC is passed
to a band pass filter to filter undesired frequencies. After
this, the signal goes to a demodulator and this demodulated
output drives an NPN transistor. The collector output of the
transistor is obtained at Pin 3 of TSOP module.
3. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1448
Fig.1.3: TSOP1738 Pin Diagram
II. SCHEMATICS AND CODES
2.1The IR Sensor Circuit
To make use of the IR sensors, we have placed two IR LEDs at each side of the door, i.e., one is kept on the inner side and the
other on the outer side. Along with them the two TSOPs are placed opposite to them for detection of presence.
Fig.2.1: The Sensors Positioned At The Door
2.1.1Transmitter Part
Fig.2.2: 38kHz IR Transmitter
4. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1449
We have used a 555 astable multivibrator to produce near
about 38kHz output and used it drive two IR LEDs as
shown in the above figure. These LEDs would then go
about to be used as the 38kHz IR sources for the two
TSOPs to work with.
2.2.2 Reciever Part
The TSOPs need a power source of about 5V which can be
provided by the in built power source present in the UNO
board. The outputs of the TSOPs are analog values, which
are then connected to two of the six analog inputs present in
the Arduino Board.
Fig.2.3: TSOP1738 Connected To Arduino Uno
The analog input to the Arduino is decoded into an integer
value between 0-1024. Based on that we can judge if a
particular set of sensors has been triggered or not.
2.2 ESP8266 Interfacing To Arduino
Connecting an ESP8266 Wi-Fi module to the Arduino is
quite simple. We just need to connect the Tx of ESP to the
Rx of Arduino and vice-versa. There are hardware serial
ports in Arduino, marked Tx and Rx but we have used the
softwareserial header file to make 2 and 3 as Tx and Rx for
our purposes.
Fig.2.4: ESP Connected To Arduino Uno
The ESP takes about 300mA current. So, we had to use a
generic Breadboard Power supply, which has a 12V input
and can provide 12V,5V and 1.3V needed for the ESP8266.
2.3 Driving Electrical Appliances
To drive high voltage electrical appliances, we have used
12V relays.
2.4 Calculating the Number Of Persons Inside The
Room
Let us assume two variables IN and OUT for the respective
sensors. IN is providing a fictional value 0 when no one is
obstructing its source an1 otherwise and same for out. Then
if OUT=1 given that IN was already 1 then its understood
that the person is going outside and thus a counter is
decremented accordingly. And vice versa is applicable for a
person entering the premises.
Following is the Arduino Code used in our project.
int c=0;
int inner=0;
int outer=0;
int A=0,B=0;
int fa=0,fb=0;
void setup() {
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
Serial.begin(9600);
}
void loop() {
inner=analogRead(A4);
outer=analogRead(A5);
if(inner<500)
{
B=0;
}
else
{
B=1;
}
if(outer<500)
{
A=0;
}
else
{
A=1;
}
if(A==0)
{
fa=1;
if(fb==1){c--;}
}
else
{
5. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1450
fa=0;
}
if(B==0)
{
fb=1;
if(fa==1){c++;}
}
else
{fb=0;
}
Serial.println(inner);
Serial.println("n");
Serial.println(outer);
Serial.println("nn");
delay(500);
}
2.5 Controlling Arduino Pins Using Webpage
It should be noted that to use a webpage in the local domain
or in the Worldwide Web, the ESP8266 and in turn the
Arduino must be connected to the internet through a Wi-Fi
enabled router. The ESP works only when we enter the AT
commands for various functions like sending a message or
receiving one. Thus, we make the Arduino do all those
chores like opening up a link, connecting to the Access
Point, etc..
The following Arduino sketch does just that
#include <SoftwareSerial.h>
#define DEBUG true
SoftwareSerial esp8266(2,3); // make RX Arduino line is
pin 2, make TX Arduino line is pin 3.
// This means that you need to connect the
TX line from the esp to the Arduino's pin 2
// and the RX line from the esp to the
Arduino's pin 3
void setup()
{
Serial.begin(9600);
esp8266.begin(9600); // your esp's baud rate might be
different
pinMode(4,OUTPUT);
digitalWrite(4,LOW);
pinMode(5,OUTPUT);
digitalWrite(5,LOW);
pinMode(6,OUTPUT);
digitalWrite(5,LOW);
senddat("AT+RSTrn",10000,DEBUG);
senddat("AT+CWMODE=2rn",1000,DEBUG); //
configure as access point
senddat("AT+CIFSRrn",1000,DEBUG); // get ip address
senddat("AT+CIPMUX=1rn",1000,DEBUG); //
configure for multiple connections
senddat("AT+CIPSERVER=1,80rn",1000,DEBUG); //
turn on server on port 80
}
void loop()
{
if(esp8266.available()) // check if the esp is sending a
message
{
if(esp8266.find("+IPD,"))
{
delay(1000); // wait for the serial buffer to fill up (read
all the serial data)
// get the connection id so that we can then disconnect
int connectionId = esp8266.read()-48; // subtract 48
because the read() function returns
// the ASCII decimal value and 0
(the first decimal number) starts at 48
esp8266.find("pin="); // advance cursor to "pin="
int pinNumber = (esp8266.read()-48)*10;
pinNumber+=(esp8266.read()-48);// get first number i.e.
if the pin 13 then the 1st number is 1, then multiply to get
10
control(pinNumber);// toggle pin
// make close command
String closeCommand = "AT+CIPCLOSE=";
closeCommand+=connectionId; // append connection id
closeCommand+="rn";
senddat(closeCommand,1000,DEBUG); // close
connection
}
}
}
/*
Function senddat is used to make the ESP8266 execute the
required AT commands. It returns a string as prescribed in
the previous table of AT commands and their responses.
*/
String senddat(String command, const int timeout, boolean
debug)
{
String response = "";
esp8266.print(command); // send the read character to the
esp8266
long int time = millis();
while( (time+timeout) > millis())
{
while(esp8266.available())
6. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1451
{
// The esp has data so display its output to the serial
window
char c = esp8266.read(); // read the next character.
response+=c;
}
}
if(debug)
{
Serial.print(response);
}
return response;
}
/*Function control, to do the required actions on the
Arduino’s pins when it gets the required responses from the
exp8266 module through the serial wire.
*/
void control(int a)
{
switch(a)
{
case 10:digitalWrite(4,!digitalRead(4));
break;
case 11:digitalWrite(5,!digitalRead(5));
break;
case 12:digitalWrite(6,!digitalRead(6));
break;
case 13:digitalWrite(4,HIGH);
digitalWrite(5,LOW);
digitalWrite(6,LOW);
delay(1000);
digitalWrite(4,HIGH);
digitalWrite(5,HIGH);
digitalWrite(6,LOW);
delay(1000);
digitalWrite(4,HIGH);
digitalWrite(5,HIGH);
digitalWrite(6,HIGH);
delay(1000);
break;
default: break;
}
}
2.6 [5]
Controlling Arduino Through Generic IR Remote
We have also kept a provision to use an IR remote control
for controlling the home appliances when need be.
#include <IRremote.h>
int IRpin = 11,pin3=0,pin4=0,pin2=0,pattern=0;
IRrecv irrecv(IRpin);
decode_results results;
void setup()
{
pinMode(12,OUTPUT);
pinMode(13,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
digitalWrite(13,HIGH);
digitalWrite(12,LOW);
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, DEC); // Print the Serial
'results.value'
irrecv.resume(); // Receive the next value
}
switch(results.value)
{
case 33441975:pin4=1;
break;
case 33456255:pin4=0;
break;
case 33446055:pin3=1;
break;
case 33439935:pin3=0;
break;
case 33454215:pin2=1;
break;
case 33472575:pin2=0;
break;
default:break;
}
if(pin4==1)
digitalWrite(4,HIGH);
else
digitalWrite(4,LOW);
if(pin3==1)
digitalWrite(5,HIGH);
else
digitalWrite(5,LOW);
if(pin2==1)
digitalWrite(6,HIGH);
7. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1452
else
digitalWrite(6,LOW);
}
2.7 The Final Sketch Including Above Features
#include <SoftwareSerial.h>
#include <IRremote.h>
#define DEBUG true
SoftwareSerial esp8266(2,3); // make RX Arduino line is
pin 2, make TX Arduino line is pin 3.
// This means that you need to connect the
TX line from the esp to the Arduino's pin 2
int c=0;
int inner=0;
int outer=0;
int A=0,B=0;
int fa=0,fb=0;
int pin=0;
int flag=1;
int flg=0;
int IRpin = 11,pin3=0,pin4=0,pin2=0,pattern=0;
IRrecv irrecv(IRpin);
decode_results results;
void setup()
{
pinMode(12,OUTPUT);
pinMode(13,OUTPUT);
digitalWrite(13,HIGH);
digitalWrite(12,LOW);
Serial.begin(9600);
esp8266.begin(9600); // your esp's baud rate might be
different
pinMode(4,OUTPUT);
digitalWrite(4,LOW);
pinMode(5,OUTPUT);
digitalWrite(5,LOW);
pinMode(6,OUTPUT);
digitalWrite(5,LOW);
senddat("AT+RSTrn",10000,DEBUG);
senddat("AT+CWMODE=2rn",1000,DEBUG); //
configure as access point
senddat("AT+CIFSRrn",1000,DEBUG); // get ip address
senddat("AT+CIPMUX=1rn",1000,DEBUG); //
configure for multiple connections
senddat("AT+CIPSERVER=1,80rn",1000,DEBUG); //
turn on server on port 80
irrecv.enableIRIn();
}
void loop()
{
useWifi();
useIR();
inner=analogRead(A4);
outer=analogRead(A5);
if(inner<500)
{
B=0;
}
else
{
B=1;
}
if(outer<500)
{
A=0;
}
else
{
A=1;
}
if(A==0)
{
fa=1;
if(fb==1){c--;}
}
else
{
fa=0;
}
if(B==0)
{
fb=1;
if(fa==1){c++;}
}
else
{fb=0;
}
if(c>0)
{
if(flag == 1)
{
pin=1;
control(pin);
}
}
else
{
if(flg==0)
8. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1453
{
pin=0;
control(pin);
}
flag=1;
}
Serial.println(c);
}
void useIR()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, DEC);
IR_decode(results.value);// Print the Serial
'results.value'
irrecv.resume(); // Receive the next value
flag=0;
}
}
void useWifi()
{
if(esp8266.available()) // check if the esp is sending a
message
{
if(esp8266.find("+IPD,"))
{
delay(1000); // wait for the serial buffer to fill up (read
all the serial data)
// get the connection id so that we can then disconnect
int connectionId = esp8266.read()-48; // subtract 48
because the read() function returns
// the ASCII decimal value and 0
(the first decimal number) starts at 48
esp8266.find("pin="); // advance cursor to "pin="
pin = (esp8266.read()-48)*10;
pin+=(esp8266.read()-48);// get first number i.e. if the
pin 13 then the 1st number is 1, then multiply to get 10
control(pin);// toggle pin
// make close command
String closeCommand = "AT+CIPCLOSE=";
closeCommand+=connectionId; // append connection id
closeCommand+="rn";
sendData(closeCommand,1000,DEBUG); // close
connection
flag=0;
}
}
}
void IR_decode(int a)
{
switch(a)
{
case 33441975:pin=10;
break;
case 33446055:pin=11;
break;
case 33454215:pin=12;
break;
case 33456255:pin=13;
break;
case 33439935:pin=14;
break;
case 33472575:pin=15;
break;
case 33431775:pin=0;
break;
case 33480735:pin=1;
default:break;
}
control(pin);
}
String senddat(String command, const int timeout, boolean
debug)
{
String response = "";
esp8266.print(command); // send the read character to the
esp8266
long int time = millis();
while( (time+timeout) > millis())
{
while(esp8266.available())
{
// The esp has data so display its output to the serial
window
char c = esp8266.read(); // read the next character.
response+=c;
}
}
if(debug)
{
9. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1454
Serial.print(response);
}
return response;
}
void control(int a)
{
switch(a)
{
case 10:DecideAndUse(4,1);
break;
case 11:DecideAndUse(5,1);
break;
case 12:DecideAndUse(6,1);
break;
case 13:DecideAndUse(4,0);
break;
case 14:DecideAndUse(5,0);
break;
case 15:DecideAndUse(6,0);
break;
case 16:flg=1;
break;
case 17:flg=0;
break;
case 0: digitalWrite(4,LOW);
digitalWrite(5,LOW);
digitalWrite(6,LOW);
break;
case 1:digitalWrite(4,HIGH);
digitalWrite(5,HIGH);
digitalWrite(6,HIGH);
break;
default: break;
}
}
void DecideAndUse(int a,int b)
{
if(c>0)
{
if(b==1)
{
digitalWrite(a,HIGH);
}
else
{
digitalWrite(a,LOW);
}
}
else
{
if(flg==1)
{
if(b==1)
{
digitalWrite(a,HIGH);
}
else
{
digitalWrite(a,LOW);
}
flag=0;
}
else
{
digitalWrite(a,LOW);
}
}
}
2.8 HTML Code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>iCaRE Home Automation</title>
<<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="bootstrap.min.css"/>
<link rel="stylesheet" href="font-awesome.min.css">
</head>
<body>
<div class="menu">
<!-- Menu icon -->
<div class="icon-close">
<img src="close.png">
</div>
<!-- Menu -->
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about_us.html">About</a></li>
<li><a href="our_vision.html">Our Vision</a></li>
<li><a href="help.html">Help</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
10. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1448
Fig.1.3: TSOP1738 Pin Diagram
II. SCHEMATICS AND CODES
2.1The IR Sensor Circuit
To make use of the IR sensors, we have placed two IR LEDs at each side of the door, i.e., one is kept on the inner side and the
other on the outer side. Along with them the two TSOPs are placed opposite to them for detection of presence.
Fig.2.1: The Sensors Positioned At The Door
2.1.1Transmitter Part
Fig.2.2: 38kHz IR Transmitter
11. International Journal of Advanced Engineering, Management and Science (IJAEMS) [Vol-2, Issue-9, Sept- 2016]
Infogain Publication (Infogainpublication.com) ISSN: 2454-1311
www.ijaems.com Page | 1456
$('body').animate({
left: "0px"
}, 200);
});
$(".led").click(function(){
var p = $(this).attr('id'); // get id value (i.e. pin13,
pin12, or pin11)
// send HTTP GET request to the IP address with the
parameter "pin" and value "p", then execute the function
$.get("http://192.168.4.1:80/", {pin:p}); // execute get
request
});
};
$(document).ready(main);
III. CONCLUSION
In conclusion, our device works as expected. We are
expecting to add more and diverse features to take
“automated” to “smart” homes. Going by the trend, this is
going to be the future of clean and smart living. These
devices can run 24x7, 365 days and with a little tweak, we
can also monitor the number of people present. Indirectly,
this can also be used as anti-theft devices to monitor the
home remotely.
REFERENCES
[1] Infra Red Sensor (IR), From the article “Passive
Infrared Sensor”, Wikipedia – The Free Encylopedia.
[2] Arduino, From Arduino Project’s Official Website.
[3] ESP8266, From ESP8266 official website.
[4] AT Commands table as provided in an article
published in itead.cc.
[5] The IR library was used as published in github
directory by username “z3t0”.