I want to read sensor information from an Arduino Uno. I already have a Java program that connects to the serial port and reads the information from the Arduino.
I want to publish this information to a web page (currently my computer is running the Apache web server). I'm not that good at web development, however I can get by.
My plan is to save the sensor data that I've read in from the Arduino to a file. I would update this file about every 1 minute. Then using some server side scripting language (i.e. PHP) read the data from the file and generate a web page showing the sensor information when the page is requested.
However, this approach doesn't seem very "elegant". Is there a better way to perform this task?
(Also, I'm only using the Arduino Uno with a USB port, I don't have an Ethernet shield.)