Navigation

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

    Topics created by Dan S.

    • Dan S.

      Update from 1.41 to 2.0?
      My Project • • Dan S.  

      5
      0
      Votes
      5
      Posts
      1678
      Views

      Dan S.

      @tekka Thanks! Exactly what I needed
    • Dan S.

      IR Sender for stereo receiver
      My Project • • Dan S.  

      5
      1
      Votes
      5
      Posts
      2246
      Views

      Dan S.

      I should add that I use a vera scene to turn the receiver on and select a particular preset for the Hd FM tuner. I just select device off for the receiver in vera to turn everything off.
    • Dan S.

      Node/sensor id process
      Development • • Dan S.  

      10
      0
      Votes
      10
      Posts
      3088
      Views

      Dan S.

      @hek Got it. Thanks. Hadn't thought of that.
    • Dan S.

      Water Sensor Issue
      Troubleshooting • • Dan S.  

      14
      0
      Votes
      14
      Posts
      3547
      Views

      Dan S.

      Something else I discovered in looking at the zero node issue. As soon as I download a sketch to the arduino and the sketch executes, it is given a node id by the gateway--before the any formal include process is started. I thought the node id was generated during the inclusion process. Is this right?
    • Dan S.

      Gateway/sensor Range Advice
      Hardware • • Dan S.  

      13
      0
      Votes
      13
      Posts
      5851
      Views

      Dan S.

      @BulldogLowell That's exactly right. You stated it more clearly than I did. It's not a problem if you're careful in how you set up your if test but its does warrant a warning to be careful in that regard to anyone using mills() for timing their sensor reads.
    • Dan S.

      Metric/Imperial selection
      Troubleshooting • • Dan S.  

      5
      0
      Votes
      5
      Posts
      2011
      Views

      Dan S.

      @korttoma Took your advice about including to get node and it worked! Also when the node appeared in Vera I noted my termp sensor was now reporting in farhrenheit! Thank you!
    • Dan S.

      Rounding sensor values
      Development • • Dan S.  

      5
      0
      Votes
      5
      Posts
      1659
      Views

      Dan S.

      OK another try: here's the rounding (up) function, to be placed after the loop function in the sketch: int Ceiling(int input, int ceilTo) //input is the integer number to be rounded //ceilTo is the desired rounding (up) value { if ((input % ceilTo) != 0) { return ((int)(input / ceilTo) * ceilTo) + ceilTo; } else { return (input); } } After the sensor input is read in the sketch, e.g. light level, insert the line lightLevel = Ceiling(lightLevel,10); Rounds all light level values upwards to the nearest 10. Depending on your rounding value, this will reduce the number of times the sensor sends an update to the gateway since updates are only sent when the value is different from the one previously sent.
    • Dan S.

      Ethernet Gateway problem
      Troubleshooting • • Dan S.  

      93
      0
      Votes
      93
      Posts
      47371
      Views

      djolafritte

      Hello, I had the same problems and I solved it by using an external 12V power supply created with a RAC02-12SC from RECOM Powersupply. Regards
    • Dan S.

      Switch from serial to ethernet gateway
      Vera • • Dan S.  

      3
      0
      Votes
      3
      Posts
      1097
      Views

      Dan S.

      @hek Thanks. Should have known better since the instructions are in the Ethernet sketch!
    • Dan S.

      Wiring a separate power supply for the radio
      Troubleshooting • • Dan S.  

      21
      0
      Votes
      21
      Posts
      8383
      Views

      Dan S.

      @jocke4u I have since put the set up I have described above in permanent operation as my Vera gateway and have not had any problems with it. I do have a cap across the NRF24L01+PA+LNA power and ground terminals--that may make a difference, even with external power. I did power up the radio before the Arduino.
    • Dan S.

      "Check Wires " message
      Troubleshooting • • Dan S.  

      13
      0
      Votes
      13
      Posts
      3476
      Views

      Rek

      It appears as both my Uno and Mega do not like being a gateway at all. either serial or ethernet. My micro works just fine. guess its a board problem
    • Dan S.

      Changing sensor arduino board
      Vera • • Dan S.  

      9
      0
      Votes
      9
      Posts
      2466
      Views

      Dan S.

      Wrote the 1st 3 bytes (1,0,1) to the new Nano sensor board and uploaded the sensor sketch. Was recognized as sensor id 1, same as previous UNO board which was the desired result. Probably could have gotten the same result by only writing the number 1 (the sensor-id) to the first byte or calling gw.begin() with the sensor-id set to 1.