| As the origin of all things,water has nurtured all living things on the earth.To some extent,it is indispensable to all vital movements of human beings.Nowadays,due to people's urgent pursuit for material life,industrial pollutions have been increasingly serious and drinking water problems for people,especially for people in karst regions,have become more and more outstanding.Thus,under the circumstance in which water resources are harmed by industrial pollutions,fresh water resources that used to be limited have become even more vital.In this sense,it has been an impending matter to look for available fresh water resources.As is known to us all,it rains a lot in karst regions;however,because of geologic features in these regions,only a few rainfalls can be restored and used.Therefore,the study on the distribution as well as flow direction of underground water in karst regions will lay a theoretic foundation for looking for new fresh water resources.On the basis of objective factors and conditions mentioned above,cooperated with the Institute of Geography of Yunnan Province,we developed the sampling device of water drops that is used in karst caves as well as the sampling device of natural rainfalls applied on the earth surface.With these two sampling devices,we took the Huanglong Cave in Aziying Town of Yunnan Province as our test point.Water resources both on the earth surface and under ground are sampled at the same time to produce a database that uses timestamp as its unique identifier in post processing stage.In this database,sampled data are consist of following parameters:time,temperature,humidity,sampling modes and sample bottle numbers etc..Previously,because the sampling device of water drops that used in karst caves was finished,this thesis will mainly target at the development of the automatically sampling and recording device of natural rainfalls applied on the earth surface and it has been basically finished currently.In this system,mainly the currently popular ARM-type Micro-control STM32 Series chip is applied and officially stable embedded Operating System-ucos-ii is transplanted into the system to carry out real-time scheduling on various task so as to keep MCU function in order.In the meanwhile,the electronic control parts in the system of this device have carried numerous peripheral circuits,including data memory module of SD-card,switching power supply module,GSM wireless transmission module,testing module of external pulse interruption,temperature and humidity module,sensor module of rainfalls etc..Then,layering idea is adopted in the machine design of the device,which divides the whole mechanical part into four layers with corresponding functions in each layer.In the meantime,aimed at a few key designs in the mechanical structure,this thesis has conducted deductions on theoretical data.Then,in software design,C/C++language based on the platform of ARM-MDK5 is applied.After a long-time test and debugging,it turns out that the functions of automatic sampling as well as data recording can be stably realized.Also,prompt messages can be passes back by wireless in real time in a good manner;the change of sample bottles through the rotation of axis in mechanical parts can be operated and localized precisely,and;no random code can be found in data recording.All these have been primarily confirmed by experimenters in the Institute of Geography... |