Author Archives: cmosgr

Electric Solenoid Valve

http://www.ebay.com/itm/400422235090 Control mode: DC 12V. Use of media: liquid water, such as other liquid suitable for the product. Medium temperature is about: 1 ~ 100 °C. Connection: is exceptionally thread. Solenoid valve Material: Body part of the plastic connector for … Continue reading

Posted in Arduino Microcontrollers | Tagged , , , , | Leave a comment

Cheap 12v 2A Power Supply for simple projects

I recieved this little psu today. It’s a 100-240 to 12v 2A regulated. Size:L86 x W60 x D34 mm. For $6.66 it’s a good deal. http://www.ebay.com/itm/330936337307

Posted in Arduino Microcontrollers | Tagged , , , | Leave a comment

ETHERNET ENC28J60 + 4 Relay Modules (simple sketch)

Ok so this is the easiest way to control 4 relays on a webserver controlled by ENC28J60. 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 … Continue reading

Posted in Arduino Project | Tagged , , , | Leave a comment

bh1750fvi (GY-302) Light Sensor Module

Signaling Type I2C This sketch requires BH1750.h library. You can download the library here https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ /* Example of BH1750 library usage. This example initalises the BH1750 object using the default high resolution mode and then makes a light level reading … Continue reading

Posted in Arduino Project | Tagged , , , , | 7 Comments

ENC28J60 Stand-Alone Ethernet Controller with SPI Interface

Documentation about this chip: http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889 Library: https://docs.google.com/file/d/0B4qM0hq-OmC1RHhEcXRNSmZ1YW8/ Wiring with MEGA 2560: ENC28J60  pin  —  MEGA 2560 pin SO — 50 SI — 51 SCK — 52 CS —  53 GND — GND VCC — 3.3v

Posted in Arduino Microcontrollers | Tagged , , , | Leave a comment

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