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. General Discussion
  3. Battery powered smoke sensor

Battery powered smoke sensor

Scheduled Pinned Locked Moved General Discussion
20 Posts 7 Posters 7.9k Views 6 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.
  • S Offline
    S Offline
    Samuel235
    Hardware Contributor
    wrote on last edited by
    #10

    The link provided above looks like something that could be very high potential for the mysensors community. If my module fails and falls short of what i intend it to do, this is option i would go down. However, i wanted it to contain light sensors, temp, humidity etc etc. If i didn't need/want those sensors I would have made this solution work for myself. It looks a very nice setup.

    MySensors 2.1.1
    Controller - OpenHAB (Virtual Machine)
    Gateway - Arduino Mega MQTT Gateway W5100

    1 Reply Last reply
    0
    • bjacobseB Offline
      bjacobseB Offline
      bjacobse
      wrote on last edited by
      #11

      I was considering how the combined smoke-detector/burglar siren device shall work:
      1)
      First as alarm in case of fire, send signal to home automation (Arduino can be powerdown until interrupt, low power consumption).
      2)
      Secondly in case of a burglar, I would like to start the piezo noise in smoke alarms - but this requires Arduino to run idle and eat up battery.
      Hmm thinking about maybe it could wake-up once a minute to check status and then sleep? any other good ideas?

      Is it worth to spend extra money on low power Arduino Pro mini that have a better voltage LDO (MCP 1703), I saw some at 12 US$ at rocketscream - or just accept batteries are cheap to replace a bit more often?

      0_1467561140913_arduino_pro_mini_consumption.png

      From this link:
      http://www.home-automation-community.com/arduino-low-power-how-to-run-atmega328p-for-a-year-on-coin-cell-battery/

      And then we wonder why most piezo devices have 3 wires, read here:
      http://electronics.stackexchange.com/questions/18212/whats-the-third-wire-on-a-piezo-buzzer

      So my idea for now is to use the resister 4k7 + 10k and a 1 uF ceramic capacitor. Then I could use a mosfet to activate piezo with short-circuiting the "test" switch

      1 Reply Last reply
      0
      • P Poupoune1974

        Thanks for that complete answer. On my side I tried to mySensorize an existing 5$ smoke sensor, without success. I found the processor pin that goes High when smoke is detected, and wanted to power an arduino with it, but the output is not enough to bring the arduino to live. It would have be a nice solution, and simple too.
        I go on reading your usefull links. Thanks again.

        HenryWhiteH Offline
        HenryWhiteH Offline
        HenryWhite
        wrote on last edited by HenryWhite
        #12

        Here's my try of mysensorizing a cheap smoke detector, including 3D-printed case:

        0_1471278811556_PHOTO_20160701_230656.jpg 0_1471278816749_PHOTO_20160701_230926.jpg 0_1471278818220_PHOTO_20160701_231031.jpg 0_1471278819351_PHOTO_20160815_182427.jpg

        Works flawlessly since 2 months ( I modified 3 smoke detectors at my home)
        The designed node can read and trigger the smoke detector. However, it currently runs in read-only mode because of the power issues when the node is active all the time.
        The next goal is to use the SmartSleep()-function of MySensors 2.0 with my Controller (OpenHAB), to realize reading&triggering of the smoke detector with a node's battery life of at least 6 months.

        If anyone knows details on how to implement the SmartSleep-Function, I would really appreciate some information!

        karl261K 1 Reply Last reply
        1
        • P Offline
          P Offline
          Poupoune1974
          wrote on last edited by
          #13

          Nice Work, especially the Box.
          Could you give details about the wiring ? How do you read the smoke detector ? On piezo ?

          HenryWhiteH 1 Reply Last reply
          0
          • P Poupoune1974

            Nice Work, especially the Box.
            Could you give details about the wiring ? How do you read the smoke detector ? On piezo ?

            HenryWhiteH Offline
            HenryWhiteH Offline
            HenryWhite
            wrote on last edited by
            #14

            @Poupoune1974 said:

            Nice Work, especially the Box.
            Could you give details about the wiring ? How do you read the smoke detector ? On piezo ?

            Most cheap smoke detectors use the same microchip as expensive ones, the only difference is that cheap smoke detectors only use certain pins. So I looked up the type number of the microchip in my smokedetector and took a look at the datasheet, which indicates where the I/O (Input/Output) pin of the microchip is located.

            When you supply voltage (at least 1V) to this pin, the smoke detector gets triggered - and the other way round: when the smoke detector triggers, it supplies 9v to the pin. So you can solder a wire to this pin and to the GND pin and connect both with your arduino.

            Done!

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Poupoune1974
              wrote on last edited by
              #15

              Ok, fine, I'll give a try.
              Thanks again :-)

              HenryWhiteH 1 Reply Last reply
              1
              • P Poupoune1974

                Ok, fine, I'll give a try.
                Thanks again :-)

                HenryWhiteH Offline
                HenryWhiteH Offline
                HenryWhite
                wrote on last edited by
                #16

                @Poupoune1974 said:

                Ok, fine, I'll give a try.
                Thanks again :-)

                No problem!
                (Don't forget a voltage divider to bring down the signal of the smoke detector to max. 3.3v)

                1 Reply Last reply
                0
                • HenryWhiteH HenryWhite

                  Here's my try of mysensorizing a cheap smoke detector, including 3D-printed case:

                  0_1471278811556_PHOTO_20160701_230656.jpg 0_1471278816749_PHOTO_20160701_230926.jpg 0_1471278818220_PHOTO_20160701_231031.jpg 0_1471278819351_PHOTO_20160815_182427.jpg

                  Works flawlessly since 2 months ( I modified 3 smoke detectors at my home)
                  The designed node can read and trigger the smoke detector. However, it currently runs in read-only mode because of the power issues when the node is active all the time.
                  The next goal is to use the SmartSleep()-function of MySensors 2.0 with my Controller (OpenHAB), to realize reading&triggering of the smoke detector with a node's battery life of at least 6 months.

                  If anyone knows details on how to implement the SmartSleep-Function, I would really appreciate some information!

                  karl261K Offline
                  karl261K Offline
                  karl261
                  wrote on last edited by karl261
                  #17

                  @HenryWhite I am trying to implement something similar. Could you post your sketch for this? That would help me. Thanks!

                  I use an Ei650C that has the two pins ready for the wire connection, but I am not sure how to program the arduino so that it is sleeping and only wakes up on interrupt.

                  1 Reply Last reply
                  0
                  • bjacobseB Offline
                    bjacobseB Offline
                    bjacobse
                    wrote on last edited by
                    #18

                    Sleep until interrupt: you need this code in the beginning

                    #define PRIMARY_BUTTON_PIN 2   // Arduino Digital I/O pin for button/reed switch
                    #define SECONDARY_BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch```
                    

                    And this code where it should sleep

                     // Sleep until something happens with the sensor
                      sleep(PRIMARY_BUTTON_PIN-2, CHANGE, SECONDARY_BUTTON_PIN-2, CHANGE, 0);
                    

                    I have take the code snippet from here:
                    https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino

                    https://www.mysensors.org/download/sensor_api_20#sleeping

                    karl261K 1 Reply Last reply
                    0
                    • bjacobseB bjacobse

                      Sleep until interrupt: you need this code in the beginning

                      #define PRIMARY_BUTTON_PIN 2   // Arduino Digital I/O pin for button/reed switch
                      #define SECONDARY_BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch```
                      

                      And this code where it should sleep

                       // Sleep until something happens with the sensor
                        sleep(PRIMARY_BUTTON_PIN-2, CHANGE, SECONDARY_BUTTON_PIN-2, CHANGE, 0);
                      

                      I have take the code snippet from here:
                      https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino

                      https://www.mysensors.org/download/sensor_api_20#sleeping

                      karl261K Offline
                      karl261K Offline
                      karl261
                      wrote on last edited by karl261
                      #19

                      @bjacobse Thanks for the advice. Indeed, looking at the API sometimes helps. :-) But a sketch example is even better.

                      So, in case of the Ei Electronics 650C it is like this:
                      It has two pins for connecting wires. I found that terrific -- very simple. :-) So, when there is no Alarm going on, there is 0 V on these two pins. If there is an alarm triggered, there are 5.6 V on the two pins. Sounds ideal. I figure, that I have to put also 5.6 V on these two pins to trigger the alarm from external.

                      But, where do I go from here? I usually use 3.3 V Arduinos. How can I wire this? Does a digital pin of a 3.3 V Arduino take 5.6 V? Or do I need a voltage divider?

                      Then, I guess I have to connect the + pin to let's say digital pin 3. Because digital pin 2 is used by the radio -- in case we are using interrupts in the future. And the - pin I connect to gnd. Is that right?

                      Then, I can use the reed switch sketch and try the interrupt thing from the API. Right?

                      I guess, when I set the 3.3 V Arduino D3 pin to high it will have 3.3 V, right? So I need to figure out if the Ei650C also triggers at 3.3 V. And if so, I would need to check that it is not drawing too much power from the pin. If it does not trigger, what to do? Sounds like using a 5 V Arduino.

                      How lonng would two AA batteries last if the Arduino was sleeping and the Radio was awake? With 2.0.1 radio interrupt will arrive and power can be saved.

                      Are the above assumptions correct? Nobody with a ready fire alarm sketch?

                      Edit: I love this fire alarm. It triggers at 3 V. Perfect. Can't believe it. The good thin about this model that is has one of these 10 year lithium batteries. I like that too.

                      1 Reply Last reply
                      0
                      • Syma BingbingS Offline
                        Syma BingbingS Offline
                        Syma Bingbing
                        wrote on last edited by
                        #20

                        I also use a 3s lipo battery powered a smoke sensor last year, and it works well now.

                        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.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