Topic: any idea on automated data gathering?

is it possible to get data from a hardware device(eg. voltage) and automatically upload it in the internet using RoR?
going specific the device is a dissolved oxygen sensor so it outputs 1-5 V which should be converted to dissolved oxygen percentage and the device is attached to computer which acts as a server. the data should be uploaded to a web application (hence here comes RoR)..
so is it possible?

Re: any idea on automated data gathering?

How often do you need the value? Presumably you need to read the value at intervals and then accumulate/graph the values over time? Your solution will depend on how granular you need the data to be.

Re: any idea on automated data gathering?

data logging is set once per hour.I just don't know if a web app can store the data. any tips/suggestions?

Re: any idea on automated data gathering?

Sounds like you need to separate the collection of the data (hourly cron job or Windows scheduled task, reads your O2 sensor, puts time and value into DB) and the display (your Rails App, reads data, graphs it nicely, renders the page).

Re: any idea on automated data gathering?

do you have any tutorial regarding the port forwarding of the data to rails app?

Re: any idea on automated data gathering?

found a link but dont know where to insert in ruby project..http://www.nuelectronics.com/estore/?p=14

Re: any idea on automated data gathering?

Sounds like you need a separate collection of data (such as an hourly cron or scheduled Windows application that reads the O2 sensor that time and the value in the DB) and display (your Rails application reads the data, graphs well, doing a site).

Re: any idea on automated data gathering?

How many times did you need the value? Probably you should read the value of the space and then accumulate values / graphic over time? Your solution will depend on how you need to be granular data.

Re: any idea on automated data gathering?

i need it as long as forever because we are monitoring the O2 and a graphical data should be present in the web page