int valor1=0;
int valor2=0;
int motor=0;
int i;
void setup(){
pinMode(6, OUTPUT);
Serial.begin(9600);
}
void loop(){
//for(i=0;i<220 analogwrite="" delay="" i="" if="" serial.println="" valor1="" valor2=""> 200 && valor1 < 950){
analogWrite(6, 210);
delay(10);
}
if (valor2 > 200 && valor2 < 950){
analogWrite(6, 210);
delay(10);
}
if (valor2 >950 && valor1 > 950) {
analogWrite(6, 0);
delay(10);
}
delay(100);
}
220>
martes, 5 de enero de 2016
blink relay with led.
Posted on 8:09:00by ro with No comments
sábado, 2 de enero de 2016
SMART IRRIGATION SYSTEM./ intento de riego con internet o un tweet
Posted on 20:05:00by ro with No comments
the proyect consist to make a smart irrigation system in Atacama desert via control remote in a place without electrical net. but with conectivity signal(3G).
the first step consist to make solar electrical system.
materials:
1) electrovalve (ball-24volts DC)
the first step consist to make solar electrical system.
1) electrovalve (ball-24volts DC)
2) 1sheeld shield and arduino.
3) pipe (1/2")and drip
the first step is make solar panels.
the code should be able:
- automatic irrigation
- modify time of the irrigation with a tweet or sms
- a tweet actived or deactived the irrigation
- detect rain
- notify with a photo the state of the garden
- move the camera via tweet o sms
Suscribirse a:
Comentarios (Atom)







