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. My Project
  3. Multisensor PIR based on IKEA Molgan

Multisensor PIR based on IKEA Molgan

Scheduled Pinned Locked Moved My Project
112 Posts 21 Posters 49.9k Views 37 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.
  • dynamiteD Offline
    dynamiteD Offline
    dynamite
    wrote on last edited by
    #4

    So far I do not see a big difference with the Original smaller lens. Although the detection from the side is limited. But that's about the same as the Original.

    Inside there is a PIR in combination with 5 leds and a photodiode. As soon as it gets dark the PIR is active and as soon as movement is detected the leds are switched on for about 30 sec.
    The IKEA PIR is based on BIS0001 chip, which is a very common chip. When High it has an output of about 1,8 volt. Via a transistor the leds are switch on. Although there are three batteries in the housing the PIR runs also very well on two. (3.3 volt)

    1 Reply Last reply
    0
    • T TimO

      @tbowmo I got hooked up too :D and found this: http://www.terenceang.com/archives/31

      dynamiteD Offline
      dynamiteD Offline
      dynamite
      wrote on last edited by dynamite
      #5

      @TimO Yes if have read this post too, but here he has used an optocoupler. Which is not necessary if you reduce the input to 3 volt... makes it more easy. Or even use the 1,8 volt as input. But don't short circuit it with the input pin next to it.... as the PIR will stay high forever.:smiling_imp:
      0_1461769323939_PIR1.jpg
      0_1461769341400_PIR2.jpg

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

        @dynamite
        nice clean hack :)
        Could you tell me what is the overall thickness please? I think I will try to buy one just to see how fit some of my multisensors boards inside..even if i will use 3d printing which cost less $ in plastic, it's still a very nice alternative to have at hand.
        Maybe you could use some i2c sensors to improve your power consumption.
        Thx for your share ;)

        dynamiteD 1 Reply Last reply
        0
        • dynamiteD dynamite

          I have created a Multi sensor PIR including a dallas temp measurement and LDR light measurment. For the PIR I wanted to use the Original PIR but it got "destroyed" during my investigation. The Pir runs on two AAA as I have removed the voltage regulator on my arduino pro mini.
          0_1461762533494_image1.jpg
          2_1461762533494_image3.jpg0_1461765109880_image5.jpg 1_1461762533494_image2.jpg
          3_1461762533494_image4.jpg

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #7

          @dynamite Great hack!
          Especially when using the combination of original PIR, enclosure and battery holder for E 5,-.
          Can't be beaten! :+1:

          http://yveaux.blogspot.nl

          dynamiteD 1 Reply Last reply
          1
          • YveauxY Yveaux

            @dynamite Great hack!
            Especially when using the combination of original PIR, enclosure and battery holder for E 5,-.
            Can't be beaten! :+1:

            dynamiteD Offline
            dynamiteD Offline
            dynamite
            wrote on last edited by
            #8

            @Yveaux And very easy to detach as it has a base plate as well...
            0_1461770137513_ikea1.jpg

            1 Reply Last reply
            0
            • scalzS scalz

              @dynamite
              nice clean hack :)
              Could you tell me what is the overall thickness please? I think I will try to buy one just to see how fit some of my multisensors boards inside..even if i will use 3d printing which cost less $ in plastic, it's still a very nice alternative to have at hand.
              Maybe you could use some i2c sensors to improve your power consumption.
              Thx for your share ;)

              dynamiteD Offline
              dynamiteD Offline
              dynamite
              wrote on last edited by
              #9

              @scalz What dimensions are you exactly looking for?
              Here you have some photos:
              1_1461770194862_ikea4.jpg 0_1461770194861_ikea3.jpg

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

                @dynamite awesome, thx :)
                oh no, please no more pics :yum: lol it's very cool hack :heart_eyes:

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

                  Think I have to visit ikea tomorrow, and bring home a couple of samples :)

                  Only about 5$...

                  dynamiteD 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    Think I have to visit ikea tomorrow, and bring home a couple of samples :)

                    Only about 5$...

                    dynamiteD Offline
                    dynamiteD Offline
                    dynamite
                    wrote on last edited by
                    #12

                    @tbowmo I think I am going to buy some IKEA shares....:grinning:

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

                      7€ here...french conversion :angry:
                      it's at one hour from my home..but I think I will visit too this weekend. well done, now I can't wait :)

                      dynamiteD 1 Reply Last reply
                      0
                      • scalzS scalz

                        7€ here...french conversion :angry:
                        it's at one hour from my home..but I think I will visit too this weekend. well done, now I can't wait :)

                        dynamiteD Offline
                        dynamiteD Offline
                        dynamite
                        wrote on last edited by
                        #14

                        @scalz @tbowmo Looking forward to see you results! Now that my prototype is finished of course I am going to buy some more as well. Here "only" €4,99 for an item

                        1 Reply Last reply
                        1
                        • F Offline
                          F Offline
                          Floca
                          wrote on last edited by
                          #15

                          Hi,
                          is it possible to describe, how to wire the original PIR, with the Arduino?

                          I have some Molgan's here and want to mod them, if i can use the original PIR, it would be perfect :)

                          Maybe an HowTo?

                          Many Thanks

                          dynamiteD 1 Reply Last reply
                          0
                          • F Floca

                            Hi,
                            is it possible to describe, how to wire the original PIR, with the Arduino?

                            I have some Molgan's here and want to mod them, if i can use the original PIR, it would be perfect :)

                            Maybe an HowTo?

                            Many Thanks

                            dynamiteD Offline
                            dynamiteD Offline
                            dynamite
                            wrote on last edited by
                            #16

                            @Floca hi the Original Ikea Pir, I kind of destroyed during the "investigation". I my previous post I have posted a picture of the pir inside. I would feed the pir with either 2 or 3 batteries. (3/4,5v) after that you can either use the signal directly after the chip. Th is is 1,8v but I don't know if the arduino takes that as high..? If not you can take the signal at the resistors of the LEDs. The voltage level here is depending on your battery infeed. So either 3v or 4,5v. Don't think both will be a problem for the arduino. To eliminate the led you can take away one or more resistors.
                            Maybe somebody can say more
                            About the allowable Voltage levels. For battery live a 3v pro mini would be better. For ease of use a 5v version would be better

                            dynamiteD 1 Reply Last reply
                            0
                            • dynamiteD dynamite

                              @Floca hi the Original Ikea Pir, I kind of destroyed during the "investigation". I my previous post I have posted a picture of the pir inside. I would feed the pir with either 2 or 3 batteries. (3/4,5v) after that you can either use the signal directly after the chip. Th is is 1,8v but I don't know if the arduino takes that as high..? If not you can take the signal at the resistors of the LEDs. The voltage level here is depending on your battery infeed. So either 3v or 4,5v. Don't think both will be a problem for the arduino. To eliminate the led you can take away one or more resistors.
                              Maybe somebody can say more
                              About the allowable Voltage levels. For battery live a 3v pro mini would be better. For ease of use a 5v version would be better

                              dynamiteD Offline
                              dynamiteD Offline
                              dynamite
                              wrote on last edited by
                              #17

                              After I have bought some new one I will try to make a how to....

                              1 Reply Last reply
                              3
                              • rhuehnR Offline
                                rhuehnR Offline
                                rhuehn
                                wrote on last edited by
                                #18

                                PLEASE! A How to would be amazing! Looking forward to it!

                                1 Reply Last reply
                                1
                                • dynamiteD Offline
                                  dynamiteD Offline
                                  dynamite
                                  wrote on last edited by dynamite
                                  #19

                                  I now have a fresh supply of Molgan to be modified. And I will post my modification of the existing board soon. Status I can now use the input of the existing PIR signal. And I have discovered that by sending out a high or low on one of the arduino pins I can switch the existing LED on / off. Of course I can use a relay function to control but as it is running on batteries the sensor has to sleep. I was thinking of sending out a parameter (true / false) which enables the sensor to activate the LED on a trigger of the PIR. How could I send over this parameter? Any (creative) idea's as the sensor is sleeping most of the time?

                                  Now I am thinking of it, could it be possible that such a value is read by the sensor when the sensor is getting out of the sleep function.

                                  1 Reply Last reply
                                  1
                                  • DidiD Offline
                                    DidiD Offline
                                    Didi
                                    wrote on last edited by
                                    #20

                                    Cool can´t wait for this,have bought 6 Molgans last week :+1:

                                    if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

                                    dynamiteD 1 Reply Last reply
                                    1
                                    • DidiD Didi

                                      Cool can´t wait for this,have bought 6 Molgans last week :+1:

                                      dynamiteD Offline
                                      dynamiteD Offline
                                      dynamite
                                      wrote on last edited by
                                      #21

                                      @Didi Nice, I only bought four ....:smiley:

                                      1 Reply Last reply
                                      0
                                      • rollercontainerR Offline
                                        rollercontainerR Offline
                                        rollercontainer
                                        wrote on last edited by
                                        #22

                                        In development branch there is a smartsleep function for receiving while sleeping (if I get it right)

                                        dynamiteD 1 Reply Last reply
                                        0
                                        • rollercontainerR rollercontainer

                                          In development branch there is a smartsleep function for receiving while sleeping (if I get it right)

                                          dynamiteD Offline
                                          dynamiteD Offline
                                          dynamite
                                          wrote on last edited by dynamite
                                          #23

                                          @rollercontainer I could use the wait function
                                          /**

                                          • Wait for a specified amount of time to pass or until specified message received. Keeps process()ing.
                                          • This does not power-down the radio nor the Arduino.
                                          • Because this calls process() in a loop, it is a good way to wait
                                          • in your loop() on a repeater node or sensor that listens to messages.
                                          • @param ms Number of milliseconds to sleep.
                                          • @param cmd Command of incoming message.
                                          • @param msgtype Message type.
                                            */
                                            void wait(unsigned long ms, uint8_t cmd, uint8_t msgtype);

                                          And wait for a message, which is send out by the controller (by a rule) after receiving the PIR trigger. But it is a kind of waste of energy to wait for a signal which is not frequently used. As far as I can read in the code this is exactly what smart sleep does. But can how can prepare a reply by the gateway that will respond to such a heartbeat?

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


                                          10

                                          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