Skip to content

Instantly share code, notes, and snippets.

@arduinoboard
arduinoboard / temp_rh.ino
Created March 20, 2012 19:17
The file that is currently on an Arduino Uno with a serial number of CC2B9309F0DG6LL0
#include <OneWire.h>
#define ZeroPercentVoltage 0.8;
float val = 0;
float RH = 0;
float my_room_temperature = 20; //in degrees C !
float max_voltage = 3.27;
OneWire ds(2); // Sensor DS18b20 on pin 2
@arduinoboard
arduinoboard / Command.cpp
Created March 20, 2012 23:11
The file that is currently on an Arduino Uno with a serial number of 6493234383835120E1B0
/*
Copyright (c) 2011 Guy Carpenter
*/
#include <Arduino.h>
#include "Command.h"
#define CMDBUF_LEN 40
@arduinoboard
arduinoboard / redpark.ino
Created March 22, 2012 18:44
The file that is currently on an Arduino Uno with a serial number of 64935343333351504212
// redpark cable example for Rsc_Demo that comes with redpark cable
// written by: Jimmy Chion | IDEO | 2012
//
// hardware:
// redpark cable (19-pin iOS connector to RS-232 Serial) http://www.redpark.com/c2db9.html
// RS232 shifter (to UART): http://www.sparkfun.com/products/449
// Note: Don't forget that TX->RX and RX->TX
//
#define MAX_CHAR_TO_RX 30
@arduinoboard
arduinoboard / Command.cpp
Created March 23, 2012 08:50
The file that is currently on an Arduino Uno with a serial number of 64932343738351217080
/*
Copyright (c) 2011 Guy Carpenter
*/
#include <Arduino.h>
#include "Command.h"
#define CMDBUF_LEN 40
@arduinoboard
arduinoboard / RFIDtest.ino
Created March 28, 2012 00:06
The file that is currently on an Arduino Mega 2560 or Mega ADK with a serial number of CC2B6802ERDG6ML0
#include <avr/pgmspace.h>
#define TAG_LEN 12 // length of a single tag in bytes
int ledPin = 13; //feedback led
int ledPin2 = 6; //feedback led
@arduinoboard
arduinoboard / NRFping_client.ino
Created April 4, 2012 14:38
The file that is currently on an Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328 with a serial number of A4016EYA
/**
* A Mirf example to test the latency between two Ardunio.
*
* Pins:
* Hardware SPI:
* MISO -> 12
* MOSI -> 11
* SCK -> 13
*
* Configurable:
@arduinoboard
arduinoboard / rov_working2.ino
Created April 18, 2012 00:11
The file that is currently on an Arduino Mega 2560 or Mega ADK with a serial number of 64935343733351700000
int RFM1 = 9; // right motor 1
int LFM1 = 10;
int UM1 = 11;
int analogPin = 0;
int analogPin2 = 1;
int analogPin3 = 2;
int val = 0; // variable to store the read value
int val2 = 0; // variable to store the read value
int val4 = 0;
int RFM1RP1 = 22; //right forward motor 1 relay pin 1
@arduinoboard
arduinoboard / CHB_RC_arduino_RF_cars_with_errors.pde
Created June 4, 2012 19:33
The file that is currently on an Arduino Uno with a serial number of 6493534313335130C171
//Cliff Bargar 2/14/12
//CHB RC car
//Based on code by Will Langford
int input;
char serialIn;
const int forward = 9;
const int backward = 10;
const int left = 11;
const int right = 12;
@arduinoboard
arduinoboard / GLCD_Temp_Monitor.ino
Created July 20, 2012 16:10
The file that is currently on an Arduino Uno with a serial number of 2fdfd9c1ad0f0d51e864239451fbd02634ffc9a5
/********** ITDB02 Networked Temperature **********
This program requires the ITDB02_Graph16 library.
It uses the OneWire Library and an Arduino-compatable
ethernet shield The display can be used with small or
large fonts, and in portrait or landscape mode.
The OneWire runs on digital pin 9 to avoid a conflict
with the LCD software.
**************************************************/
@arduinoboard
arduinoboard / MyMultiPing.ino
Created August 7, 2012 10:09
The file that is currently on an Arduino Uno with a serial number of 6413138333135171C0E0
/*
Repeatedly ping a number of servers and output the response to serial and pins 2,3,4
pin 2: ping request sent
pin 3: ping response received
pin 4: ping response not received
This software requires the ICMPPing library, available at
http://www.blake-foster.com/projects/ICMPPing.zip