author
7CommentsPuerto RicoJoined April 16th, 2009
Geek from birth!, always worked with electronics, computers, and also love Electronic Music, Sci-fi movies, science, etc!
  • Daniel Morales made the instructable Arduino Soil Moisture Sensor7 months ago
    Arduino Soil Moisture Sensor

    Don't have the moisture sensor yet, havent gotten it in the mail, but played around with Blynk APP, and got it to work, changed the code to work with it using "virtual" LCD display and leds! PS, I'm a NOOB at this.. code here:#include <SoftwareSerial.h>SoftwareSerial DebugSerial(2, 3); // RX, TX#define BLYNK_PRINT DebugSerial#include <BlynkSimpleStream.h>char auth[] = "YOUR AUTH CODE FOR BLYNK GOES HERE!";WidgetLCD lcd (V0);WidgetLED led1(V1);WidgetLED led2(V2);WidgetLED led3(V3);WidgetLED led4(V4);WidgetLED led5(V5);int a;int humiditya;void setup(){ // Debug console DebugSerial.begin(9600); // Blynk will work through Serial // Do not read or write this serial manually in your sketch Serial.begin(9600); Blynk.begin(Serial, auth);}void loop(){ Blynk...

    see more »

    Don't have the moisture sensor yet, havent gotten it in the mail, but played around with Blynk APP, and got it to work, changed the code to work with it using "virtual" LCD display and leds! PS, I'm a NOOB at this.. code here:#include <SoftwareSerial.h>SoftwareSerial DebugSerial(2, 3); // RX, TX#define BLYNK_PRINT DebugSerial#include <BlynkSimpleStream.h>char auth[] = "YOUR AUTH CODE FOR BLYNK GOES HERE!";WidgetLCD lcd (V0);WidgetLED led1(V1);WidgetLED led2(V2);WidgetLED led3(V3);WidgetLED led4(V4);WidgetLED led5(V5);int a;int humiditya;void setup(){ // Debug console DebugSerial.begin(9600); // Blynk will work through Serial // Do not read or write this serial manually in your sketch Serial.begin(9600); Blynk.begin(Serial, auth);}void loop(){ Blynk.run(); a = analogRead (A0); humiditya = map (a, 0, 1023, 0, 100); lcd.print(0,0, a); lcd.print(0,1, humiditya);if (a >= 820) { led1.on(); led2.on(); led3.on(); led4.on(); led5.on();}else if (a >= 615 && a < 820) { led1.on(); led2.on(); led3.on(); led4.off(); led5.off();} else if (a >= 410 && a < 615) { led1.on(); led2.on(); led3.off(); led4.off(); led5.off();} else if (a >= 250 && a < 410) { led1.on(); led2.off(); led3.off(); led4.off(); led5.off();}else if (a >= 0 && a < 250) { led1.off(); led2.off(); led3.off(); led4.off(); led5.off();} delay(2000); lcd.clear();}

    View Instructable »
  • Daniel Morales commented on vmusica's instructable Arduino Plant Hidration System7 months ago
    Arduino Plant Hidration System

    What if one replaces that with coat hanger wire? isn't it galvanized?

    View Instructable »