Navigation

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

    Topics created by nerukam

    • nerukam

      Arduino ethernet gateway seems to be stuck in a loop
      Troubleshooting • • nerukam  

      2
      0
      Votes
      2
      Posts
      842
      Views

      martinhjelmare

      As you also suspect I think the gateway is rebooting at a regular interval. In my experience this can be due to two causes. Either due to a bug that was present in an older core arduino firmware version or due to the gateway doesn't get enough power to handle sending of messages. Sending messages requires more power than receiving messages. How did you program the gateway, ie what software and what version of software did you use? How do you power the gateway? Do you use the recommended capacitor close to the radio? See this post for info on arduino core versions with the bug: https://forum.mysensors.org/topic/6257/ethernet-gateway-home-assitant/4 It was solved in version 1.6.18.
    • nerukam

      How to connect my ethernet gateway to hass?
      Home Assistant • • nerukam  

      2
      0
      Votes
      2
      Posts
      1345
      Views

      martinhjelmare

      No mysensors devices will be visible in home assistant until they are presented and send their first values to home assistant. So only having a gateway without sensors will not generate any mysensors entities in home assistant. You can read more about presenting your mysensors devices to home assistant here: https://home-assistant.io/components/mysensors/#presentation
    • nerukam

      More reliable relative humidity measurements?
      Hardware • • nerukam  

      18
      0
      Votes
      18
      Posts
      3037
      Views

      manutremo

      I'm not sure about the last statement, since the CPU needs to wake-up to make the measurement and send the result even though you use the sensor's own sleep mode. However I've never made that kind of measurement so can't really support this with numbers. That said, in my opnion the solution of feeding the sensor from a pin on the arduino makes sense when the sensor doesn't include its own sleep mode... in that case, it may be fed from a pin, or from an external transistor or mosfet device... if it has its own sleep mode, it seems more reasonable using it.
    • nerukam

      Multiple sensors on one Arduino?
      Hardware • • nerukam  

      4
      0
      Votes
      4
      Posts
      2336
      Views

      chisight

      @nerukam 10 moisture sensors only requires two analog ports. You don't want the sensors on all the time or they will corrode away quickly, so you always turn them on and off with a transistor anyway. One end of the sensor goes to Vcc. The other end of the sensor goes to the an analog input. The sensor/analog input is also connected to a resistor. The other end of the resistor goes to the transistor's collector. The transistor's emitter goes to ground. A digital output goes through a resistor to the transistor's base. A second sensor goes in parallel to the first with it's own resistor and goes to it's own analog port. The exact values of the resistors isn't critical but 4.7K should be a good value for all of them in a 5V system. To read sensor X1 and X2, turn digital output X on, read the two analog inputs and when done, turn it off. Repeat this 5 times and you have 10 sensors using 2 analog and 5 digital pins. For even better sensor lifespan, use an H bridge and switch the direction of the current on each read. (design left as an exercise for the reader.) You can actually connect up to 8 sensors to each digital output for a total of up to 48 soil moisture sensors on a single Pro Mini + NRF24 and more if you want to resort to port expanders. (As stated before, port expanders are not really realistic due to them costing about the same as a whole Pro-Mini.) Not all Pro Minis expose all 8 analog pins, choose one that does if you want the most possible sensors.
    • nerukam

      Neewbie questions about the gateway
      Hardware • • nerukam  

      2
      0
      Votes
      2
      Posts
      756
      Views

      scalz

      Hello. Welcome to MySensors. it's up to you to code that in your sketch regarding your controller if it is used. NRF24 = 2.4ghz. No 5ghz option. it depends on your environment. You can change communication channels in your nrf24 nodes, else there is sub-ghz option.. as far as i remember, w5100 ic has the TCP included, so the enc28 needs more resources. and i think w5100 is more reliable etc. in MySensors, there are encryption and signing. it does what it means this is like asking which color do you prefer? I can tell you'll get lot of different opinions on my side I'm using Jeedom for multiple reasons. Best is to compare which one do you prefer regarding your needs. I don't think there is one best of the best.. little trick.. if you need more explanations, I'm pretty sure these topics are already answered on the forum