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!
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, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, 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.
Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !