1. Introduction
Weather is the state of the atmosphere, to the degree that it is hot or cold, wet or dry, calm or stormy, clear or cloudy. Weather, seen from an anthropological perspective, is something all humans in the world constantly experience through their senses, at least while being outside. There are socially and scientifically constructed understandings of what weather is, what makes it change, what effects it has on humans in different situations etc. Therefore, weather is something people often communicate about. Turning back to the meteorological perspective, most weather phenomena occur in the troposphere, just below the stratosphere. Weather generally refers to day-to-day temperature and precipitation activity, whereas climate is the term for the average atmospheric conditions over longer periods of time. When used without qualification, “weather”, is generally understood to mean the weather of Earth. Weather occurs due to density (temperature and moisture) differences from one place to another. These differences can occur due to the sun angle at any particular spot, which varies by latitude from the tropics. The strong temperature contrast between polar and tropical air gives rise to the jet stream. Weather systems in the mid-latitudes, such as extra tropical cyclones, are caused by instabilities of the jet stream flow. Because the Earth’s axis is tilted relative to its orbital plane, sunlight is incident at different angles at different times of the year. On Earth’s surface, temperatures usually range ±40˚C (−40˚F to 104˚F) annually. Over thousands to hundreds of thousands of years, changes in Earth’s orbit affect the amount and distribution of solar energy received by the Earth and influence long-term climate [1] .
Surface temperature differences in turn cause pressure differences. Higher altitudes are cooler than lower altitudes due to differences in compression heating. Weather forecasting is the application of science and technology to predict the state of the atmosphere for a future time and a given location. The atmosphere is a chaotic system, so small changes to one part of the system can grow to have large effects on the system as a whole. Human attempts to control the weather have occurred throughout human history, and there is evidence that human activity such as agriculture and industry has inadvertently modified weather patterns [2] . Sensors are essential components in many applications, not only in the industries for process control but also in daily life for buildings safety and security monitoring, traffic flow measuring, weather condition monitoring and etc. In weather monitoring, for instance, parameters such as temperature, humidity and pressure need to be measured, thus sensors have always been given the task for doing so. Weather or climate plays an important role in human life. The thermal comfort of human being is known to be influenced mostly by six parameters, i.e., air temperature, radiation, air flow, humidity, activity level and clothing thermal resistance. The advancement in technology has made these small and reliable electronic sensors capable of monitoring environmental parameters more favorably [3] .
2. Wind Characteristic
The effective operation of the wind turbine is dependent on the direction of the Wind Speed, air density, which in turn depends on the temperature and humidity in such a way as to wind worked Effectively in its composition must include weather. Weather station also performs a warning role. When the sharp speed of wind or increasing the wind speed above the maximum value it sends a signal to the lock during exit from the wind turbine technology failure.
There are analog and digital weather On the Classic (analog) Weather there is:
Thermometer for measuring temperature;
Barometer for measuring the pressure;
Hygrometer to measure the moisture of the air;
Anemometer for the wind speed measurement;
Wind the inventory is the sum of the characteristics of the wind to identify its energy value and to identify possible modes of wind installations.
Basic inventory the characteristics of the Wind
1) The average wind speed;
2) Annual and daily run wind; Repeatability wind speeds;
3) Repeatability of wind and distribution of wind periods and periods of duration;
4) Maximum wind speed and Specific power and specific wind energy;
The Wind resources of the area weather generally refer to day-to-day temperature and precipitation activity, whereas climate is the term for the average atmospheric conditions over longer periods of time. When used without qualification [4] . Weather station should be able to identify all the necessary for the work of the Wind Farm installation specifications: Wind speed, annual and daily the wind, repeatability wind speeds, repeatability of the wind, the distribution of the Wind periods and periods of duration, the maximum speed, wind power density and specific gravity wind energy. This system will be a powerful and flexible tool that will offer this service at any time, and from anywhere with the constraints of the technologies being applied.
Wind Data Processing and Design
The proposed approach for designing this system is to implement a PIC microcontroller based control module that reads weather parameters from sensors and receives its instructions and commands from a cellular phone over the GSM network. The microcontroller then would send the measured weather parameters to the users over the GSM network, designed system block diagram shown in Figure 1.
Figure 1. Designed system block diagram.
Using easily-available components and simple circuitry, the system should be beneficial in providing a portable and low-cost remote weather monitoring system. The basis of the weather station was elected a single 1-Wire interface, this interface is controlled by the developers for use in four major areas of application: devices in special enclosures Microcap to solve problems of identification, migration or conversion information I Button technology [4] .
3. Automation Systems Technology 1-Wire-Networks-Networks
Wire devices are a powerful, yet very cost-effective way to add electronic functionality to non-electronic objects for identification, authentication, and delivery of calibration data or manufacturing information. Contrary to the name, a 1- Wire device actually uses 2-wires-data and ground, for half-duplex bidirectional communication. It is a serial protocol designed by Dallas Semiconductor Corp., which provides low-speed data, signaling, and power over a single signal. The 1-Wire master controls the communications with one or more slave devices. Each of them has a unique 64-bit ID on the 1-Wire bus. Its subset, an 8-bit family code identifies the device type and functionality.
There are two types of 1-Wire devices:
Single component or one of many components in integrated circuit and TO92 packaging.
I Button, a portable device that looks like a watch battery. It is used in alarm system, in computer and many other things for user authentication.
Wire-net is an information network that uses to implement digital communication line data and one breakout (Earth) wire. Thus, to implement the network Exchange Wednesday can be applied for available cables that contain unshielded twisted pair category, and even an ordinary phone wire. Such cables when laying them do not require any special equipment; limitation of the maximum length of a single developers up to 300 m. Foundation of 1-Wire networks is a shared bus topology, where each is connected directly to a single line, without branches When this is used as the basic network structure leading or master PC or microcontroller led devices temperature sensors, ADC, etc. [5] . Speed limit in exchange network is 16.3 Kbit/s and is more for use in the field of automation
Particularly attractive quality 1-Wire-technology is an exceptional ease of customization, debugging and maintenance of networks of virtually any configuration, built to this standard. Indeed, enough to get started any personal com- puter, an inexpensive adapter 1-Wire-lines, as well as one of the freely distributed company Dallas Semiconductor test programs: either I Button Viewer shell, or a developer package the One Wire Viewer. With this small number of constituent organization functioning 1-Wire networks of any complexity based on standard wire components, implemented literally within minutes. Opportunities offered by the I Button Viewer and One Wire Viewer programs allow with maximum comfort for the developer to identify any guest wire devices on the 1- Wire line and check that it is correctly in full operation composed of configurable 1-Wire network. In accordance with the structural schema in the composition of the weather station includes the following components:-temperature- analog-to-digital converter,-wind speed sensor-sensor wind direction is absolute pressure sensor [6] .
The Measurement range from―55˚C to 125˚C accuracy 0.5˚C in the range― 85˚C minus 10 in addition DS1820 can be powered with voltage line data (parasite power) in the absence of an external voltage source. Digital code read thermometer is a direct result of the measured temperature values in additional con- version to service analog sensor
The manifold pressure sensor and moisture sensor) applied quad-channel 16-bit ADC TYPE DS2450. It represents a converter analog signal into digital works in a sequential mode approach, with an analog port are provided 4 to 1. Each channel has its own register, which set and stored input voltage range, the resolution and the value of the warning thresholds used for the installation of warning check boxes. If the input voltage is outside the specified range, the check boxes to allow the participation of the tool in the conditional search. For each channel are the two warning box [7] .
Without the requirement to drive tires simply indicate whether the measured voltage is above or below specified thresholds. Each transform ADC is initialized leading bus. The range of the measured voltages can be set programmatically from 0 to 2.56 in either from 0 to 5.12 V.
Moisture measuring is analog moisture sensor Honeywell earthquake. It is designed to measure the relative air humidity from 0% to 100%. The basis of Sensors―the sensing element that represents a―fabric, constituted by two flat platinum theme that provides and dielectric polymer, filling the space between them. resin, compared with a thermosetting plastics, provides the sensor over a wide range of operating temperatures and high chemical resistance to such aggressive liquids and couples in the process of the work of the water steam penetrates through the upper porous around the condenser and is balanced with the surrounding gas. At the same time this liner protects the electrical processes, leaking in the polymer layer from the external physical effects (light and electromagnetic radiation). The layer of resin that covers the porous platinum electrode to the top is the protection of the con-denser from dust, dirt and oils. This powerful filtration system, on the one hand, provides the sensor long uninterrupted work in conditions of strong contamination of the environment on the other-reduces response time.
For the wind speed measurement applied optical Incremental Encoder. Optical encoder is strictly docked on the shaft drive with optical grid and stationary unit-measuring head that includes a light source. When the shaft is turning the grid moves to the stationary measuring head, the modulated light flow, This type of encoded according, unlike the absolute does not generate the output pulses when the shaft is located in the quiet. Thus obtained pulses with frequency, the speed of rotation of the shaft, arrive at the entrance of the frequency converter in voltage. To convert frequency to the voltage applied integrated chip type LM2917 with linear dependence of the output voltage from the input.
Frequency of the signal is sent to one of the inputs of the ADC. This implementation for the wind speed measurement enabled shows all components are gathered to form the complete The PIC microcontroller is the main block, it acts as the brain of the system because it will get the data from the sensors and pro- cess it then output the data in the appropriate format to the user’s mobile in a message SMS via the GSM modem. The PIC will receive the user’s SMS via the GSM modem, and then read the 5 sensors outputs and send it back to the user in SMS via the GSM modem [8] .
System Flowchart
The system starts with the inputs and outputs initializations then read the sensors outputs; it reads the temperature, the humidity, the wind speed, rain gauge and wind direction sensors’ outputs values. Then if an SMS is received, the system will reply the sender with an SMS included the devices’ outputs values shown in Figure 2.
4. Mikro Basic Software
PRO MikroBasic for PIC is a full-featured basic compiler, which makes a Microchip PIC® development suitable for all. The popular Basic programming language is the best choice for beginners on the simple syntax and reset code. A good IDE with comprehensive background file and free lifetime technical support means a lot when users make the first steps in the world PIC microcontrollers. Not to mention the more than 500 ready-to-use library functions and examples will help the user’s development [7] .
PIC Programming Process
A single mouse click on the appropriate icon in the compiler results in the creation of a new document with the extension .The hex it is actually the same program, only the consolidated in machine language that the Microcontroller is well aware. Such programs are usually called the hexadecimal code and forms seemed to be the meaning of the sequence of the hexadecimal numbers.
When the program must be loaded into the chip for hexadecimal code must be loaded into the microcontroller must provide special device under the name of the program, with the relevant software. A large number of programs and electronic circuits used for this purpose can be found on the Internet. The procedure is basically the same for all of them and looks as follows:
Install the controller in the appropriate program on the mains.
Use the appropriate cable to connect the program to the PC.
Open the hexadecimal code of the document in the Program software, install multiple settings and click on the icon for the transfer of the Code. After a few seconds, the sequence of zeros and ones will be entered in the microcontroller. And all that left-to set the program chip in the target device [8] [9] shown in Figure 3.
The diagram of the system starts with the inputs and outputs of the initializations then read the sensors outputs; it reads the temperature, humidity, wind speed and rain gauge and the direction of the Wind Sensors outputs values. Then if the SMS received, the system will respond to the sender using SMS includes the device’ outputs values [10] .
5. Conclusion
Weather station was designed as a component of the Wind Farm installation, and thanks to the use of the 1-wire technology, can be applied for both the consumer and industrial destination. Weather station captures all the features and indicators required for the wind. The low cost and high accuracy of the weather, as well as connecting additional sensors can significantly expand the area of its application. It can be used for various purposes such as weather forecasting, determine the characteristics of the road, Brodsky, etc. Join in one network of a
large number of such websites, as well as the accumulated data base will allow a more detailed study of meteorological data and to carry out a more accurate forecasting. The system is cost effective due to using the PIC microcontroller and some components are hand-manufactured. This enhanced our knowledge in testing the components and dealing with it.
Acknowledgements
This work was supported by the Deanship of Scientific Research, Jerash University.