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. OpenHardware.io
  3. 💬 MyMultisensors

💬 MyMultisensors

Scheduled Pinned Locked Moved OpenHardware.io
328pmotionatsha204amulti sensorhumiditytemperaturepirambiant lightlow powercoincell
176 Posts 33 Posters 61.2k 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #23

    Few pics of another board i have just assembled. I have just noticed I didn't show any proof/pics :confused:

    Top view
    0_1468163835509_MyCoincellMultisensors_t1.jpg
    With this lense, I get 5-6m.
    0_1468163883675_MyCoincellMultisensors_t2.jpg
    Bottom view, with rfm69, coincell holder and AVRSPI/FTDI connector.
    0_1468163920031_MyCoincellMultisensors_b1.jpg

    I am waiting for rev 1.1 pcb. No big changes, I improved a bit silkscreen, removed the schmitt trigger to save some power and in place i use pinchange int, makes more sense. Few routes and size changed.
    Though, 328p is memory limited, I have to disable debug for this one!

    1 Reply Last reply
    3
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #24

      nothing fancy, just wanted to share how this is working as we're all busy..

      there is a small problem with my widgets but no matter :blush: I show you what this board outputs if you're curious, and I'm beginning to like this board :heart_eyes:

      0_1469402151633_dash_multisensor.jpg

      I will change my dashboard later, it's just for fun.

      For power consumption, few reference for sleep time : old VC506 multimeter but working well + uCurrent Gold

      • PIR enabled, other sensors+MCU in deep sleep with interrupt on pins : 4-5uA for Varta CR2032 coincell, 3-4uA for 2xAAA Duracell
      • PIR enabled, other sensors+MCU in deep sleep with interrupt on pins + WDT enabled : 11uA for the coincell, 8uA for 2xAAA
      • PIR enabled, MCU active 1Mhz, other sensors sleeping with interrupt on pins + WDT enabled : 730-740uA for both

      not that bad :)
      I have an other proto waiting (for fun because i do not really need it lol). it's another version not for coincell, but as thin and much smaller! with ota back. I thought for coincell, ota or chain tx pulse, was a bit too much battery killer..even if CR2450 imho...and with our preferred lib :) there are multiple chain tx for presentation, some signing stuff etc..and you can't pause this to limit internal resisitance of the coincell..

      The sketch is still in progress. I mean it's working of course, but still looking to improve a bit things..but i can show you the infos and commands which are available for the controller. That should help to save enough power I think:

      
      // For controller. CHILD_ID are presented. CMDID are not presented to not charge radio tx. But are available from controller, using receive()
      //  CHILD NODE ID/CMD           ID    Description
      #define CHILD_ID_PIR            1     // PIR sensor 
      #define CHILD_ID_TEMP           2     // Temperature sensor
      #define CHILD_ID_HUM            3     // Humidity sensor
      #define CHILD_ID_LIGHT          4     // Ambiant light Child node ID
      #define CHILD_ID_BATT_SENSOR    5     // Battery voltage, % is reported by sendbattery stuff
      #define CHILD_ID_RSSI           6     // Radio rssi
      #define CHILD_ID_DOOR           7     // Door reed switch
      #define CHILD_ID_PIR_EN         8     // Enable PIR 
      #define CMID_FULL               10    // Command from controller with all params below in one tx. below is more for debug..
      #define CMID_PULSES             11    // Command from controller to set PIR number of pulse for windows time 
      #define CMID_WINDOWTIME         12    // Command from controller to set PIR window time   
      #define CMID_BLINDTIME          13    // Command from controller to set PIR blind time   
      #define CMID_CANCELTIME         14    // Command from controller to set PIR cancel time
      #define CMID_EN_LIGHT           15    // Command from controller to enable Light sensor threshold 
      #define CMID_LIGHT_MODE         16    // Command from controller to set Light sensor special mode (for instance, enable pir at certain light level only...) 
      #define CMID_LIGHT_H            17    // Command from controller to set Light sensor high threshold 
      #define CMID_LIGHT_L            18    // Command from controller to set Light sensor low threshold 
      #define CMID_LIGHT_DELTA        19    // Command from controller to set difference of lux for update controller 
      #define CMID_TRANSMIT_INTERVAL  20    // Command from controller to set time between sensor updates
      #define CMID_TH_DELTA           21    // Command from controller to set difference of temp/hum for update controller 
      #define CMID_EN_LED             22    // Command from controller to set led
      

      See you soon :)

      1 Reply Last reply
      4
      • carlierdC Offline
        carlierdC Offline
        carlierd
        wrote on last edited by
        #25

        Hello,

        Very complete board !

        How did you report RSSI ? It is RSSI of the node or the gateway ?

        David.

        1 Reply Last reply
        0
        • scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by scalz
          #26

          @carlierd hello. hehe yep a bit complete, very memory ric-rac limited :) It's rssi of the node tuned by ATC ;) I have modified libs, but i'm late on pr...sorry

          carlierdC 1 Reply Last reply
          0
          • scalzS scalz

            @carlierd hello. hehe yep a bit complete, very memory ric-rac limited :) It's rssi of the node tuned by ATC ;) I have modified libs, but i'm late on pr...sorry

            carlierdC Offline
            carlierdC Offline
            carlierd
            wrote on last edited by
            #27

            @scalz I will wait. I am curious to see the result on my nodes !

            1 Reply Last reply
            0
            • scalzS Offline
              scalzS Offline
              scalz
              Hardware Contributor
              wrote on last edited by scalz
              #28

              Yo,

              for those who have not seen my latest rev..apologize, I'm working hard to release all my stuff ;)
              It's still working well btw. this is the revision i will release i think (i have few other nice iteration but that's enough!).
              0_1474116844076_20160915_212045.jpg
              0_1474116860159_20160915_212143.jpg

              • Size is 25mmx49mm (same size as a nodemcu)
              • Same specs as before, plus OTA. So optimized for very low power and coincell management. Temp/hum/pir/lux/contact door input
              • Thickness depends on the battery used. That's great as now it's possible to use different kind of battery holder :) CR2032 for the thinnest (8mm without PIR) very thin!, CR2450, or through hole 2xAAA holder
              • you can see a test I want to try: a special antenna i saw on the forum. I will compare it with straight wire antenna, and coiled wire antenna.

              See you soon :)

              1 Reply Last reply
              5
              • scalzS Offline
                scalzS Offline
                scalz
                Hardware Contributor
                wrote on last edited by scalz
                #29

                another little pic :yum:
                0_1474568971435_20160922_170105.jpg
                left to right: 1) pcb without holder, 2) with cr2032 holder, 3) cr2450, 4) 2xaaa
                different antenna format, i have not compared yet. But the straight one, if i remember well, reached 40-50m range with one brick wall (All are the low power version of rfm69, CW). As you can see the coiled antenna (4) does not take so much place compared to the 1.9€ special ant (3).
                I can cover a nice range of use, yeah :)

                1 Reply Last reply
                2
                • carlierdC Offline
                  carlierdC Offline
                  carlierd
                  wrote on last edited by
                  #30

                  Very good job !

                  When will share the schematic ?
                  How is responding the PIR ?

                  And off course, how is the battery usage ? So many sensors could discharge it faster ...

                  David.

                  1 Reply Last reply
                  0
                  • scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by scalz
                    #31

                    Hi @carlierd

                    i'll fix this! There is still my first version i posted there, on the old topic, https://forum.mysensors.org/topic/3600/my-other-pir-multisensor-on-coin-cell

                    PIR is repsonding well, depending of the sensitivity i set in sketch. same for batt!
                    Many sensors but all low power :) Except reed switch option, of course my power consumption results above are without reed switch. If i need it, i use a 1M res min (increase a few uA).

                    see you soon

                    1 Reply Last reply
                    0
                    • AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #32

                      This looks good!
                      @scalz The PIR parts, are they based on the app note I showed you way back? :)

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      1 Reply Last reply
                      0
                      • scalzS Offline
                        scalzS Offline
                        scalz
                        Hardware Contributor
                        wrote on last edited by scalz
                        #33

                        @anticimex almost! in fact i noticed that's mostly the same schematic if you look at different source. of course it's a PIR ! Regarding the app note you showed me, resistors, capa values changed, and not same ref of comparator (lower power consumption here). so it's very low power :)

                        1 Reply Last reply
                        1
                        • Cliff KarlssonC Offline
                          Cliff KarlssonC Offline
                          Cliff Karlsson
                          wrote on last edited by
                          #34

                          Would it be possible to buy it pre-assembled soon?

                          1 Reply Last reply
                          0
                          • scalzS Offline
                            scalzS Offline
                            scalz
                            Hardware Contributor
                            wrote on last edited by scalz
                            #35

                            Hi.

                            yes i'm preparing files for the fabhouse.
                            As you can see i've done a little update on my description, i'm focusing on my "work in progress" stuff to "released" at openhardware because i would like to release my others boards etc. and have my mind free for software. That will be hard for a pcb addict like me :)
                            I hope we'll get a reasonable price..This will be a project for contributing to Mysensors project ;)

                            NeverDieN 1 Reply Last reply
                            2
                            • scalzS scalz

                              Hi.

                              yes i'm preparing files for the fabhouse.
                              As you can see i've done a little update on my description, i'm focusing on my "work in progress" stuff to "released" at openhardware because i would like to release my others boards etc. and have my mind free for software. That will be hard for a pcb addict like me :)
                              I hope we'll get a reasonable price..This will be a project for contributing to Mysensors project ;)

                              NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #36

                              @scalz
                              Which enclosure do you recommend to go with it?

                              1 Reply Last reply
                              0
                              • scalzS Offline
                                scalzS Offline
                                scalz
                                Hardware Contributor
                                wrote on last edited by scalz
                                #37

                                @NeverDie
                                3d printed box for a tailored stuff. I'll also upload .stl and design files. i'm looking at which parts can be "DP" on my BOM, for the pcba..

                                1 Reply Last reply
                                0
                                • ranseyerR Offline
                                  ranseyerR Offline
                                  ranseyer
                                  Hardware Contributor
                                  wrote on last edited by
                                  #38

                                  Hi,
                                  is it possible to get the actual sketch ?

                                  1 Reply Last reply
                                  0
                                  • goubsG Offline
                                    goubsG Offline
                                    goubs
                                    wrote on last edited by
                                    #39

                                    Hola,
                                    Very nice, I order PCBs.
                                    I have a question which size for the resonator 8Mhz X1 ?
                                    By Advance thanks,

                                    1 Reply Last reply
                                    0
                                    • scalzS Offline
                                      scalzS Offline
                                      scalz
                                      Hardware Contributor
                                      wrote on last edited by scalz
                                      #40

                                      hi.
                                      i've updated the bom. you can use CSTCE8M00G55-R0.
                                      it's optional, you can omit it if you want, and use internal 8mhz

                                      goubsG 1 Reply Last reply
                                      0
                                      • scalzS scalz

                                        hi.
                                        i've updated the bom. you can use CSTCE8M00G55-R0.
                                        it's optional, you can omit it if you want, and use internal 8mhz

                                        goubsG Offline
                                        goubsG Offline
                                        goubs
                                        wrote on last edited by
                                        #41

                                        @scalz Thanks !

                                        1 Reply Last reply
                                        0
                                        • tonnerre33T Offline
                                          tonnerre33T Offline
                                          tonnerre33
                                          Hardware Contributor
                                          wrote on last edited by tonnerre33
                                          #42

                                          Hi, which tool do you use for programming with your pogo pin avr isp ?

                                          Why didn't use pogo pin for FTDI too ?

                                          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