Skip to content
  • 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. Hardware
  3. Homini Complete Room Sensor Module?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Homini Complete Room Sensor Module?

Scheduled Pinned Locked Moved Hardware
ceilingmotionsensorsgas sensorlight sensorhominihumidityceiling mountsmoke detectortemperaturemodulecomplete roomlight
81 Posts 7 Posters 30.5k Views 14 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 scalz

    @Samuel235 : here what could look my small childboard...first pass, I will change few things before order it. 3.35$ for 3 boards at oshpark :) It could be smaller, it is because now I like/try to have everything ontop (but there are two smd jumpers on bottom), that made me hungry! time to eat :)
    @tbowmo: here an idea for a childboard ;)
    0_1458735075418_2016-03-23_13-08-18.png

    S Offline
    S Offline
    Samuel235
    Hardware Contributor
    wrote on last edited by
    #21

    @scalz I like it! A quick side step, how do you make these 3D models? Are they generated by your eagle designs or do you manually build them in a 3d model program?

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

      @Samuel235 thx. actually, I still use eagle 6.5, I know there are things in 7.x but not tried yet. so for the moment, sometimes I make my own model, or find some where I can..for 3d preview, google sketchup eagleup. So for pcb preview I use sketchup, for custom enclosure solidworks (I prefer it than sketchup) then I export box to sketchup (as I can't do the opposite). Have fun :)

      S 1 Reply Last reply
      0
      • scalzS scalz

        @Samuel235 thx. actually, I still use eagle 6.5, I know there are things in 7.x but not tried yet. so for the moment, sometimes I make my own model, or find some where I can..for 3d preview, google sketchup eagleup. So for pcb preview I use sketchup, for custom enclosure solidworks (I prefer it than sketchup) then I export box to sketchup (as I can't do the opposite). Have fun :)

        S Offline
        S Offline
        Samuel235
        Hardware Contributor
        wrote on last edited by
        #23

        @scalz, thank you. I'll spend many hours playing now ;)

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

          @scalz

          Nice :) I'm preparing a board with various sensor types on, that one could populate as one wishes..

          S 1 Reply Last reply
          0
          • tbowmoT tbowmo

            @scalz

            Nice :) I'm preparing a board with various sensor types on, that one could populate as one wishes..

            S Offline
            S Offline
            Samuel235
            Hardware Contributor
            wrote on last edited by
            #25

            @tbowmo, cool! Be sure to include the information or links in here for us to check out please :)

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

              @Samuel235

              It would be added as a MysX add-on module (have some space left on a panel, that I'm preparing)

              S 1 Reply Last reply
              0
              • tbowmoT tbowmo

                @Samuel235

                It would be added as a MysX add-on module (have some space left on a panel, that I'm preparing)

                S Offline
                S Offline
                Samuel235
                Hardware Contributor
                wrote on last edited by
                #27

                @tbowmo now i'm even more intrigued 🤔

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

                  I'm still on the man hunt for the right sensor to use for air quality, I've narrowed my search down to two parameters to monitor; Carbon Monoxide and Smoke. If you guys would like to see any other gases being monitored please give me your feedback, this is all that i would want, but i have no idea of the other countries and their interests to gases. What about carbon dioxide?

                  So i have roughly chosen two sensors, the CCS801 for Carbon Monoxide and the MP503 for Smoke. I know there are a few sensors out there for smoke and to be honest, i'm yet to study those in comparison to the MP503 due to being very busy at the moment. Could anyone give any input on my choices here and if i should use another sensor out of the MP range from Winsen-Sensors for my smoke one? What about the Carbon Monoxide choice, that look good enough for you guys?

                  CCS801 - Carbon Monoxide:
                  Power Consumption: 1.8v 0.9mW (In pulse mode)
                  Rough Price without shipping costs: £5.49
                  Datasheet: http://www.ccmoss.com/sites/default/files/documents/CC-000015-DS-8-Datasheet for CCS801.pdf

                  MP503 - Smoke:
                  Power Consumption: 5v <300mW
                  Rough Price without shipping costs: £N/A at the moment
                  Datasheet: file:///C:/Users/Desktop%20System/Downloads/MP503%20(Ver1.4)%20-%20Manual.pdf

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Samuel235
                    Hardware Contributor
                    wrote on last edited by Samuel235
                    #29

                    Sensor Choice

                    From further research, I have learnt that there are two main types of sensors out there; electrochemical and semiconductor. The information displayed below explaining each are extracts from Wikiedia.

                    Electrochemical:
                    Electrochemical gas detectors work by allowing gases to diffuse through a porous membrane to an electrode where it is either chemically oxidized or reduced. The amount of current produced is determined by how much of the gas is oxidized at the electrode,[3] indicating the concentration of the gas. Manufactures can customize electrochemical gas detectors by changing the porous barrier to allow for the detection of a certain gas concentration range. Also, since the diffusion barrier is a physical/mechanical barrier, the detector tended to be more stable and reliable over the sensor's duration and thus required less maintenance than other early detector technologies.

                    However, the sensors are subject to corrosive elements or chemical contamination and may last only 1–2 years before a replacement is required. Electrochemical gas detectors are used in a wide variety of environments such as refineries, gas turbines, chemical plants, underground gas storage facilities, and more.

                    Semiconductor:
                    Semiconductor sensors detect gases by a chemical reaction that takes place when the gas comes in direct contact with the sensor. Tin dioxide is the most common material used in semiconductor sensors, and the electrical resistance in the sensor is decreased when it comes in contact with the monitored gas. The resistance of the tin dioxide is typically around 50 kΩ in air but can drop to around 3.5 kΩ in the presence of 1% methane. This change in resistance is used to calculate the gas concentration. Semiconductor sensors are commonly used to detect hydrogen, oxygen, alcohol vapor, and harmful gases such as carbon monoxide. One of the most common uses for semiconductor sensors is in carbon monoxide sensors. They are also used in breathalyzers. Because the sensor must come in contact with the gas to detect it, semiconductor sensors work over a smaller distance than infrared point or ultrasonic detectors.

                    So while the electrochemical is the better of the two in terms of power consumption, they do required to be changed on average every 2 years. However, while that is a downside, you do have to re-calibrate the semiconductor type if its needed to remain the accuracy it did when installed. I'm not sure which would be better, to replace or to re-calibrate? One side of the argument is that the semiconductor range is much easily available, at least for the UK market anyway, and cheaper to purchase. But then you have the power consumption of the internal heater to consider, they reportedly get up to anywhere in the region of 60 degrees Celsius, this would cause issues for my temperature sensor (unless i some how shield my temp sensor off from the area of the gas sensors, possible to do with a custom enclosure.


                    I'm proposing that if we wanted to go down the route of the electrochemical sensors, we could mount these on daughter boards and mount these either ribbon cables or pin headers to then enable us to swap out the sensors with ease in the future. I'm tempted with the idea of having the daughter board that holds the sensor externally accessible, but inside its own enclosure that attaches to the main enclosure so you would just pull off a side enclosure and either replace the whole thing or replace the sensor board inside of this side enclosure and then push the side enclosure back onto the main enclosure. Interesting prospect. By the time I get some feedback i might be able to use a 3d modeler to possibly mock up some 3d sketches of what i mean.

                    But then the semiconductor type is a simple calibration using a 'calibration test' that you purchase from the manufacturers and adjust to meet the known concentration of the given gas. This can take several days depending on the heat-up time. I do not like the sound of this. The whole idea of this module is to be ease of use and to leave it running on its own without worrying about if its accurate or not.

                    Current Thoughts

                    As you can see i'm really starting to favor the low power, high cost, hard to find electrochemical sensors. However, like I've stated many times over, they're proving very hard to get my hands on. If anyone knows of any, please link them in here.

                    What're your thoughts on the sensing sides of things, would you rather:

                    1. Low component cost, higher running costs, higher maintenance. Electrochemical.
                    2. High component cost, low running costs, possible high maintenance. Semiconductor.
                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Samuel235
                      Hardware Contributor
                      wrote on last edited by
                      #30

                      Due to the electrochemical sensors being so hard to get my hands on it would seem i have very little choice but to order off of AliExpress.

                      I have found a decent price for the ME2-CO here: AliExpress.

                      I'm very tempted to get some normal MQ-7's just to try them out or even the high quality Figaro TGS2442's, but i just don't like the 24-48 Hour warm up period on those, that coupled with the power consumption is just putting me off of the 'normal' Semiconductor types. However, they are pretty cheap compared to the Electrochemicals.

                      Datasheets:

                      ME2-CO
                      MQ-7
                      TGS2442

                      Questions

                      1. Could i get some of your opinions on this, do you feel i'm being a little over the top with the power consumption issue?
                      2. Whats your thoughts on the warm-up times? Don't forget they do apply when it comes to calibrating the sensor, you would have to make the calibration alterations, then wait another 2 days for it to warm and settle before testing again....
                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Samuel235
                        Hardware Contributor
                        wrote on last edited by
                        #31

                        I've nearly compiled the full list of sensors for this module as follows:

                        • Carbon Monoxide Sensor - ME2-CO
                        • Smoke Sensor - 1 IR emitter & 1 Receiver to create a photoelectric sensor
                        • Humidity & Temp Sensor - SHT21
                        • Motion - HC-SR501 Module
                        • Light - APDS-9300-020

                        I'm now left with sourcing a low cost buzzer for this module and some LED's for status updates for debugging and notifications of working states. I'm tempted to have the device sleep with the smoke and carbon monoxide sensors connected to interrupt pins if possible and only have the motion sensor detecting in certain situations such as night time and alarm enabled status maybe. Its not something i want on permanently if not needed due to the current usage in busy areas such as hallways and main rooms, it will draw power consistently and the idea is to keep the power consumption down as low as possible.

                        As usual I appreciate all thoughts and suggestions for this and welcome them to the comments. I'm not the best at software/coding so if anyone would like to help in that aspect, i wouldn't say no when the time comes to do such a task. It will be a few weeks before that happens though as i'm yet to design the hardware. I need to purchase a few tools before this can go a head, including a hot air reflow station and a 3D printer for the custom case.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Samuel235
                          Hardware Contributor
                          wrote on last edited by
                          #32

                          With all the parts for this module on order now, just for a discussion;

                          1. What would you hardware guys rather have in terms of ambient light sensors? Digital (I2C device) or Analogue that performs like a NPN transistor? What is easier to configure/setup? (APDS-9300-020 OR TEMT6000X01)

                          2. Low power motion detector daughter board or HC-SR501 Module?

                          3. I'm yet to make my voltage supply schematic, i'm looking at a few topics around here regarding this, does anyone have any information to educate me further in this area, power supply is not my most confident area ;)

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

                            Smoke Detector

                            I do plan on having footprints for both of the smoke detection methods, but this all depends on the space allowed on the PCB. If I can't have the footprint for both I will be making designs for both variations. On both of the designs, they will use the temperature sensor to create a 'hybrid' type of smoke detector so it isn't just smoke that it has to detect to trigger the fire warning.

                            Optical/Photoelectrical Method

                            I'm going down the route of creating my own optical sensor simply because I can not source a enclosed solution to put into my module. The only way around this would be to purchase cheap optical smoke detectors and remove the module and apply it to mine. Rather than doing this I would rather attempt to create my own solution using a IR Emitter LED and a IR Receiver.

                            However, to do this I need to have the IR LED pulsing at 38KHz. So this is where I'm feeling a 555 timer to come into play. Now I haven't done my research on a 555 timer but from what i understand the capacitor in the 555 circuit instructs the timer on the length of time the LED needs to be enabled, so this is what creates the 38KHz pulse. Please instruct me if I have this wrong. I'm then thinking that I could just monitor for smoke every 10 seconds or so to try and lower the consumption again. To do this would I just need to switch the trigger pin from low to high to make the output turn off therefor turning the LED off and then pull the trigger pin low to then turn the LED back on?

                            Ionisation Method

                            I'm very tempted to just use a MQ2 sensor with its circuit on my board rather than a separate board.

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Samuel235
                              Hardware Contributor
                              wrote on last edited by
                              #34

                              Motion Detection

                              Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times? This isn't to save power (like a few of you that know me would assume) but more to enable us to only have it enabled at night in 'night time' mode to stop it from being triggered and sending messages back to the gateway constantly through every day life, in the main rooms of the house.

                              Look forward to hearing your inputs.

                              DwaltD 1 Reply Last reply
                              0
                              • S Samuel235

                                Motion Detection

                                Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times? This isn't to save power (like a few of you that know me would assume) but more to enable us to only have it enabled at night in 'night time' mode to stop it from being triggered and sending messages back to the gateway constantly through every day life, in the main rooms of the house.

                                Look forward to hearing your inputs.

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

                                @Samuel235 said:

                                Motion Detection

                                Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times?.

                                If not to save power, would not a software solution be easier and less complicated solution?

                                Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                                S 1 Reply Last reply
                                0
                                • DwaltD Dwalt

                                  @Samuel235 said:

                                  Motion Detection

                                  Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times?.

                                  If not to save power, would not a software solution be easier and less complicated solution?

                                  S Offline
                                  S Offline
                                  Samuel235
                                  Hardware Contributor
                                  wrote on last edited by
                                  #36

                                  @Dwalt said:

                                  @Samuel235 said:

                                  Motion Detection

                                  Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times?.

                                  If not to save power, would not a software solution be easier and less complicated solution?

                                  You're correct in this scenario, however i've since decided to brong the power consumption as low as i can physically for two reasons; to bring the running costs of the module down as low as possible snd to allow me to adapt this board for use with batteries if ever it needed to.

                                  DwaltD 1 Reply Last reply
                                  0
                                  • S Samuel235

                                    @Dwalt said:

                                    @Samuel235 said:

                                    Motion Detection

                                    Would you guys rather the motion detection be connected via a transistor so we can send messages to the node to enable and disable the motion side of the module rather than having motion being detected at all times?.

                                    If not to save power, would not a software solution be easier and less complicated solution?

                                    You're correct in this scenario, however i've since decided to brong the power consumption as low as i can physically for two reasons; to bring the running costs of the module down as low as possible snd to allow me to adapt this board for use with batteries if ever it needed to.

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

                                    @Samuel235
                                    I was under the assumption you intended this module to be always 'listening' to allow a controller to set it to night mode or 'disarm'. If so, battery power will be tricky. In addition, PIRs require a period of stabilization when powered on, often up to 30 seconds to calibrate sensor field of view background.

                                    Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                                    S 1 Reply Last reply
                                    1
                                    • DwaltD Dwalt

                                      @Samuel235
                                      I was under the assumption you intended this module to be always 'listening' to allow a controller to set it to night mode or 'disarm'. If so, battery power will be tricky. In addition, PIRs require a period of stabilization when powered on, often up to 30 seconds to calibrate sensor field of view background.

                                      S Offline
                                      S Offline
                                      Samuel235
                                      Hardware Contributor
                                      wrote on last edited by
                                      #38

                                      @Dwalt, you're right with the intention is to be listening all the time, and then therefor it would mean that sleeping the node for battery power is not going to work. However, i was planning to do this as a backup solution and then for incase i needed the feature. If this was needed to go to battery power it was able to switch off the motionI probably wont ever have a need for it, but its there if needed.

                                      To go a step futher i could find a PIR Control IC, i remember reading somewhere that a fee controllers allow a PIR Sensor to be active when not even powered up. I might be wrong here but either way i understand your information regarding a warm up time on the motion module.

                                      Thank you.

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        Samuel235
                                        Hardware Contributor
                                        wrote on last edited by Samuel235
                                        #39

                                        UPDATE

                                        So then guys. I feel I have the sensing side of the board all designed out, I will include a schematic here for you to see. Just due to my inexperience of electronics still, i'm sure there will be a few faults/things you guys would like me to change around. Please point anything of any concern out to my attention and i will amend accordingly.

                                        Sensors

                                        Light: OPT3001
                                        Motion: HC-SR501 Module
                                        Temperature & Humidity: SHT21
                                        Carbon Monoxide: TGS5042
                                        Smoke1: Custom Photoelectric Circuit
                                        Smoke2: MQ-2.

                                        The smoke sensors can both be fitted or one or the other. They will differ in applications, what area the module is being used in. They both detect different types of smoke/fires. I will included more detailed information on this for the release of the product.

                                        Powering

                                        I'm still yet to design the powering side of this, it will be 240VAC converted to 5VDC then regulated as and when needed. I Will include some way to externally power this module while we're programming it since it will draw more than i'm comfortable providing through a PC USB Socket. So there will be no VCC lines coming onto the board from the USB programmers, this way we can't cause any damage to your PC USB sockets/serial lines. I'm yet to work out the overall typical power consumption, which i do plan on calculating today so i can get the powering converters specified for the current needed.

                                        Prototyping

                                        If there is any pins left, currently have 5 pins (3 Analog and 2 Digital) left over, however i'm very tempted to have status LEDs on this module so therefor that will be 3 gone and will only leave possibly 2 empty analog pins. These will have VIAs located so we can use them for prototyping.

                                        By no means is this schematic anywhere near completion, there may be floating connections or missing components. Please point them out if so.
                                        Excuse the unfinished power circuit at the top of the schematic, this is where i've got to so far before i ran out of time. Currently just placed the varistor and the AC/DC Converter. Will keep updating as and when time allows.

                                        0_1460927870597_HominiRoomDetectionSchematic.png

                                        1 Reply Last reply
                                        2
                                        • S Offline
                                          S Offline
                                          Samuel235
                                          Hardware Contributor
                                          wrote on last edited by
                                          #40
                                          This post is deleted!
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          20

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular