Skip to content

Instantly share code, notes, and snippets.

// This is a basic snapshot sketch using the VC0706 library.
// On start, the Arduino will find the camera and SD card and
// then snap a photo, saving it to the SD card.
// Public domain.
// If using an Arduino Mega (1280, 2560 or ADK) in conjunction
// with an SD card shield designed for conventional Arduinos
// (Uno, etc.), it's necessary to edit the library file:
// libraries/SD/utility/Sd2Card.h
// Look for this line:
// This is a basic snapshot sketch using the VC0706 library.
// On start, the Arduino will find the camera and SD card and
// then snap a photo, saving it to the SD card.
// Public domain.
// If using an Arduino Mega (1280, 2560 or ADK) in conjunction
// with an SD card shield designed for conventional Arduinos
// (Uno, etc.), it's necessary to edit the library file:
// libraries/SD/utility/Sd2Card.h
// Look for this line:
// This is a basic snapshot sketch using the VC0706 library.
// On start, the Arduino will find the camera and SD card and
// then snap a photo, saving it to the SD card.
// Public domain.
// If using an Arduino Mega (1280, 2560 or ADK) in conjunction
// with an SD card shield designed for conventional Arduinos
// (Uno, etc.), it's necessary to edit the library file:
// libraries/SD/utility/Sd2Card.h
// Look for this line:
#include <TimerOne.h>
// This example uses the timer interrupt to blink an LED
// and also demonstrates how to share a variable between
// the interrupt and the main program.
const int led = 3; // the pin with a LED
int ledState = LOW;
#include <Adafruit_FONA.h>
#include <JeeLib.h>
char sensorIDChar [] = "2"; //the sensor id
#define sleepMinutes 0
char sensorTypeChar []="A";
//http://159.203.128.53/streams/DawQO646KGUJ0k41pbA0fxpQ8w6
#include <TimerOne.h>
// This example uses the timer interrupt to blink an LED
// and also demonstrates how to share a variable between
// the interrupt and the main program.
const int led = 3; // the pin with a LED
int ledState = LOW;
#include <Adafruit_FONA.h>
#include <JeeLib.h>
#include <TimerOne.h>
// for the turbidity measurement
const int led = 3; // the pin with a LED
int ledState = LOW;
#include <TimerOne.h>
#include "LowPower.h" //https://github.com/rocketscream/Low-Power
#include <SPI.h>
#include <SD.h>
#include <Wire.h>
#include <RTClib.h> //https://github.com/p-v-o-s/RTC_3231
#include<stdlib.h>
// This is a basic snapshot sketch using the VC0706 library.
// On start, the Arduino will find the camera and SD card and
// then snap a photo, saving it to the SD card.
// Public domain.
// If using an Arduino Mega (1280, 2560 or ADK) in conjunction
// with an SD card shield designed for conventional Arduinos
// (Uno, etc.), it's necessary to edit the library file:
// libraries/SD/utility/Sd2Card.h
// Look for this line:
#include <TimerOne.h>
#include "LowPower.h" //https://github.com/rocketscream/Low-Power
#include <SPI.h>
#include <SD.h>
#include <Wire.h>
#include <RTClib.h> //https://github.com/p-v-o-s/RTC_3231
#include<stdlib.h>