Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. Sensebender Micro

Sensebender Micro

Scheduled Pinned Locked Moved Announcements
584 Posts 84 Posters 401.8k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • petoulachiP Offline
    petoulachiP Offline
    petoulachi
    wrote on last edited by
    #342

    I am adventurous !

    Were can I find the beta version of the sketch ?

    1 Reply Last reply
    0
    • korttomaK Offline
      korttomaK Offline
      korttoma
      Hero Member
      wrote on last edited by
      #343

      https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/SensebenderMicro

      • Tomas
      1 Reply Last reply
      0
      • petoulachiP Offline
        petoulachiP Offline
        petoulachi
        wrote on last edited by
        #344

        Thanks !

        I took a look at the sketch, I didn't know there was a presentation() method to implement to present the different sensor's ID; is this new ? when is it called? I guess after setup() ?

        tbowmoT 1 Reply Last reply
        0
        • petoulachiP petoulachi

          Thanks !

          I took a look at the sketch, I didn't know there was a presentation() method to implement to present the different sensor's ID; is this new ? when is it called? I guess after setup() ?

          tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by
          #345

          @petoulachi

          That's a part of the development. Things are re-arranged in the sketches, to make things more configurable (from within the sketch itself).

          It will be part of the next release (I don't know when that is happening)

          1 Reply Last reply
          0
          • petoulachiP Offline
            petoulachiP Offline
            petoulachi
            wrote on last edited by
            #346

            Ok, related to MySensors 1.6 tehen, that explain why I never seen this !

            1 Reply Last reply
            0
            • magpernM Offline
              magpernM Offline
              magpern
              wrote on last edited by
              #347

              HI, I'm about to experiment with a modded version of the sensebender and I while looking at the schematics of the original sensebender, I see that the crystal does not have any pf capasitors and not connected to GND. Why is that?

              All other schematics of atmega or any microprocessor I've seen has dual 22pf caps over the crystal and connected to ground.

              1 Reply Last reply
              0
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #348

                @Magnus-Pernemark

                The sensebender was designed to use a 32Khz oscillator for lowpower operation. According to the datasheet (page 33) it is not necessary to have external load capacitors if the crystals datasheet specifies cL below 6pF.

                However, we decided early on that an external crystal is not necessary in our application. So that is why it is not mounted, but the pads are still there, in case someone would use it.

                magpernM 1 Reply Last reply
                0
                • tbowmoT tbowmo

                  @Magnus-Pernemark

                  The sensebender was designed to use a 32Khz oscillator for lowpower operation. According to the datasheet (page 33) it is not necessary to have external load capacitors if the crystals datasheet specifies cL below 6pF.

                  However, we decided early on that an external crystal is not necessary in our application. So that is why it is not mounted, but the pads are still there, in case someone would use it.

                  magpernM Offline
                  magpernM Offline
                  magpern
                  wrote on last edited by
                  #349

                  @tbowmo Thanks! Yes. I read that it was not needed, but since it said "if you want higher precision" I though that, higher is good, and it would not hurt to place one there. But the crystals I have are 12.5pf so I guess I can't use them, but on the other hand I don't need to buy any other

                  1 Reply Last reply
                  0
                  • nivocN Offline
                    nivocN Offline
                    nivoc
                    wrote on last edited by nivoc
                    #350

                    Did someone "test" the humidity precision of the Si7021on the sensbender? Of corse the datasheet says max 3% off but how reliable is that?

                    I have other sensors here and they differ by about 10%. So I did a "Salt-Calibration-Test" and there my two sensbenders or better Si7021 are 6% over the reference value. They report 81% and it should be 75%.

                    Note: It's my first time that I performed this test and I'm not 100% sure that the (water-salt-ratio) is correct - thats why I'm interested if someone else tested the values?

                    1 Reply Last reply
                    0
                    • tbowmoT Offline
                      tbowmoT Offline
                      tbowmo
                      Admin
                      wrote on last edited by tbowmo
                      #351

                      @nivoc

                      Salt and electronics isn't a good combination, it will cause corrosion of the copper tracks..

                      Just to warn you a little bit :)

                      1 Reply Last reply
                      0
                      • nivocN Offline
                        nivocN Offline
                        nivoc
                        wrote on last edited by
                        #352

                        @tbowmo Thanks. No worries the electronic won't touch the salt or water. The salt/water is just within the same closed container to bring the enclosed air to exactly 75.3% rel hum (at 25C).

                        I followed this howto: But there are many other similar ones.
                        http://www.kingofthehouse.com/hygrometer/

                        DwaltD 1 Reply Last reply
                        0
                        • nivocN nivoc

                          @tbowmo Thanks. No worries the electronic won't touch the salt or water. The salt/water is just within the same closed container to bring the enclosed air to exactly 75.3% rel hum (at 25C).

                          I followed this howto: But there are many other similar ones.
                          http://www.kingofthehouse.com/hygrometer/

                          DwaltD Offline
                          DwaltD Offline
                          Dwalt
                          wrote on last edited by
                          #353

                          @nivoc I setup several sensebenders on battery last summer and noticed they were a few % below two dht22 I had been running for months. I did the saturated salt test on three sensebenders with one dht22 and one mechanical hygrometer and the sensebenders all read 74-75% while the DHT and hygrometer read 78-80%. Not a perfect test and i dont know which devices were correct but one thing I noticed was the sensebenders consistently provided the same result across different devices. Relative humidity is relative.

                          Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                          1 Reply Last reply
                          0
                          • nivocN Offline
                            nivocN Offline
                            nivoc
                            wrote on last edited by
                            #354

                            @Dwalt
                            Thanks for the info. I'm currently opening the box every several hours to test the salt soup. My room has something between 50 and 60 rel. (so below 75). And every time I open the box this (see pic). It drops and goes back up to 82 or 83. Than it stabilizes there over the next couple hours. There are two sensbenders in the box - thats what the two line are. And yes they are remarkable equal. But it always goes to 82 - i would hope for 75. But I will repeat this procedure until it starts to stabilizes after every opening a little bit below the value that was there before the opening. Because if that happens i am below the dry point and than I will test in a room with humidity higher than 80 and test if soup can do the same into the other direction and holds it stable for many openings. THAN i know that the salt is performing is job correctly and know that the test is good and the senbender is wrong :-) or hopefully I learn the opposite.

                            upload-555b12a4-6bc0-4e07-acf7-976c4122e6d6

                            1 Reply Last reply
                            0
                            • nivocN Offline
                              nivocN Offline
                              nivoc
                              wrote on last edited by
                              #355

                              Yes it looks like that the sensors are 8% off. I tested the other way around >opening at ~100rel and closing and same + exactly back to 82/83 and it should be 75% :-).

                              upload-e6c04b83-54d0-4e1e-aef3-a36b72c760d5

                              1 Reply Last reply
                              0
                              • nivocN Offline
                                nivocN Offline
                                nivoc
                                wrote on last edited by
                                #356

                                In the new year I will test with "Magnesium chloride". It brings the rel humitity to exactly 32% - I will report how that goes :-)

                                1 Reply Last reply
                                0
                                • tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by tbowmo
                                  #357

                                  If the Si7021 is exposed to high humidity for a prolonged period, the RH% measurement will shift upwards, according to the datasheet, page 15, section 4.3

                                  Extract from Datasheet:

                                  4.3. Prolonged Exposure to High Humidity
                                  Prolonged exposure to high humidity will result in a gradual upward drift of the RH reading. The shift in sensor
                                  reading resulting from this drift will generally disappear slowly under normal ambient conditions. The amount of
                                  shift is proportional to the magnitude of relative humidity and the length of exposure. In the case of lengthy
                                  exposure to high humidity, some of the resulting shift may persist indefinitely under typical conditions. It is generally
                                  possible to substantially reverse this affect by baking the device (see Section “4.6. Bake/Hydrate Procedure” ).

                                  nivocN 1 Reply Last reply
                                  0
                                  • Z Offline
                                    Z Offline
                                    Zeph
                                    Hero Member
                                    wrote on last edited by Zeph
                                    #358

                                    @petoulachi said:

                                    BTW, what is the F() function ? instead of Serial.print("Sensebender Micro FW "); why using Serial.print(F("Sensebender Micro FW ")); ?

                                    It's a way to save some RAM. A simple string constant like "Hello" takes up 6 bytes of RAM and also 6 bytes of Flash (program) memory (6 bytes includes a single "hidden" byte of binary zero as an end-of-text marker). At startup and before your code executes, that bit of program memory is copied to RAM. The F() thing is a "macro" which causes the compiler save only the 6 bytes of Flash (no Ram used). The print function can (through C++ typing) fetch those 6 bytes from Flash at runtime for printing. If you have long or many text constants in your program, this can add up to some useful savings,when you only have 2K of RAM.

                                    See the "F() Macro" on this page: https://www.arduino.cc/en/Reference/PROGMEM

                                    1 Reply Last reply
                                    1
                                    • tbowmoT tbowmo

                                      If the Si7021 is exposed to high humidity for a prolonged period, the RH% measurement will shift upwards, according to the datasheet, page 15, section 4.3

                                      Extract from Datasheet:

                                      4.3. Prolonged Exposure to High Humidity
                                      Prolonged exposure to high humidity will result in a gradual upward drift of the RH reading. The shift in sensor
                                      reading resulting from this drift will generally disappear slowly under normal ambient conditions. The amount of
                                      shift is proportional to the magnitude of relative humidity and the length of exposure. In the case of lengthy
                                      exposure to high humidity, some of the resulting shift may persist indefinitely under typical conditions. It is generally
                                      possible to substantially reverse this affect by baking the device (see Section “4.6. Bake/Hydrate Procedure” ).

                                      nivocN Offline
                                      nivocN Offline
                                      nivoc
                                      wrote on last edited by
                                      #359

                                      @tbowmo Good hint. But it is happening to all three sensbeners for at least one month now. (different orders). I now got 4 more so I will test again soon.

                                      Over xmas I tested also with magnesium chloride hexahydrate. magnesium chloride hexahydrate produces exactly 33%rel.

                                      All 3 sensbenders report exactly 39% or 40%. So they are also here 7% off. But almost the same value and very reproducible - so thats great!

                                      upload-6b1782fc-cf3e-45b8-ad15-890b7eef84a0

                                      nivocN 1 Reply Last reply
                                      1
                                      • nivocN nivoc

                                        @tbowmo Good hint. But it is happening to all three sensbeners for at least one month now. (different orders). I now got 4 more so I will test again soon.

                                        Over xmas I tested also with magnesium chloride hexahydrate. magnesium chloride hexahydrate produces exactly 33%rel.

                                        All 3 sensbenders report exactly 39% or 40%. So they are also here 7% off. But almost the same value and very reproducible - so thats great!

                                        upload-6b1782fc-cf3e-45b8-ad15-890b7eef84a0

                                        nivocN Offline
                                        nivocN Offline
                                        nivoc
                                        wrote on last edited by nivoc
                                        #360

                                        @tbowmo I'm now almost sure that my test-setup has no faults very reproducable and read many articles - I plan to verify my findings with someone who has a professional calibrated device.

                                        I saw in a museum nearby that they have professional calibrated devices :-)
                                        upload-4464b273-5525-48b2-a940-10826e61f030

                                        So I will test against those :-)

                                        1 Reply Last reply
                                        0
                                        • tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #361

                                          @nivoc

                                          Have you tried to "bake" your sensebenders, in case they have been exposed to high humidity for a longer time?

                                          They are, as far as I know, produced in a part of China, which are known to have very high humidity. (been traveling there a lot some years ago)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular