Navigation

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

    adrian_kbb73

    @adrian_kbb73

    1
    Reputation
    9
    Posts
    301
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    adrian_kbb73 Follow

    Best posts made by adrian_kbb73

    • RE: It is possible to send a string

      thak you very much.
      i will prove.

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73

    Latest posts made by adrian_kbb73

    • RE: It is possible to send a string

      thak you very much.
      i will prove.

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • It is possible to send a string

      My question is:
      It is possible to send a string via send (msg)
      If possible, could give me an example
      thank you very much

      And good afternoon.

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • RE: several nodes gatewayserial it's possible??(problem).

      @Boots33
      Yes, thanks, that's what I want to do.
      I'll prove it.

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • several nodes gatewayserial it's possible??(problem).

      good day
      I have this problem
      I have a couple of nodes connected to the serial gateway (without a controller)
      And the problem is that they cross the transmissions that they send me
      (I need to have the measurements of the nodes separately)
      the question is
      It is possible to avoid the crossings of transmissions so that I get the data of node N first and then the next and so on.

      I hope you can help me with this doubt
      It's for a school project
      Thank you.

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • multi rebbots gatewayserial mysensors 2.1.1

      Hi, hope you have a good day
      i'm beginner in mysensors,
      I hope you can help me, I have the problem in multi reboots in the sketch of gatewayserial and sometimes it freezes, hope you can help me.
      this is the trouble.


      �0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1
      0;255;3;0;9;MCO:BGN:BFR
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1
      0;255;3;0;9;MCO:BGN:BFR
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      0;255;3;0;14;Gateway startup complete.
      0;255;0;0;18;2.1.1
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1


      multi reboots

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • RE: 'MySensors' does not name a type

      @Sander-Stolk
      o thank you, i will prove without that line

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • RE: 'MySensors' does not name a type

      @adrian_kbb73
      #define MY_RADIO_RFM69
      #define MY_RFM69_FREQUENCY RF69_915MHZ
      #define MY_IS_RFM69HW
      #define MY_RF69_IRQ_PIN 2
      #define MY_RF69_SPI_CS 10
      #include <SPI.h>
      #include <MySensors.h>
      #include <DHT.h>

      #define CHILD_ID_HUM 0
      #define CHILD_ID_TEMP 1
      #define HUMIDITY_SENSOR_DIGITAL_PIN 3
      unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds)

      MySensors gw;/// Here I get the error
      DHT dht;
      float lastTemp;
      float lastHum;
      boolean metric = true;
      MyMessage msgHum(CHILD_ID_HUM, V_HUM);
      MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);

      void setup()
      {
      gw.begin();
      dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN);

      // Send the Sketch Version Information to the Gateway
      gw.sendSketchInfo("Humidity", "1.0");

      // Register all sensors to gw (they will be created as child devices)
      gw.present(CHILD_ID_HUM, S_HUM);
      gw.present(CHILD_ID_TEMP, S_TEMP);

      metric = gw.getConfig().isMetric;
      }

      void loop()
      {
      delay(dht.getMinimumSamplingPeriod());

      float temperature = dht.getTemperature();
      if (isnan(temperature)) {
      Serial.println("Failed reading temperature from DHT");
      } else if (temperature != lastTemp) {
      lastTemp = temperature;
      if (!metric) {
      temperature = dht.toFahrenheit(temperature);
      }
      gw.send(msgTemp.set(temperature, 1));
      Serial.print("T: ");
      Serial.println(temperature);
      }

      float humidity = dht.getHumidity();
      if (isnan(humidity)) {
      Serial.println("Failed reading humidity from DHT");
      } else if (humidity != lastHum) {
      lastHum = humidity;
      gw.send(msgHum.set(humidity, 1));
      Serial.print("H: ");
      Serial.println(humidity);
      }

      gw.sleep(SLEEP_TIME); //sleep a bit
      }

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73
    • 'MySensors' does not name a type

      hello, i'm new in arduino and in das forum
      and i have this error in code
      i hope they can help me.
      /////////error//////////////
      exit status 1
      'MySensors' does not name a type
      /////////////////////////////////////////////////////////////

      posted in General Discussion
      adrian_kbb73
      adrian_kbb73