Monthly Archives: August 2013

Water Flow Sensor

Wiring up the Water Flow Sensor is pretty simple. There are 3 wires: Black, Red, and Yellow. Black to the Seeeduino’s ground pin Red to Seeeduino’s 5v pin The yellow wire will need to be connected to a 10k pull … Continue reading

Posted in Arduino Project | Leave a comment

ETHERNET ENC28J60 + 5 Relay Modules (1 Relay on Temperature Sensor)

This sketch requires etherShield, ETHER_28J60 and OneWire library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ // A simple web server that turn a Relay on or off” #include “etherShield.h” #include “ETHER_28J60.h” #define RELAY1  22 #define RELAY2  23 #define RELAY3  24 #define … Continue reading

Posted in Arduino Project | Leave a comment

ETHERNET ENC28J60 + 5 Relay Modules (1 Relay on Light Sensor)

This sketch requires etherShield, ETHER_28J60, BH1750 and OneWire library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/   #include <Wire.h> #include <BH1750.h> #include “etherShield.h” #include “ETHER_28J60.h” #define RELAY1  22 #define RELAY2  23 #define RELAY3  24 #define RELAY4  25 #define RELAY5  26 #define … Continue reading

Posted in Arduino Project | Leave a comment

ETHERNET ENC28J60 + 2 Relay Modules

This sketch requires etherShield and ETHER_28J60 library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ // A simple web server that turn a relay on or off” #include “etherShield.h” #include “ETHER_28J60.h” #define RELAY1  22 #define RELAY2  23 static uint8_t mac[6] = {0x54, … Continue reading

Posted in Arduino Project | Leave a comment

DHT11 Humidity Sensor

This sketch requires DHT library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ #include “DHT.h” DHT dht; void setup() { Serial.begin(9600); Serial.println(); Serial.println(“Status\tHumidity (%)\tTemperature (C)\t(F)”); dht.setup(2); // data pin 2 } void loop() { delay(dht.getMinimumSamplingPeriod()); float humidity = dht.getHumidity(); float temperature … Continue reading

Posted in Arduino Project | Leave a comment

LCD + BH1750 Bar Graph

This sketch requires LcdBarGraph and BH1750 library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ #include <LiquidCrystal.h> #include <LcdBarGraph.h> #include <Wire.h> #include <BH1750.h> BH1750 lightMeter; byte lcdNumCols = 16; // — number of columns in the LCD byte sensorPin = 2; // … Continue reading

Posted in Arduino Project | Leave a comment

16×2 LCD

// include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(8,9,10,11,12,13); void setup() { // set up the LCD’s number of columns and rows: lcd.begin(16,2); // Print a message to the … Continue reading

Posted in Arduino Project | Leave a comment

Relay Board + Temperature Sensor (DS18B20) + LCD (with serial printing)

This sketch requires OneWire  library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/   #define RELAY1  3 // Relay on digital pin 3 #include <OneWire.h> #include <LiquidCrystal.h> LiquidCrystal lcd(8,9,10,11,12,13); int DS18S20_Pin = 2; //DS18S20 Signal pin on digital 2 //Temperature chip … Continue reading

Posted in Arduino Project | Leave a comment

Relay Board + Temperature Sensor (DS18B20) (with serial printing)

This sketch requires OneWire library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ #define RELAY1  2 //(Digital Pin 2) #include <OneWire.h> int DS18S20_Pin = 2; //DS18S20 Signal pin on digital 2 //Temperature chip i/o OneWire ds(DS18S20_Pin);  // on digital pin 2 … Continue reading

Posted in Arduino Project | Leave a comment

8 Relay Board (HL-58S V1.0)

#define RELAY1  2   //(Digital Pin 2) #define RELAY2  3 #define RELAY3  4 #define RELAY4  5 #define RELAY5  6 #define RELAY6  7 #define RELAY7  8 #define RELAY8  9  //(Digital Pin 9) void setup() { // Initialise the Arduino data pins … Continue reading

Posted in Arduino Project | Leave a comment