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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/75/MyMultisensors

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

      Very beautiful design and, as usual, so interesting !

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

        @carlierd thx. and as usual.. you're very kind, plus I like your avatar ;)

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

          Unfortunately it's not me on the avatar but it's my preferred judo technic ;)

          1 Reply Last reply
          1
          • L Offline
            L Offline
            LastSamurai
            Hardware Contributor
            wrote on last edited by
            #5

            Very nice looking project! And someone else who loves judo ;)
            Will you upload your schematics? I am working on a similar (although not as integrated) project and perhaps I can learn some things from your board.

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

              @LastSamurai
              yeah thx, samurai and budo :) On my side, I love Wing Chun kungfu (not wushu!). So Ip Man is one of my favorite movie lol! I practise a little bit JJB and Eskrima too, ; fun is there are cross concepts like triangle and keep/catch the centerline..

              Schematic is already uploaded. I was thinking to upload the other files but I would like to test it before someone try and need me for debug (I will have already enough debug on my side...). Do you need something in particular?

              1 Reply Last reply
              0
              • carlierdC Offline
                carlierdC Offline
                carlierd
                wrote on last edited by
                #7

                I am more a jujitsuka but not JJB. But due to the small number of hours in a day (only 24 ;) ) I spent most of sport time to run ! I started jujitsu too late (34 years), very difficult with people which started at 5 !!

                1 Reply Last reply
                0
                • TheoLT Offline
                  TheoLT Offline
                  TheoL
                  Contest Winner
                  wrote on last edited by
                  #8

                  Cool this is the MySensors martial arts corner ;-) I do Tai Chi Chuan and Tai Chi Sword. The latter I started recently but I'm loving it. We learn the complete form but also sword handling and fighting skills.

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

                    @carlierd
                    cool :) yep, I miss time too..I'm lucky to have a mookjong near my desk :) so I can make a break when I have a problem in my work! plus our forms don't take lot of place to train, very pratical, when you are in car or waiting somewhere :laughing:

                    @TheoL
                    very cool, I hope you enjoy too :) int vs ext? sticking vs pushing hand? direct vs circular? which one is better? none lol! almost same goals, personal style, and finally the fun is it's like playing chess! So the boards I design are always routed with 45ยฐ or circular route! no right angle route..nonsense ahah! Be like water my friend :blush:

                    Now, sorry guys, don't laugh, that's embarrassing, I have to stop this (interesting) OT :disappointed: I feel like you I could spend my time to talk about this, sport and wellness...but I shoud try to attract openhardware makers than martialart.com !! So what was I saying??? huum..50 years on coincell?.. :blush:

                    1 Reply Last reply
                    0
                    • carlierdC Offline
                      carlierdC Offline
                      carlierd
                      wrote on last edited by
                      #10

                      @scalz : one question about RFM, why RFM69CW and not HW ? And why the 10k resistor between CS and VCC ?

                      David.

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

                        @carlierd
                        the W not the HW. It's because CW is smaller than the W version. They are software compatible.

                        For the pullup, it's a good practice to be sure to have the right level on the CS line. you can forgot it sometimes, but sometimes not having it on each cs line can be source of useless trouble..

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

                          First time I see this resistor ! Will add it in my design. But I need to learn more information on the SPI first.

                          David.

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

                            @carlierd
                            yes I know..and sure the cs line can be output=high in the setup sketch part...
                            briefly for spi, you have: mosi (data output of master/mcu), miso (data input), sck (clock sync). and the CS line is active low when you want to select the chip.
                            So if for any reason, the CS line is in an unknown state (for instance when mcu reset or other case..), that could give some strange working. And again more trouble, if you have other chip sharing the same spi bus, and no pullup on each CS to give a nice voltage level and choose the right chip..

                            Here a nice article: http://www.dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps

                            1 Reply Last reply
                            0
                            • carlierdC Offline
                              carlierdC Offline
                              carlierd
                              wrote on last edited by
                              #14

                              Merci pour le lien ! Trรจs instructif !

                              @scalz said:

                              http://www.dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps

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

                                Will the board be possible to buy assembled?

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

                                  yep, it's planned. I will try to make this option possible.
                                  sorry for delay, I have lot of other things in progress. but it should not take too much time before I give more news.

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

                                    I am very happy because the pir circuit trigger very well, I'm rather impressed. Yeah :smiley:
                                    so far, very few tests because I was playing with software on other things but I've tested two different lens as the pir sensor range is mostly dependant of the lens.

                                    • 8308 type
                                      http://www.ebay.com/itm/10-Infrared-Sensor-8308-4-mini-White-Fresnel-Lens-body-pyroelectric-PIR-/141271386262
                                      I got a good 3meter range.
                                    • 8120 type
                                      http://www.ebay.com/itm/10-PIECE-White-Fresnel-8120-PIR-infrared-mini-sensor-lights-small-Lenses-/141271544319
                                      Is my favorite for the moment. Compact and a good 5meter. I just move a little bit and it trigger.

                                    I will give more results. I'm working on it today ;) I need to boost..tonight no work! it's champions league final :smile:

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

                                      and the interesting thing is power consumption (pir circuit only) : 1.8uA in sleep mode, 2.5uA active, promising :)

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

                                        still working nice for the moment :) I have modified my schematic a bit, removed few useless things, and improved others for power consumption and a bit of miniaturization ;)

                                        I am working on the software too. to improve power consumption during blindtime etc.

                                        @hek
                                        I'm using pinchange in my sketch, for few pins. Actually it's raw, I did it with raw registers too, but that's not user friendly and I have already seen this question. I'm looking to make it mysensors now. I am using the EnableInterrupt lib.
                                        So if I use the lib with mysensors I get an error "multiple definition of `__vector_2' ". I see that comes from myHwATmega328 part, from "attachinterrupt".

                                        What do you think about this:

                                        • a special define like MYS_USE_EXTINT.
                                        • If defined, in myHwATmega328, in the sleep methods we use the EnableInt lib instead of arduino attachinterrupt
                                        • keep the isr routines for int0 and 1 handled as it is
                                        • and for the others isr, in the main sketch so user/I could do what I want in my irq.
                                          something like this in sketch then,
                                          enableInterrupt(PIR_INT_PINH, irq_pirh, RISING);
                                          enableInterrupt(PIR_INT_PINL, irq_pirl, RISING); 
                                        

                                        It's roughly explained :) Is it planned or done? Which way do you prefer??

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

                                          Hi.

                                          so it's still a wip but I'm getting close of what I want :)
                                          because using a coincell (without regul) is more tricky. due to internal res of coin cell ;)

                                          An example, the PIR circuit was working nice in standalone (without nothing around, it uses 1.6uA in trigger or not). As soon as I added the atmel chip (and nothing more, no radio at all, no i2c..). Bingo, nice to meet you false triggers!!
                                          This was the coincell which was making me a joke lol As soon as atmel woke up I got a cycling false trigger yeah. In fact having atmel internal 8mhz is enough power hungry to make a nice voltage drop and the pir trigger.
                                          So I solved it in sketch, and a bit of hardware too ;)

                                          I am curious to know if others people playing with coincell will have long lifetime without some optimizations (hardware and software..).

                                          So now, the actual state for me this week end, is to connect radio and play again. And add some stuff about listenmode and atc to improve overall..

                                          About my previous post about external int, no more problem, I am using raw registers for external int and sleep function. because I need some custom things. Plus, the more libs and features, the less mem I have and I have not so much space...I will need to disable some debugs lol if I want all my sensors, signing, rfm69 with new mode etc..

                                          I'm not really surprised, I was expecting a bit this behaviour, that's why I said this would be a nice sketch challenge :)

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


                                          9

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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