Programming Documents

Search Sketches

Your Sketches

New Sketch
(none)

Class Sketches

(none)

Community Sketches

ADXL345 Accelerometer This is a sample sketch to show the use of a Grove ADXL345 accelerometer.
Air Quality Monitor This sketch reads data from the air quality sensors and other environmental sensors.
Air Quality Sensor Test This sketch displays values from a second generation air quality sensor board with MICS-4514 metal oxide sensors.
Air Quality Station This code is for an air quality measurement station that records CO2, dust, and other variables.
Analog Temperature Sensor This sketch display values from the analog Grove temperature sensor.
Aquaponics Box An example sketch for a fish tank monitor. You will need to make a copy with your network name, network password, and data set ID.
Balloon A sample sketch for recording onto a data flash chip for a high-altitude balloon.
Basic Data Flow An example data flow with two buttons and a LED connected by an "AND" filter.
Biometrics: Phone An example data flow for monitoring biometric readings including heart rate, galvanic skin response, and movement
BLE Shield Sample This is a simple sample sketch for the ReadBearLab BLE shield.
Blink A simple sketch the blinks the LED (pin 13).
BMP180 Altitude Print calibrated altitude using a BMP180 barometric pressure sensor
Cansat Shield Test This is a test script for the cansat shield.
Corey CanSat Add a Description
Data Scavenger Hunt Example data flow for a data scavenger hunt
Egg Drop Receiver This sketch receives accelerometer data from a wireless accelerometer. It can be used with the Egg Drop lesson to view and save this data.
Egg Drop Transmitter This sketch transmits accelerometer data from an attached accelerometer. It can be used with the Egg Drop lesson to view and save this data.
ExtraSensorCircuit This is a sample sketch for the Extra Sensor Kit. It shows some interaction with the sensors and will display sensor values in the serial console.
ExtraSensorDisplay This is a sample sketch for the Extra Sensor Kit. It will display sensor values in the serial console.
Fish Tank Monitor An example sketch for a fish tank monitor using a SODAQ and WiFi Bee. You will need to make a copy with your network name, network password, and data set ID.
Fish Tank Monitor - Uno and Ethernet Shield This is a version of the Fish Tank Monitor sketch that uses an Uno and a Ethernet shield instead of a SODAQ and WiFi Bee.
ForceSensor This is a sample sketch to show the use of a force sensor.
Heliostat Sample Sketch This is a sample sketch for running a servo-based heliostat. It uses a current sensor to measure the amount of solar power being produced. To find the best angle, it takes measurements at a set of angles, smooths out the measurements, and then picks the angle with the highest measurement. You could modify the sketch to check only the angles that are near the most recent best angle.
Hello World This is a test sketch that displays "Hello World" once per second in the serial console.
HMC5883L Magnetometer / Compass This is a sample sketch to show the use of a Grove HMC5883L magnetometer, or digital compass.
Incubator / Freezer An example data flow for creating an incubator or freezer.
IRTemperature This is a sample sketch to show the use of a Grove IR Temperature Sensor.
LaserGate This is a sample sketch to show the use of a laser gate.
Magnitude // Accelerometer + Data Logger Sketch runs the ADXL345 accelerometer with the SparkFun data logger for out of classroom and field use.
Magnitude - Alpha shield March 2015 Alpha
MaxBotixSonar This is a sample sketch to show the use of a MaxBotix Sonar Sensor.
MotorDriver This is a sample sketch to show the use of a Grove Motor Driver.
MotorShield This is a sample sketch to show the use of a Grove Motor Shield.
PDR-Temp-Probe A sketch for a Sodaq-based portable data recorder (PDR) using GPS and a temperature probe.
Pendulum Period This sketch tracks the period of a pendulum using an optical gate. This supports the Pendulum Period lesson.
pH Calibration This sketch displays the raw and calibrated values from a pH sensor on an attached display. Using calibration fluid, and the raw values, you can calibrate a ph sensor and verify it using the calibrated value. The "pH Sensor" documentation has more information.
PlantBox This sketch is the Arduino code to support the Plant Box kit and Project. It allows the Arduino to control and monitor a small greenhouse-like plant box.
Plant Box Sketch for the kickstarter plant box kit.
PlantWatering This is the sample code for the plant watering project.
Portable Data Recorder with GPS Device This sketch records data onto a SODAQ board. It assumes you are using a Grove GPS device. (We plan to create another variant that uses BLE bee and an Android App.) Visit the Portable Data Record documentation page for more information.
RealTimeClock This is a sample sketch to show the use of a Grove real time clock.
Simple Data Recorder This is a sample sketch for using the Sodaq board as a simple data recorder. It stores sensor data onto the board's flash memory. You can retrieve the data using the Arduino Import Tool (see the Sodaq documentation page).
Simple Motor Tachometer Output the RPM for a simple motor using an IR sensor
Sonar This is a sample sketch to show the use of a Grove Sonar sensor.
TempHumidOLED A simple sketch that displays temperature and humidity from a DHT22 sensor on an OLED display. Assumes that the DHT22 is connected on pin 2 and OLED is connected via I2C.
Test Tube Color Tester This program tests the test tube color sensor. Currently it toggles the LED on and off every other second. Later we'll add a serial display of sensor values.
WaterBox This sketch is the Arduino code to support the Water Sensors project. A Kit is in development. It allows the Arduino to monitor water quality and pollution.
WeatherStation This sketch is the Arduino code to support the Weather Station kit and project. It allows the Arduino to monitor the weather including the temperature, humidity, barometric pressure, wind speed and direction, and rain.
Wind Speed Test Prints the wind speed from an attached wind speed sensor to the serial port.
WireGarden The WireGarden firmware is what the majority of the sensor lessons on ManyLabs.org use to communicate with the Arduino. Instead of performing one specific function, it allows you to configure the sensors and devices it communicates with while it's running.

Your Data Flows

(none)

Community Data Flows

Basic Data Flow An example data flow with two buttons and a LED connected by an "AND" filter.
Biometrics: Phone An example data flow for monitoring biometric readings including heart rate, galvanic skin response, and movement
Data Scavenger Hunt Example data flow for a data scavenger hunt
Fish Tank Monitor An example data flow for monitoring a fish tank
High-Altitude Balloon An example data flow for a high-altitude balloon.
Incubator / Freezer An example data flow for creating an incubator or freezer.

Programming Tools

Programming Projects