Navigation

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

    Christoph Blank

    @Christoph Blank

    0
    Reputation
    12
    Posts
    596
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Christoph Blank Follow

    Best posts made by Christoph Blank

    This user hasn't posted anything yet.

    Latest posts made by Christoph Blank

    • RE: Humidity doesn't receive ACK, everything else works?

      sorry it took a bit - this is my current test: https://gist.github.com/solars/688a635f791c2e558a1ec57b67c9beb4
      it's stitched together from sources I have found, so I might not be doing it right.

      posted in Troubleshooting
      Christoph Blank
      Christoph Blank
    • RE: Humidity doesn't receive ACK, everything else works?

      From my point of view this is the only relevant code, but I can post it later when I'm on the other machine again.
      The humidity changes, I get the same result if I leave out the condition.

      Also, from my understanding, as I'm using ACK, it already waits 70ms before continuing, so there should be enough time with the additional delay?
      (When using only one send())
      I'm surprised that it only happens for humidity.. never had this problem on the other readings.

      Is there any way I can wrap this in a while loop? I think that ACK timeouts after 70ms or so IIRC, so I'm not sure how I would actually wait until I
      receive the ACK, and e.g. try 3 times.

      posted in Troubleshooting
      Christoph Blank
      Christoph Blank
    • Humidity doesn't receive ACK, everything else works?

      Hi there,

      I've got a weird behaviour, I'm using a BME280 and send humidity, temp, pressure via mysensors.
      The problem is that humidity never gets sent, so I tried to debug it and saw that it works if I send it twice,
      but one of the requests never receives an ACK.

      This only happens for humidity, the other measurements work fine.
      I tried adding a delay (100) but same result.

      Can anyone tell me how to fix this? Here is the relevant code:
      https://gist.github.com/solars/8339a486d21545a1efdce44f6b363023

      posted in Troubleshooting
      Christoph Blank
      Christoph Blank
    • RE: 💬 Button size radionode with sensors swarm extension

      @koresh said in 💬 Button size radionode with sensors swarm extension:

      @christoph-blank Hi, thanks for using this board. In the first version of this board the divider is conected after LDO, so you can't measure voltage above 3.3V. In the second version the divider is connected to the battery directly. You use 3.2v battery so it is not problem for you. But LiFePo4 battery has very flat discharge curve so it can be hard to read this level with reasonable accuracy.
      alt text
      I will try to find LiFePo4 battery and add some piece of code soon. Yet you can play with followed code

        // Get the battery Voltage
        int sensorValue = analogRead(BATTERY_SENSE_PIN);
        // 1M, 470K divider across battery and using internal ADC ref of 1.1V1
        // ((1e6+470e3)/470e3)*1.1 = Vmax = 3.44 Volts
        /* The MySensors Lib uses internal ADC ref of 1.1V which means analogRead of the pin connected to 470kOhms Battery Devider reaches  
         * 1023 when voltage on the divider is around 3.44 Volts. 2.5 volts is equal to 750. 2 volts is equal to 600. 
         * RFM 69 CW works stable up to 2 volts. Assume 2.5 V is 0% and 1023 is 100% battery charge    
         * RFM 69 HCW works stable up to 2.5 volts (sometimes it can work up to 2.0V). Assume 2.5 V is 0% and 1023 is 100% battery charge  
         * 3.3V ~ 1023
         * 3.0V ~ 900
         * 2.5V ~ 750 
         * 2.0V ~ 600
         */
      
      #ifdef  MY_IS_RFM69HW
        int batteryPcnt = (sensorValue - 750)  / 1.5;
      #else
        int batteryPcnt = (sensorValue - 600)  / 3;
      #endif
      

      Thank you very much, what are the other differences between V1 and V2? I believe I have V1 but I'm not sure.
      The above code is what I currently use, and I removed the sensor part of the module. However, it shows 100% until the end (until it's not sending anymore).

      Looking forward to your tests!
      Christoph

      posted in OpenHardware.io
      Christoph Blank
      Christoph Blank
    • RE: 💬 Button size radionode with sensors swarm extension

      Hi guys, quick question: I'm using a LiFePo4 3.2V battery directly on the board (sensors part removed).
      Somehow the battery percentage always shows 100 - how should I change the default code to make this work?

      Right now I'm using the code like here: https://github.com/EasySensors/ButtonSizeNode/blob/master/ButtonSizeNode.ino

      posted in OpenHardware.io
      Christoph Blank
      Christoph Blank
    • Low power soil moisture sensor (battery)?

      Hi there,

      I'd like to create a low-power, battery driven soil moisture sensor (I'm already using many battery powered mysensor nodes)
      and wonder what would be better:

      1. I2C - not sure about the deep sleep consumption here
        https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/

      2. Analog (Standard Aliexpress Sensor, found a power consumption spec on this page)
        https://www.dfrobot.com/wiki/index.php/Capacitive_Soil_Moisture_Sensor_SKU:SEN0193

      Does anyone have experience with these? I'm not sure if they can be easily turned off when sleeping e.g. if I connect them to
      a digital out and switch it?
      What would you use?

      Thanks a lot!
      Christoph

      posted in General Discussion
      Christoph Blank
      Christoph Blank
    • ESP8266/Wemos D1 Mini with RFM69?

      Hi there,

      I'd like to get a Wemos D1 Mini running with a RFM69HC, but I have no idea how to do this.

      I've wired it like this:
      MISO > D6
      MOSI > D7
      NSS > D8
      SCK > D5
      DIO0 > D2

      But can anyone tell me how to adapt the code for it ( IRQ etc)?

      posted in Troubleshooting
      Christoph Blank
      Christoph Blank