Navigation

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

    Topics created by linus72982

    • linus72982

      How to get sensors to report when sleeping -- other systems seem to do it
      Hardware • • linus72982  

      2
      0
      Votes
      2
      Posts
      949
      Views

      Yveaux

      @linus72982 For a door sensor there is little use in 'polling' the door state from the base station; it's much more efficient to only send the state changes from the sensor to the base station. That's probably what the SimpliSafe does, so the sensors can powerdown their radios until a door's state changes. You can achieve the same thing using an nRF24 radio and wire the door contact to an interrupt pin of the AVR. The AVR and radio will be asleep at very low power until woken by the interrupt. Once an interrupt occurs the sensor will send the new state to the gateway+controller ('base station'). This scenario is very energy efficient and can easily run for a long time without replacing batteries. See e.g. this example sketch on how to achieve this with MySensors.
    • linus72982

      [SOLVED] Getting a serial port error all the sudden
      Troubleshooting • • linus72982  

      2
      0
      Votes
      2
      Posts
      6948
      Views

      linus72982

      Nevermind, I figured it out (sort of). I deleted the serial port from device manager and then checked for hardware updates which reinstalled it. It then worked just fine for one iteration, but the serial monitor showed BinarySwitchSleepSensor output instead of gateway output. And then stopped working. I deleted it again, reinstalled the port, and immediately uploaded the gateway sketch back to it. Now it works great. My guess is that the binary sketch somehow messed up the serial comm when on the Nano? Not sure, but that fixed it. I must have forgotten to switch the port # when I was reuploading the binary sketch to my node and accidentely uploaded it to the gateway port.
    • linus72982

      Quick question on BinarySwitchSleepSensor example
      Development • • linus72982  

      3
      0
      Votes
      3
      Posts
      991
      Views

      mfalkvidd

      Yes, that is confusing. In 2.0 the examples have been updated to use digitalPinToInterrupt instead, see https://github.com/mysensors/MySensors/commit/3433d2da7885066777bc177f073df87313b9947c
    • linus72982

      Determine connected sensors after gateway restart
      Development • • linus72982  

      2
      0
      Votes
      2
      Posts
      895
      Views

      tbowmo

      @linus72982 The GW doesn't keep track of which nodes that is connected. It only acts as a GW between your sensor network and your controller.. The presentation messages that you see in your controller, is coming directly from the node itself. Your controller should cache the node presentations. As it's the controllers job to assign node-id's they won't change if the GW is rebooted.
    • linus72982

      Where do I cut the pro-mini's LED?
      Hardware • • linus72982  

      8
      0
      Votes
      8
      Posts
      2196
      Views

      mfalkvidd

      The regulator is directly to the left of the led. It has 3 legs on one side and 2 on the other. I use a small side cutter to cut the 2 legs and then i wiggle the regulator up and down until the 3 legs break.
    • linus72982

      Quick question about how gateways and nodes report
      Development • • linus72982  

      3
      0
      Votes
      3
      Posts
      905
      Views

      linus72982

      @hek Thanks -- one other quick question: am I right in assuming a child sensors will only ever send "set" message types and will only be routed "req" types? For example, I'll never see a message like this: 3; 3; 3; 0; 9; etc right? Nodes would send that sort of message, but never a child: 3; 255; 3; 0; 9; etc yes? I'm assuming this because most nodes just report a setting or get set to something, they don't have any intelligence beyond that, that all exists on the child's node.
    • linus72982

      Can't get sensors talking
      Troubleshooting • • linus72982  

      24
      0
      Votes
      24
      Posts
      8619
      Views

      Quinie

      Changed the arduino.. not the radio .. from UNO to Nano (not the sensor but the gateway).. now it works...
    • linus72982

      Any danger in using router antennas for NRF radio?
      Hardware • • linus72982  

      5
      0
      Votes
      5
      Posts
      1351
      Views

      dbemowsk

      @linus72982 You will probably get slightly better range with one of the antennas. The original antennas that come with the modules are probably 1/2 wave antennas whereas the ones on the router could possibly be 5/8 or maybe even full wave which might give you a little gain. The receiving end of the module might not see much with the added length, but where you would get the boost is when it is transmitting. I am not sure that you would want to hook up both antennas as that may hurt your SWR on the transmitting end which would hinder performance rather than help.
    • linus72982

      Can't figure out what I'm doing wrong with test setup
      Troubleshooting • • linus72982  

      32
      0
      Votes
      32
      Posts
      4220
      Views

      AWI

      @linus72982 thanks. Now let the fun begin and share your idea's