Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tagore.PDE
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Tagore.PDE

    @Tagore.PDE

    1
    Reputation
    16
    Posts
    483
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Tagore.PDE Follow

    Best posts made by Tagore.PDE

    • RE: DHT sensor for Mysensors V2

      Yes, thx. same issue.

      posted in General Discussion
      Tagore.PDE
      Tagore.PDE

    Latest posts made by Tagore.PDE

    • RE: DHT sensor for Mysensors V2

      Yes, thx. same issue.

      posted in General Discussion
      Tagore.PDE
      Tagore.PDE
    • RE: DHT sensor for Mysensors V2

      Anyone tried that?
      i m getting error with dht.readSensor.

      Arduino: 1.6.9 (Windows 7), Board: "Arduino/Genuino Uno"
      
      WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
      C:\Users\Usuario\Documents\Arduino\GW Serial 2.0\GwSerial.v.0.3\GwSerial.v.0.3.ino: In function 'void loop()':
      
      GwSerial.v.0.3:198: error: no matching function for call to 'DHT::readSensor(bool)'
      
         dht.readSensor(true);
      
                            ^
      
      C:\Users\Usuario\Documents\Arduino\GW Serial 2.0\GwSerial.v.0.3\GwSerial.v.0.3.ino:198:22: note: candidate is:
      
      In file included from C:\Users\Usuario\Documents\Arduino\GW Serial 2.0\GwSerial.v.0.3\GwSerial.v.0.3.ino:38:0:
      
      C:\Program Files (x86)\Arduino\libraries\DHT/DHT.h:83:8: note: void DHT::readSensor()
      
         void readSensor();
      
              ^
      
      C:\Program Files (x86)\Arduino\libraries\DHT/DHT.h:83:8: note:   candidate expects 0 arguments, 1 provided
      
      Multiple libraries were found for "DHT.h"
       Used: C:\Program Files (x86)\Arduino\libraries\DHT
       Not used: C:\Users\Usuario\Documents\Arduino\libraries\DHT_sensor_library
      exit status 1
      no matching function for call to 'DHT::readSensor(bool)'
      
      
      posted in General Discussion
      Tagore.PDE
      Tagore.PDE
    • RE: Adafruit Feather M0 RFM69 Packet Radio (433 or 900 MHz)

      @hek said:

      The upcoming MySensors gateway runs on SAMD so I guess feather works.

      Hi @hek , thx for the reply, any eta on this?
      Regards.

      Hi @scalz , can please help me out to get some feathers running? that would be really helpfull 🙂
      Regards.

      posted in Hardware
      Tagore.PDE
      Tagore.PDE
    • Adafruit Feather M0 RFM69 Packet Radio (433 or 900 MHz)

      Hi Guys, any of you tried to use this hardware?
      Its possible to run Mysensors using that?
      Best regards.

      posted in Hardware
      Tagore.PDE
      Tagore.PDE
    • RE: Temp Sensor and iobroker on rasPi3

      not yet, but in some days i will get that running.
      regards.

      posted in My Project
      Tagore.PDE
      Tagore.PDE
    • RE: Library 2.0 - No Humidity sketch
      // Enable debug prints to serial monitor
      #define MY_DEBUG 
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      //Including nescessary libraries
      #include <SPI.h>
      #include <MySensors.h> 
      #include <DHT.h>  
      #define HUMIDITY 1
      #define TEMPERATURE 2
      
      #define HUMIDITY_SENSOR_DIGITAL_PIN 3
      DHT dht;
      
      float lastTempValue;
      float lastHumValue;
      boolean metric = true; 
      
      unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds)(30 seconds)
      #define MESSAGEWAIT 500
      
      MyMessage msgHum(HUMIDITY, V_HUM);
      MyMessage msgTemp(TEMPERATURE, V_TEMP);
      
      void presentation()  {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("XXXX", "XX");
        wait(MESSAGEWAIT);
      
        // Register all sensors to gateway (they will be created as child devices)
        present(HUMIDITY, S_HUM);
        wait(MESSAGEWAIT);
        present(TEMPERATURE, S_TEMP);
        wait(MESSAGEWAIT);
      }
      
      void setup() {
         dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN);
      }
      
      void loop() {
                  delay(dht.getMinimumSamplingPeriod());
                  float temperature = dht.getTemperature();
                  if (isnan(temperature)) {
                                          Serial.println("Failed reading temperature from DHT");
                                          } else if (temperature != lastTempValue) {
                                                                                send(msgTemp.set(temperature, 1));
                                                                                lastTempValue = temperature;
                                                                                Serial.print("Temp: ");
                                                                                Serial.println(temperature);
                                                                              }
                  float humidity = dht.getHumidity();
                   if (isnan(humidity)) {
                                        Serial.println("Failed reading humidity from DHT");
                                        } else if (humidity != lastHumValue) {
                                                                         send(msgHum.set(humidity, 1));
                                                                         lastHumValue = humidity;
                                                                         Serial.print("Hum: ");
                                                                         Serial.println(humidity);
                                                                        } 
      
                  sleep(SLEEP_TIME);
                 }
      
      
      posted in Troubleshooting
      Tagore.PDE
      Tagore.PDE
    • RE: Skech using DHT11/LDR and SoilMoisture from itead. (Solved solution inside)

      I think i get it, @tlpeter :

      MyMessage msgHumSoil(SOILHUMDITY, V_LEVEL); 
      
      void presentation()  {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Sensor POT", "1.1");
        wait(MESSAGEWAIT);
      
        // Register all sensors to gateway (they will be created as child devices)
        present(SOILHUMDITY, S_MOISTURE);
      
      posted in Development
      Tagore.PDE
      Tagore.PDE
    • RE: Skech using DHT11/LDR and SoilMoisture from itead. (Solved solution inside)

      Hi @tlpeter , cna share one example?

      Regards.

      posted in Development
      Tagore.PDE
      Tagore.PDE
    • RE: Skech using DHT11/LDR and SoilMoisture from itead. (Solved solution inside)

      For the record, to send in %, next code:

       int soilValue = analogRead(ANALOG_INPUT_SOIL_SENSOR); 
        soilValue = constrain(soilValue, 420, 1023); 
        soil = map(soilValue, 420, 1023, 100, 0);
        if (soil != lastSoilValue) {
          send(msgHumSoil.set(soil)); // Send in percent
          lastSoilValue = soil;```
      posted in Development
      Tagore.PDE
      Tagore.PDE
    • RE: Skech using DHT11/LDR and SoilMoisture from itead. (Solved solution inside)

      @TheoL thx for your feedback.

      posted in Development
      Tagore.PDE
      Tagore.PDE