This document describes a project to monitor and control a chicken farm using SMS messages. The system uses sensors to monitor the temperature and detect movement. It then sends SMS alerts to the owner's phone. The owner can reply by SMS to control devices like fans or heaters. The system connects a mobile phone to a PIC microcontroller using serial communication. It tests AT commands to send and receive SMS. The hardware includes a PIC, sensors, voltage regulator, LCD and MAX232. The project allows remote monitoring and control of the farm via inexpensive SMS technology.
GSM GPRS sim900 a modem with aurdino compatibleRaghav Shetty
This is a very low cost and simple Arduino GSM and GPRS shield. We use the module SIMCom SIM900A.
The Shield connects your Arduino to the internet using the GPRS wireless network. Just plug this module onto your Arduino board, plug in a SIM card from an operator offering GPRS coverage and follow a few simple instructions to start controlling your world through the internet. You can also make/receive voice calls (you will need an external speaker and microphone circuit) and send/receive SMS messages
This paper mainly focuses on using wireless technology effectively for security. The system is SMS-based and uses wireless technology to revolutionize the standards of living. It uses a GSM Modem to send an SMS to the home owner in case of an intrusion. The project is realized by interfacing an infrared trans-receiver with an ATMEGA16 microcontroller and a GSM Module. As the system uses GSM technology, it provides ubiquitous access to the system for security.
GSM GPRS sim900 a modem with aurdino compatibleRaghav Shetty
This is a very low cost and simple Arduino GSM and GPRS shield. We use the module SIMCom SIM900A.
The Shield connects your Arduino to the internet using the GPRS wireless network. Just plug this module onto your Arduino board, plug in a SIM card from an operator offering GPRS coverage and follow a few simple instructions to start controlling your world through the internet. You can also make/receive voice calls (you will need an external speaker and microphone circuit) and send/receive SMS messages
This paper mainly focuses on using wireless technology effectively for security. The system is SMS-based and uses wireless technology to revolutionize the standards of living. It uses a GSM Modem to send an SMS to the home owner in case of an intrusion. The project is realized by interfacing an infrared trans-receiver with an ATMEGA16 microcontroller and a GSM Module. As the system uses GSM technology, it provides ubiquitous access to the system for security.
The main aim of this project is to design an SMS driven automatic display notice board which can replace the currently used programmable electronic display. The message to be displayed is sent through a SMS from an authorized sender. The GSM receives the SMS, verifies the sender’s mobile identification pin(MIP) and displays the desired information on LCD.
The global system for mobile communications (GSM) is a set of recommendations and specifications for a digital cellular telephone network (known as a Public Land Mobile Network, or PLMN). These recommendations ensure the compatibility of equipment from different GSM manufacturers, and interconnectivity between different administrations, including operations across international boundaries
The GSM network is comprised of the following components:
Network Elements
The GSM network incorporates a number of network elements to support mobile equipment. They are listed and described in the GSM network elements section of this chapter.
GSM subsystems
In addition, the network includes subsystems that are not formally recognized as network elements but are necessary for network operation. These are described in the GSM subsystems (non-network elements) section of this chapter.
Standardized Interfaces
GSM specifies standards for interfaces between network elements, which ensure the connectivity of GSM equipment from different manufacturers. These are listed in the Standardized interfaces section of this chapter.
Network Protocols
For most of the network communications on these interfaces, internationally recognized communications protocols have been used
These are identified in the Network protocols section of this chapter.
GSM Frequencies
The frequency allocations for GSM 900, Extended GSM and Digital Communications Systems are identified in the GSM frequencies section of this chapter.
Agriculture field motor control system by using Global System for Mobile comm...venu452
Agriculture field motor control system by using Global System for Mobile communication .It is used for controlling agriculture field motor along with Micro Controller. And is a Embedded system based project
Real time tracking based on gsm and ir module for running traineSAT Journals
Abstract
The manual process of filling and submission of the Outdoor Duty Forms is very common today. Also there are many alternatives available for automated process of remote attendance and data analysis. But there is no solution yet that provides the integrated solution for automation of all these process. We therefore came with the concept of an application that provides these services. This application is about automated process of Outdoor duty forms, remote attendance, submission of sales and marketing data and its analysis. The application will be designed for corporate usage. A database system will be maintained regarding the submission of data and this data will be used for further analysis and intelligent results.
Keywords: ODForms (Outdoor Duty Forms), BI (Business Intelligence), RFID (Radio Frequency Identification), RTO (Regional Transport Office), KPI (Key Point Indicators).
GSM/GPRS Modem-RS232 is built with Dual Band GSM/GPRS engine- SIM900A, works on frequencies 900/ 1800 MHz. The Modem is coming with RS232 interface, which allows you connect PC as well as microcontroller with RS232 Chip(MAX232). The baud rate is configurable from 9600-115200 through AT command. The GSM/GPRS Modem is having internal TCP/IP stack to enable you to connect with internet via GPRS. It is suitable for SMS, Voice as well as DATA transfer application in M2M interface. The onboard Regulated Power supply allows you to connect wide range unregulated power supply . Using this modem, you can make audio calls, SMS, Read SMS, attend the incoming calls and internet through simple AT commands
A Combinatorial Approach to the Optimisation of Cd (1−x) Zn x S Layers for Cd...University of Liverpool
A combinatorial methodology has been adopted to determine the optimum composition of a Cd ( 1 − x)Zn x S window
layer for CdTe solar cells. The methodology generated a large, self
consistent dataset which permitted an unambiguous relationship
between x, conversion efficiency and related cell parameters to
be determined. An optimum composition of x = 0.57 was shown
to maximise cell efficiency. Analysis of J − V curves, measured
over 72 separate cells show that both short circuit current, J SC ,
and fill factor, F F , values increase with respect to x over the
range 0.1−0.57. EQE measurements show that further increases
in J SC value are limited by the band gap of the highly resistive
transparent (HRT) ZnO layer. The methodology demonstrates a
rapid route, compared to conventional experiments, to the further
optimisation of CdTe solar cells.
The main aim of this project is to design an SMS driven automatic display notice board which can replace the currently used programmable electronic display. The message to be displayed is sent through a SMS from an authorized sender. The GSM receives the SMS, verifies the sender’s mobile identification pin(MIP) and displays the desired information on LCD.
The global system for mobile communications (GSM) is a set of recommendations and specifications for a digital cellular telephone network (known as a Public Land Mobile Network, or PLMN). These recommendations ensure the compatibility of equipment from different GSM manufacturers, and interconnectivity between different administrations, including operations across international boundaries
The GSM network is comprised of the following components:
Network Elements
The GSM network incorporates a number of network elements to support mobile equipment. They are listed and described in the GSM network elements section of this chapter.
GSM subsystems
In addition, the network includes subsystems that are not formally recognized as network elements but are necessary for network operation. These are described in the GSM subsystems (non-network elements) section of this chapter.
Standardized Interfaces
GSM specifies standards for interfaces between network elements, which ensure the connectivity of GSM equipment from different manufacturers. These are listed in the Standardized interfaces section of this chapter.
Network Protocols
For most of the network communications on these interfaces, internationally recognized communications protocols have been used
These are identified in the Network protocols section of this chapter.
GSM Frequencies
The frequency allocations for GSM 900, Extended GSM and Digital Communications Systems are identified in the GSM frequencies section of this chapter.
Agriculture field motor control system by using Global System for Mobile comm...venu452
Agriculture field motor control system by using Global System for Mobile communication .It is used for controlling agriculture field motor along with Micro Controller. And is a Embedded system based project
Real time tracking based on gsm and ir module for running traineSAT Journals
Abstract
The manual process of filling and submission of the Outdoor Duty Forms is very common today. Also there are many alternatives available for automated process of remote attendance and data analysis. But there is no solution yet that provides the integrated solution for automation of all these process. We therefore came with the concept of an application that provides these services. This application is about automated process of Outdoor duty forms, remote attendance, submission of sales and marketing data and its analysis. The application will be designed for corporate usage. A database system will be maintained regarding the submission of data and this data will be used for further analysis and intelligent results.
Keywords: ODForms (Outdoor Duty Forms), BI (Business Intelligence), RFID (Radio Frequency Identification), RTO (Regional Transport Office), KPI (Key Point Indicators).
GSM/GPRS Modem-RS232 is built with Dual Band GSM/GPRS engine- SIM900A, works on frequencies 900/ 1800 MHz. The Modem is coming with RS232 interface, which allows you connect PC as well as microcontroller with RS232 Chip(MAX232). The baud rate is configurable from 9600-115200 through AT command. The GSM/GPRS Modem is having internal TCP/IP stack to enable you to connect with internet via GPRS. It is suitable for SMS, Voice as well as DATA transfer application in M2M interface. The onboard Regulated Power supply allows you to connect wide range unregulated power supply . Using this modem, you can make audio calls, SMS, Read SMS, attend the incoming calls and internet through simple AT commands
A Combinatorial Approach to the Optimisation of Cd (1−x) Zn x S Layers for Cd...University of Liverpool
A combinatorial methodology has been adopted to determine the optimum composition of a Cd ( 1 − x)Zn x S window
layer for CdTe solar cells. The methodology generated a large, self
consistent dataset which permitted an unambiguous relationship
between x, conversion efficiency and related cell parameters to
be determined. An optimum composition of x = 0.57 was shown
to maximise cell efficiency. Analysis of J − V curves, measured
over 72 separate cells show that both short circuit current, J SC ,
and fill factor, F F , values increase with respect to x over the
range 0.1−0.57. EQE measurements show that further increases
in J SC value are limited by the band gap of the highly resistive
transparent (HRT) ZnO layer. The methodology demonstrates a
rapid route, compared to conventional experiments, to the further
optimisation of CdTe solar cells.
A low-cost non-toxic post-growth activation step for CdTe solar cellsUniversity of Liverpool
Cadmium telluride, CdTe, is now firmly established as the basis for the market-leading thin-film solar-cell technology. With laboratory efficiencies approaching 20 per cent1, the research and development targets for CdTe are to reduce the cost of power generation further to less than half a US dollar per watt (ref. 2) and to minimize the environmental impact. A central part of the manufacturing process involves doping the polycrystalline thin-film CdTe with CdCl2. This acts to form the photovoltaic junction at the CdTe/CdS interface3, 4 and to passivate the grain boundaries5, making it essential in achieving high device efficiencies. However, although such doping has been almost ubiquitous since the development of this processing route over 25 years ago6, CdCl2 has two severe disadvantages; it is both expensive (about 30 cents per gram) and a water-soluble source of toxic cadmium ions, presenting a risk to both operators and the environment during manufacture. Here we demonstrate that solar cells prepared using MgCl2, which is non-toxic and costs less than a cent per gram, have efficiencies (around 13%) identical to those of a CdCl2-processed control group. They have similar hole densities in the active layer (9 × 1014 cm−3) and comparable impurity profiles for Cl and O, these elements being important p-type dopants for CdTe thin films. Contrary to expectation, CdCl2-processed and MgCl2-processed solar cells contain similar concentrations of Mg; this is because of Mg out-diffusion from the soda-lime glass substrates and is not disadvantageous to device performance. However, treatment with other low-cost chlorides such as NaCl, KCl and MnCl2 leads to the introduction of electrically active impurities that do compromise device performance. Our results demonstrate that CdCl2 may simply be replaced directly with MgCl2 in the existing fabrication process, thus both minimizing the environmental risk and reducing the cost of CdTe solar-cell production.
Briefing for the RSA International Solar Challenge. Delivered by Rob Treharne on Thurs 25 Feb 2016 @ 11am, Stephenson Institute for Renewable Energy, University of Liverpool
An introduction to the fundamental physics of transparent conducting oxides including a review of the electrical and optical properties of common materials.
The document contains detailed description for displaying a Message on LED Notice board through SMS service Wirelessly, if facing any problem you can mail me at rajneeshkumarsalgotra@gmail.com with Subject GSM Wireless Notice Board Report_Your Name
The Journal of MC Square Scientific Research is published by MC Square Publication on the monthly basis. It aims to publish original research papers devoted to wide areas in various disciplines of science and engineering and their applications in industry. This journal is basically devoted to interdisciplinary research in Science, Engineering and Technology, which can improve the technology being used in industry. The real-life problems involve multi-disciplinary knowledge, and thus strong inter-disciplinary approach is the need of the research.
Implementation Of GSM Based Fire Alarm and Protection SystemBUBT
Now we are going to build a very interesting project – a Fire Alarm System which will send SMS to a set of Mobile Numbers when fire occurs in a particular location. This fire alarm project make use of modern communication technologies.
The main aim of the project will be to design a SMS driven automatic display toolkit which can replace the currently used programmable electronic display.
.
Advanced Automation System in Industrial Applications Using PIC Microcontrol...IJMER
The main aim of this paper is to design and develop an advanced automation system in the
industries. In this technique we are using the GSM modem which have the SIM card present in it, the
user can send message on the 10 digit SIM number using the cell phone from any part of the world. The
micro controller is programmed using the embedded C. when the user will send the message to a
particular device that particular device will be on or we can also off the device. Example if the motor is
in over voltage, under voltage, over current in that time the microcontroller will trip the circuit and give
the message feedback to the user. The micro controller will read the temp from the sensor and it will
display the same on the LCD when the incoming temp crosses the set limit the micro controller will turn
OFF the device and will send the message to owner using the SIM card present in the GSM modem. We
can also check the continuous status of the device.
International Journal of Computational Engineering Research (IJCER) is dedicated to protecting personal information and will make every reasonable effort to handle collected information appropriately. All information collected, as well as related requests, will be handled as carefully and efficiently as possible in accordance with IJCER standards for integrity and objectivity.
Telephone system works on the modem technology. There are different types of modems available. Any mobile available in the market is made up of a inbuilt modem and the controlling software. In market GSM and GPRS modems are also available. So keeping these things in consideration we are building a project to control the GSM modem which is connected to the system.
We are connecting the GSM modem to the system using any supportable port like serial or USB port then develop software to control the functionality of the system.
Design and Implementation of Vehicle Gaseous Fuel Leakage Detection System us...ijsrd.com
In this paper, a new method of designing and development of a microcontroller based toxic gas detection system is proposed. If the toxic gas or fuel leakage has been detected, the system automatically alerts the driver through buzzer, opens the car door automatically and transmits the warning message to the authorized user through the GSM module attached. User can send SMS and receive SMS through GSM Modem, based on that message User can control some appliances in host section. This system aims to modify an existing safety model employed in automotive field. It can be used in any Vehicle like Car, Bus Van etc. The advantage of this automated detection/alarm system is that, it offers faster response time and accurate detection of an emergency in turn leading to faster diffusion of the situation, compared to manual methods. This is a very compelling reason that justifies designing such a safety system.
This project uses mobile technology and since mobile has very large range, the project also has very large range. But finally it depends on the coverage of the mobile network.
Similar to Monitoring and controlling_system_in_a_chicken_farm(eee499.blogspot.com) (20)
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
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.
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
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.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
This paper addresses the vulnerability of deep learning models, particularly convolutional neural networks
(CNN)s, to adversarial attacks and presents a proactive training technique designed to counter them. We
introduce a novel volumization algorithm, which transforms 2D images into 3D volumetric representations.
When combined with 3D convolution and deep curriculum learning optimization (CLO), itsignificantly improves
the immunity of models against localized universal attacks by up to 40%. We evaluate our proposed approach
using contemporary CNN architectures and the modified Canadian Institute for Advanced Research (CIFAR-10
and CIFAR-100) and ImageNet Large Scale Visual Recognition Challenge (ILSVRC12) datasets, showcasing
accuracy improvements over previous techniques. The results indicate that the combination of the volumetric
input and curriculum learning holds significant promise for mitigating adversarial attacks without necessitating
adversary training.
Runway Orientation Based on the Wind Rose Diagram.pptx
Monitoring and controlling_system_in_a_chicken_farm(eee499.blogspot.com)
1. 1
Al – Najah National University
Factually Of Engineering
Electrical Engineering Department
Monitoring and Controlling System in a Chicken
Farm
Students:
Eman Madi
Maysoon Mohanna
Supervisor :
Dr. Jamal Kharousheh.
2. 2
Contents
Abstract…………………………………………….…4
Chapter one : Introduction
1.1 Introduction…………………………………………….5
1.2 Objectives……………………………………..................5
1.3 Where we can use this project?..........................................5
1.4 Project definitions…………………………….................6
1.4.1 Why we need SMS control system? …………….……...6
1.4.2 What is SMS ?...................................................................6
1.5 Introduction to AT commands…………...………….........8
Chapter two: Project Idea and Problem Statement
2.1 Project Idea………………………………………...…...10
2.2 Problem statement……………………………………..11
Chapter three: AT Command Test
3.1 AT Test…………………………………………….…12
3.1.1 To perform test………………………………..12
3.1.2 Sending SMS…………………………….……16
3.1.3 Receiving SMS………………………………..17
3.1.2 Reading a message…………………...……….18
Chapter four: Project Hardware and Software
4.1 Connecting mobile to PIC (16F877)…………………...20
4.2 Project Hardware…………………………….………...23
4. 4
Abstract:
In our project we aim to control such place and monitor it by making
direct communication between the Mobile and Microcontroller (PIC
16F877) , in our case a chicken farm in order to help the owners to
control the farm temperature degree with respect to weather conditions,
and it can be use in security purposes such as monitor any unfamiliar
movement in the farm by using modern technologies especially SMS
technology.
In order to detect the farm temperature we will use a temperature
sensor, and for motion monitoring we will use an infra red sensor.
After we will take the signal to the PIC it will send an SMS to the
owner’s mobile who will send another SMS to determine the action that
he want such as turn on a conditioner or a fan if it is hot or turn on a
heater if it is cold .
Or turn on an alarm if anyone cut the infrared sensor.
Fig.: Project general view
5. 5
Chapter One Introduction
1.1 Introduction:
The mobile communication is now available every where the easy with
which you can deal with mobile phone to make calls and to make SMS
made the mobile phone very popular we can also see that the SMS price is
very cheap and because of that we made our minds to co this project to
add anew dimension to the mobile phone .
Our project offers wide range of remote monitoring and controlling
actions .
Imagine you can monitor and control any place you want via SMS as
turning on fans ,heaters ,alarms ……etc .
1.2 Objectives :
1-our project aims to allow owners to monitor and control their farms or
houses devices from far places.
2-allow owners to control their farms or houses by cheap cost.
1.3 Where we canusethis project?
We can use this project in any place need to be controlled and monitored ,
such as your home, company ,farms , …….
In our case we choose the chicken farm to control and monitor it.
6. 6
1.4 Project definitions
control system?SMSWhy we need1.4.1
SMS control system is very useful at the place we have the devices that
we need to monitor & control them from any where , such that when we
are in travel .
Monitoring & controlling device from a far location is wonderful thing
so , we enjoy in working on this project because of it is multi –
application.
This project application can be used in every home , school ,office , factory
,and any residential ,commercial ,educational and industrial building .
?SMSWhat is1.4.2
Short message service (SMS) is the ability to send & receive short
alphanumeric messages to and from mobile telephones . the first short text
message is believed to have been transferred in 1992 over signaling
channels of a European GSM network .
Since this successful trial SMS usage has been the subject of tremendous
growth .
Work on the standardization of SMS was initiated by ETSI –actually it
was created as part of the GSM phase 1 standard , and it is now being
carried out in the scope of 3GPP activities . since it is initial introduction
in GSM networks, SMS has been ported to other network technologies
such as GPRS and CDMA .
The short messages service allows users to exchange messages containing
a short amount of text –up to 160 characters .these messages can be sent
from GSM /UMTS mobile devices & also from a wide range of other
devices such as internet hosts , telex , and facsimile . the SMS is a very
mature technology supported by 100% of GSM handsets and by most
GSM networks worldwide.
7. 7
1.4.3 Advantages and disadvantages of SMS :
Advantages of SMS:
1-SMS allows users to directly transmit messages To each other without
operator
2- store and forward If the recipient is not available when the message
arrives the message is stored
3- when the message is sent all the delivery details and processes are
handled by the SMS center which is located at the mobile network
operators site .
4- message delivery notification User is informed that his or her message
has been delivered to the destination point .in a circuit –switched data
transmission environment a dedicated line is formed between the two
points and the user is kept apprised of the connection delivery situation.
Disadvantages of SMS
1-limited message length
Because of the limitations associated with the MPA( mobile application
part) signal layer ,an SMS message may contain maximum 160 characters
in a GSM environment for latin characters & a max of 140 for non
latin characters
2- inflexible structure
The frame work of the SMS protocol data unit that was defined in GSM
03.40 standard is not flexible enough .data coding scheme , origination
address ,protocol identifier , and other header fields .
3- slow signal channel
Congestion in the SMS traffic may give rise to overuse .this inefficient
use makes network operator anxious about the potential service
bottlenecks.
8. 8
4- always store & forward
In current SMS architecture all messages must pass through the SMS
center before pointing to the destination address.
1.5 Introduction to AT commands:
AT commands are instructions used to control a modem.
AT is the Abbreviation of Attention , every command line starts with
"AT" for this reason modem commands are called AT commands .
Many of the commands that are used to control wired dial-up modems
,such as:
ATD (dial)
ATA(answer)
ATH(hook control)
ATO (return to on line data state)
Are also supported by GSM/GPRS modems and mobile phones.
Besides this common AT command set , GSM/GPRS modems and mobile
phones support an AT command set that is specific to the GSM
technology ,which includes SMS -related commands .
The following table lists the AT commands that are related to the writing
and sending of SMS messages:
AT command Meaning
+CMGS Send message
+CMSS Send message from storage
+CMGW Write message to memory
+CMGD Delete message
+CMGC Send command
+CMMS More messages to send
+CMGR Read SMS messages
+CMGL list SMS messages
9. 9
One way to send AT commands to a mobile phone or GSM/GPRS modem
is to use a terminal program. A terminal program's function is like this: It
sends the characters you typed to the mobile phone or GSM/GPRS
modem. It then displays the response it receives from the mobile phone or
GSM/GPRS modem on the screen. The terminal program on Microsoft
Windows is called HyperTerminal
10. 10
Chapter two Project Idea and Problem Statement
2.1 Project Idea:
The goal of this project is monitoring & controlling the temperature
degree in a chicken farm by SMS from far place ,this achieved by using
two part one is serial port with mobile & temperature sensor & infra red
sensor that sense the change in degree in the farm & any unfamiliar
movement , this part can send SMS to second part which is simply mobile
tell the owner what happens to the degree if it is high or low & if there is
any unfamiliar movement this part called (sensing part) . then the owner
of the mobile decide the action to return the degree in the farm suitable by
sending SMS to the first part to make specific action like turn on fan or
heater ,& turn on alarm system this called the (controlling part ).
The following block diagram illustrate the idea :
SMS
Fig. : Basic Over view
Interfacing
Circuit .
Sensing&
monitoring
System
11. 11
2.2 Problem statement :
To get started doing our project several points are to be determined :
1- type of GSM network :
In our project we select GSM 900 MHZ JAWWAL it is the available
one in Palestine
2- Type of mobile useable :
We decide to use Nokia 6070 mobile phone, it is support AT commands &
easy to deal with it
3- SMS Coding System:
We must know how the coding system of SMS in the network work .
4- Sensors behavior:
a- Temperature sensor:
We must learn how the sensor read the change in temperature degree &
how we can read data from it & that will explain later .
b- infrared sensor:
We must learn how the sensor sense the unfamiliar movement in the
farm & how we can read data from it & that will explain later .
12. 12
Chapter Three AT CommandTest
We find that the PIC support the AT commands , so we decide to use
these command to program the PIC , to do so first we must test our mobile
response for this commands by the following AT test.
3.1 AT Test
After we succeed in finding the right mobile which supports the AT
commands, we started looking for it's AT command.
Fig: The mobile phone & it is serial we use
To perform test:3.1.1
To use HyperTerminal to send SMS to your mobile phone using AT
commands we follow the procedure below:
1. Connect your mobile phone to a computer by using a serial cable.
2. Run HyperTerminal by selecting Start -> Programs -> Accessories -
> Communications -> HyperTerminal.
3. In the Connection Description dialog box, enter a name and choose
an icon you like for the connection. Then click the OK button.
13. 13
Fig.: HyperTerminal's Connection Description dialog box
4. In the Connect To dialog box, choose the COM port that your mobile
phone is connecting to in the Connect using combo box. For example,
choose COM1 if your mobile phone is connecting to the COM1 port. Then
click the OK button.
Fig. : HyperTerminal's Connect dialog box.
5. The Properties dialog box comes out. Enter the correct port settings
for your mobile phone. Then click the OK button.
In our case the baud rate to be 115200 bps ,the other parameters are :
data bits 7,parity none ,stop bits 1,fiow control none
14. 14
Fig.: The COM properties box
6. Then go to file > properties>setting >ASCII setup> echo typed
characters locally then click the ok button.
Fig. : properties
15. 15
Fig. : Settings
Fig. : ASCII Setup
After that the first step to start your test Type " AT " on the Hyper
Terminal , then the GSM phone " mobile" will respond with an " OK "
16. 16
Fig. : AT Response
SendingSMS:1.23.
Fig . : Sending SMS
1- Line1:"AT" is sent to the GSM/GPRS modem to test the connection .
the GSM/GPRS modem sends back the result code "ok" (line 2), which
means the connection between the hyper terminal program & the
GSM/GPRS modem works fine .
2- Line 3: the AT command +CMGF is used to instruct the GSM/GPRS
17. 17
modem to operate in SMS text mode . the result code "ok" is returned (line
4) , which indicates the command line "AT +CMGF=1" has been executed
successfully .
3- Line 5 and 6: the AT command +CMGS is used to send an SMS text
message to GSM/GPRS modem "0599* * * * * * " is the recipient mobile
phone number . after typing the recipient mobile phone number ,you
should press the enter button of the keyboard .
The GSM/GPRS modem will then return a prompt">" and you can start
typing the SMS text message when finished ,press ctrl+z of the keyboard
.
4- line 7: the result code "ok" indicates the execution of the AT command
+CMGS is successful.
Receiving SMS :1.33.
Fig. : Receiving SMS
1- line 1:"AT" is sent to the GSM/GPRS modem to test the connection
.the GSM/GPRS sends back the result code "ok"(line 2), which means the
18. 18
connection between the hyper terminal program & GSM/GPRS modem
works fine .
2- line 3 :the AT command +CMGF is used to instruct the GSM/GPRS
modem to operate in SMS text mode . the result code "ok" is returned
(line4), which indicates the command line "AT+CMGF=1" has been
executed successfully
3- line 5: the AT command +CMGR is used to receive SMS text message
of the GSM/GPRS modem ."0599 * * * * * *" is the sender mobile phone
number
4- Line 6:the result code "ok" indicates the execution of the AT command
+CMGR is successful .
3.1.2 Reading a message:
The AT command responsible for this is :
AT + CMGR
Fig. :Reading Message
19. 19
Chapter Four Project Hardware and Software
4.1 Connecting Mobileto PIC(16F877)
A microcontroller , PIC 16F877, is connecting with a RS232 transceiver
to provide a 9600 bps serial link to the Nokia 6070 mobile phone .
Fig. : Mobile To Serial
With this circuit we can monitor temperature degree and any un familiar
movement , and controlling them by sending and receiving SMS message
with any mobile phone.
4.2 Project Hardware
To perform this project we need to perform hardware which consist of
two parts .
Part One :
Part one is a monitor & sensing part that consist of
First we build the basic cct of PIC & we add to it LCD to show & notice
the commands when comes out from mobile to PIC & vise versa ,also we
add (DB9) connector to interface the mobile phone with PIC & we need
to add an interfacing to the element which we want to control like fans
,heaters …..etc .
20. 20
Part Two :
Simply mobile phone to receive the change in degree from first part. And
to send orders to first part to control elements or machines or what we
need to control.
Fig. : Schematic Diagram
21. 21
4.2.1 Hardware Elements:
1- Microcontroller (PIC16f877):
A microcontroller is a miniature computer . it is an integrated chip (IC)
that has a central processing unit (CPU) ,random access memory (RAM)
,read only memory (ROM) and other components that is present in a
computer. the PIC microcontroller is manufactured by microchip
technology Inc .
We choose PIC 16f877 microcontroller for the following reason :
1-it is a flash programmable device (no need for UV eraser ).
2-it has a built –in EEPROM (non- volatile memory ).
3-it is in-circuit programmable (only a small circuit needs to be built for
programming ).
4-it has support for various boot –loader .
5-it is cheap .
We use the PIC to control some external devices ,a microcontroller
executes a user program which is loaded in its program memory .in our
project we received data from sensors located in farms,
then data is sent to external output devices (mobile) in SMS form &
then it received SMS from mobile that include orders to control devices as
conditioners or heaters .
2-Voltage Regulation
The voltage regulator circuit consisted of a MC7805ACT chip
which would provide a step down from 12V to 5V , The 100 μF
Capacitor provide circuit protection.
Additionally, the module would need to provide protection against both
incorrect setup and any possible voltage spikes.
22. 22
Fig. : Voltage Ragulator
3- Max232:
We can send and receiving data at the same time due to the lines of
sending and receiving data (full-duplex mode).
Fig. MAX 232
4- Lcd:
A liquid crystal display (LCD) is an electronically-modulated optical
device shaped into a thin, flat panel made up of any number of color or
monochrome pixels filled with liquid crystals and arrayed in front of a
light source (backlight) or reflector. It is often utilized in battery-powered
electronic devices because it uses very small amounts of electric power.
23. 23
Fig. :LCD
5- Precision temperature sensor
The LM335 are precision temperature sensors which can be easily
calibrated. They operate as a 2-terminal Zener and the breakdown
voltage is directly proportional to the absolute temperature at
10mV/K. The circuit has a dynamic impedance of less than 1 Ω
and operates within a range of current from 450μA to 5mA
without alteration of its characteristics.
Calibrated at +25oC, the LM335 have a typical error of less
than 1oC over a 100oC temperature range. Unlike other sensors, LM335
have a linear output.
Fig. : Temperature Sensor
24. 24
Application Hints:
There is an easy method of calibrating the device for higher accuracies .
The single point calibration works because the output of the LM335 is
proportional to the absolute temperature with the extrapolated output of
sensor going to 0V at 0K ( –273.15oC).
Temperature sensor calibration:
We make calibration for this sensor by building the following circuit ,
then measuring the output voltage while changing the temperature the
sensor exposure to .
Fig. : Temperature Sensor Diagram
The practical calibration:
At 20 c° the output voltage = 2.5 V.
At 30 c° the output voltage = 3.5 V.
25. 25
6- Infrared Sensor:
Infrared light lies between the visible and microwave portions of the
electromagnetic spectrum. Infrared light has a range of wavelengths,
just like visible light has wavelengths that range from red light to violet.
IR circuits:
This circuit has two stages: a transmitter unit and a receiver unit. The
transmitter unit consists of an infrared LED and its associated circuitry.
IR transmitter:
The transmitter circuit consists of the following components:
IC 555
Resistors
Capacitors
IR LED
The IR LED emitting infrared light is put on in the transmitting unit.
To generate IR signal, 555 IC based a stable multivibrator is used.
Infrared LED is driven through transistor BC 548.
IC 555 is used to construct an a stable multivibrator which has two
quasi-stable states. It generates a square wave of frequency 38kHz and
amplitude 5Volts. It is required to switch ‘ON’ the IR LED.
Fig :infrared transmitter cct
26. 26
:ReceiverIR
The receiver circuit consists of the following components:
TSOP1738 (sensor)
IC 555
Resistors
Capacitors
The receiver unit consists of a sensor and its associated circuitry.
In receiver section, the first part is a sensor, which detects IR
pulses transmitted by IR-LED. Whenever a train crosses the
sensor, the output of IR sensor momentarily transits through a low
state. As a result the monostable is triggered and a short pulse is
applied to the port pin of the 8051 microcontroller. On receiving a
pulse from the sensor circuit, the controller activates the circuitry
required for closing and opening of the gates and for track
switching.
The IR receiver circuit is shown in the figure below.
Fig : infrared receiver cct
37. 37
void delSms (int pos)
{
printf("AT+CMGD=%d",pos;)
PRINTF("%c",0x0D;)
PRINTF("%c",0x0B;)
while( c1!='O)'
{
while ( !kbhit) )(
{
restart_wdt;)(
}
c1= getc;)(
restart_wdt;)(
}
c1= getc;)(
printf(LCD_PUTC, "f SMS deleted;)"
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void fan(int command)
{
if(command == 1)//turn the fan on
{
output_bit( PIN_B0, 1;)
}
else if (command ==0) //turn the fan off
{
output_bit( PIN_B0, 0;)
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
38. 38
Problems
1. It is difficult to choose the kind of temperature sensor & to find it is
correct cct that we will use it to calibrate it .
2. The connection between microcontroller (PIC) and mobile phone.
3. Programming the microcontroller (PIC).