Hi all,
I currently have an arduino Mega controlling via RS485 a number of relays around the building as well as polling an increasing nummber of sensors also scattered around the building ranging from temperature , humidity, air quality etc.
At the same time the same arduino stores the sensor values into RAM and posts them on a website.
As the number of sensors increase, the workload is stretching the resources and therefore am reconsidering the whole system from the beginning.
I am thinking of having a dedicated arduino for sensor polling (front end) which would then save all collected data on mysql database hosted on a Win Server 2008 machine.
Then another arduino can pull data from the database and run a webserver for data presentation.
This way I could even see historical data which is something not avalable right now since the Arduino Mega only holds the last values collected.
I would love to have your comments on the above approach and any reccomendations you might have.
Please also note that I have absolutely no experience with mysql and I never came anywhere near it so far!
I am currently reading of how to use XAMPP!
Any guidance welcome