Check out this Arduino weather/webcam/webserver rig, up and and running (when not overrun by webcrawlers), shared by user EVRE on the Adafruit Forums:
I built a webserver based on the Arduino Mega, it does the following:
- Take sensor readings and picture every 10 min and store on SD card.
- Barometric pressure
- outside humidity
- inside humidity
- outside temperature
- inside temperature
- outside ambient light level (needs better sensor, like the one available on Adafruit)
The server has its quirks and downfalls.
When there are over ~1800 images stored on the SD card, it becomes /more/ unstable. I have to remember to copy off the images once a month. At ~1800 images, the ethernet crashes, but it still logs data, over ~2200 images, the entire board periodically crashes and no data is logged.
It goes offline during the sensor readings and picture capturing for about 30 seconds.
If you want to visit it, please visit 1 min after the 10’s of the hr. (1:01pm, 10:51, etc.)ptr3.no-ip.biz:8081
UPDATE: The ethernet crashed =/ guess it didn’t like the attention of www. Good news was it didn’t miss a beat logging data.
I can’t wait for Adafruit to finish the coding for their wifi CC3000. I’m hoping it will bring better stability to serving the www with an Arduino.
Lesson learned.. Arduino’s ethernet is finicky enough, don’t put it online where the search crawlers can find it! They are like a DDoS (Denial of service attack) to the arduino.
I was happy to see a few forum members viewed it between crashes this afternoon.
With just myself and a few friends I have had it stay running for at least a week.
…Again hoping for a more robust Ethernet implementation!