Documente Academic
Documente Profesional
Documente Cultură
1533
ANO+AN2 of a I'IC16F877 microcontroller. One of To publish sensors data pages, both architectures are
microcontroller's digital outputs, RCO, is used to select the considered in two versions, one using a cable connection
turbidity sensor operational range (RCO=l for 0-50 NTU, between the Ethernet controller and the Internet service
and RCO=O for 0-1000NTU). provider (normal Internet connection), and the other using a
GSM to assure that connection (wireless Internet
connection).
apH, b p H
1534
is microcontroller's memory capacity. A Web server needs
ample storage for Web pages, and the on-chip ROM is
clearly inadequate for this [7]
Multi-web sensor
Water parameters
__I
118 2
Status page
Home Pwe
CONCLUSION
Figure 4. Architecture A I : Web page. Taking into consideration the application of the telemetric
system to be built, a wireless Internet connection version of
To overcome this limitation, a 32K EEPROM external architecture A2 is chosen. In fact, the wide coverage of
memory (Microchip 24C32.) is included in the system. The GSM services in Portugal makes possible the operation of
communication between the microcontroller and this mobile communication-based telemetric systems all over
external memory is made using the 12C two wires bi- the country and, in particular, in critical points of the most
directional interface [81. Also connected to the important Portuguese rivers such as in the Tagus estuary
microcontroller through 12C bus is a real time clock. This near Lisbon. Presently, a Siemens M20 GSM cellular
clock is read every time the Web page is refreshed and the engine is utilized to connect the Ethernet controller to the
corresponding time published together with the values of Internet service provider. This mobile phone is hlly
the measured quantities. The Ethernet connection is made controlled by the microcontroller using dedicated
using a Realtek RTL8019 Ethemet controller that includes commands. If proved necessary, a GPRS dual mode GSM,
the network interface controller, a serializer and a buffer such as Siemens MC35, will replace the M20.
RAM [91. As strength of the proposed solution it can be underlined
The microcontroller drives the Ethernet controller the data sensor acquisition (pH, turbidity and temperature
simulating ISA bus activity. For that purpose, the data), linearization and on-line correction (temperature
microcontroller performs actions such as address and data correction in the pH case) and wireless distribution of the
lines setting. To implement those actions, 15 processed data, making it available to any user on the
microcontroller digital lines are used (MO, RB1 for read World Wide Web.
and write outputs, M 2 e R B 7 Ethernet address lines, As already referred, the work here reported represents a
RCO+RC7 Ethernet data lines). From the above-mentioned first step in the design and implementation of a stand-alone
lines, only the first two are used full time to drive the Web-based telemetric system for water river quality
Ethernet interface. monitoring. The final equipment will include several other
The main components necessary to materialize the multi- sensors to measure namely conductivity, dissolved oxygen,
Web sensor architecture A2 just described are included in content of heavy metal ions (lead, copper, mercury, etc).
Microchip MPLAB-ICD and Microchip PICDEM.net. Presently, we are studying the possibility of integrating
Figure 5 shows the Web page published using that several of these sensors into an integrated tailor-made
architecture. circuit. The results will be presented in the near hture.
1535
ACKNOWLEDGMENTS Institutului Politehnic din Iasi, Tomul XLV (IL) Fax.
This work was supported in part by Portuguese Science and 5A, pp. 285-290, Iasi, Romania, November 1999.
Technology Foundation PRAXIS XXI program [4] National Instruments, "Using LabVIEW with TCP/IP
FCT/BPD/2203/99 and the Project FCT PNAT/1999 and UDP", Application Note 160, National Instruments
EEV15052. This support is gratefully acknowledged. We Corporation Press, July 2000.
would also like to thank the Centro de Electrotecnia [5] National Instruments -"Integrating the Internet into
Te6rica e Medidas Elktricas, IST, Lisboa, for their Your Measurement System - Datasocket Technical
important technical support. Overview", National Instruments Corporation Press,
November 2000.
REFERENCES [6] 0. Postolache, P. Silva G i r b , H. Geirinhas Ramos, M.
[l] A. Bacciagalupi, A. Bemieri, D. Capriglione, "A Web- Dias Pereira,' "A Distributed Virtual Instrument for
based Network fix Distributed Measurements", Proc. Indoor Air Monitoring", Proc. ICEMI'2001, Guilin,
l l t h IMEKO TC-4 Symposium, pp. 182-185, Lisbon, China, November 2001.
Portugal, September 2001. [7] J. Bentham, "TCP/IP Lean -Web Servers for Embeded
[2] F. Toran, D. Ramirez, A. E. Navarro, S . Casans, J. Systems", CMP Books, 2000.
Pelegri, J.M Espi, "Design of a virtual instrument for [8] J.Peatman, "Design with PIC Microcontrollers",
water quality monitoring across the intemet", Sensors Prentice Hall, New Jersey, 1997.
and Actuators B, 3766, pp. 1-5, June 2001. [9] Microchip, "PICDEM.net Intemet Solutions",
[3] Paul0 Maia Santas and Pedro Silva GirBo, "Telemetry Microchip Inc. Press, 2001.
Using Cellular ]Mobile Communications", Buletinul
1536