Datalogging with Arduino over HAMNET

Aus DL8RDS Wiki
Version vom 21. Februar 2011, 15:48 Uhr von Dl8rds (Diskussion | Beiträge) (Implementation of the Sensor)
Wechseln zu: Navigation, Suche

1 Scope

This project is the master project and the preliminary endpoint of several other projects:

And it issued from the question how we can monitor the ATV relay DB0MHB over a long period and log all the activity as well as environmental data such as weather etc. In fact is it not so easy to implement datalogging if a relay project has been exclusively analog up to now (except for the controller).

2 Architecture

  • The first goal was the HAMNET connectivity. Without a data transport capability it would only have been possible to log data on-site, but we wanted to provide permanent and instant insights in the relay's status. So data connectivity was to be the first goal. We reached that by connecting DB0MHB and DB0BUL.
  • The second goal was to record the voltage of various station components and battery systems and provide the data over the network. We implemented this with an Arduino in combination with the Ethernet Shield.
  • The third goal was to create a CSV file out of the minutely data readings. The goal was reached by a simple perl script.
  • The fourth goal was to evaluate the CSV file with the charting package GNUPlot. We are using it to turn the CSV file into charts wo make the recent week(s) understandable in a chart.
  • The fifth goal was to present these pictures overa network for browser-enabled clients. This was done with a small Linux machine and the Apache web server.

3 Implementation of the Sensor Server

The sensor server is a standard Arduino Duemillanove with a recent Ethernet Shield:

ArduinoDuemillanove.jpg ArduinoEthernetShield.jpg

4 Results

14vgesamt.png