From the Forums: Arduino weather/webcam/webserver #arduino
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.
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.)
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!
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.