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. Enclosures / 3D Printing
  3. Where do you place your sensors or how do you hide them (case)?

Where do you place your sensors or how do you hide them (case)?

Scheduled Pinned Locked Moved Enclosures / 3D Printing
17 Posts 6 Posters 6.6k 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.
  • MaKinM Offline
    MaKinM Offline
    MaKin
    wrote on last edited by
    #6

    I ordered the DHT22 for humidity and temperature. Doesn't the Arduino get warm enough to have an impact on the measured environment inside the box?

    I'd also like to measure CO2 in the bedroom as we're expecting our first child and I want to make sure the air quality is as good as possible. :)

    mfalkviddM 1 Reply Last reply
    0
    • MaKinM MaKin

      I ordered the DHT22 for humidity and temperature. Doesn't the Arduino get warm enough to have an impact on the measured environment inside the box?

      I'd also like to measure CO2 in the bedroom as we're expecting our first child and I want to make sure the air quality is as good as possible. :)

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #7

      @MaKin a battery-powered tepmerature sensor can live for at least two years on 2xAA. Good 2xAA batteries have 2.5Ah of power. A rough calculation then gives that the batteries have 2.5Ah * 3V = 7.5Wh. 2 years is 2 * 365 * 24 hours, which is 17,520 hours. That gives an average heat generation of 7.5/17,520=0.00043W.

      So yes, the Arduino will generate heat of about 0.00043W. But I doubt that will affect the temperature inside the box. The accuracy of the DHT22 is +/-0.5 degrees Celsius anyway, so there will be more error from the DHT itself.

      Most people mount the sensor so it faces the outside of the box, and drill a few holes in the box. By doing that, the sensor will be more exposed to the outside air than the inside.

      For CO2 I guess the risk is that the CO2 levels of the air near the box do not match the CO2 levels inside the crib. There you might need to spin up a small fan briefly to ventilate the box. This can be done easily by using a small computer cpu fan or similar, controlled by a pin on the Arduino.

      1 Reply Last reply
      0
      • korttomaK Offline
        korttomaK Offline
        korttoma
        Hero Member
        wrote on last edited by
        #8

        I do not think anyone has managed to create a battery powered CO2 senor yet, at least not that I know of.
        The sensors just draw to much power and often needs some pre-heating to be accurate, so be prepared that you might have to make it a wired sensor.

        • Tomas
        1 Reply Last reply
        1
        • MaKinM Offline
          MaKinM Offline
          MaKin
          wrote on last edited by
          #9

          Thanks a lot for your replies guys!

          So I might also just build two sensor boxes wired when using the CO2 component and wouldn't have to worry about the battery.

          When using a CO2 sensor plus the DHT22, should I better take an Arduino Uno/Nano instead of the Mini Pro? And what power adapter would you recommend?

          I'm really sorry for asking those questions that might seem so simple to you but my knowledge about electricity is horribly lacking... :(

          I really have to dive deeper into the topic but I'm still pretty fresh to the subject. :)

          mfalkviddM 1 Reply Last reply
          0
          • MaKinM MaKin

            Thanks a lot for your replies guys!

            So I might also just build two sensor boxes wired when using the CO2 component and wouldn't have to worry about the battery.

            When using a CO2 sensor plus the DHT22, should I better take an Arduino Uno/Nano instead of the Mini Pro? And what power adapter would you recommend?

            I'm really sorry for asking those questions that might seem so simple to you but my knowledge about electricity is horribly lacking... :(

            I really have to dive deeper into the topic but I'm still pretty fresh to the subject. :)

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #10

            @MaKin the Uno and Nano have USB ports, which is convenient when connecting them to a computer for programming/troubleshooting (for the Pro Minis you need a FTDI adapter, see link in the MySensors store). Another upside with the USB ports is that the node can be powered through the USB port using a regular USB phone charger.

            Uno and Nano are 5V. Pro Mini exists in 5V and 3.3V version. Some sensors use 5V and some use 3.3V. If you want to use a 3.3V sensor with a 5V Arduino (or the other way around) you need a logic level shifter.

            1 Reply Last reply
            0
            • MaKinM Offline
              MaKinM Offline
              MaKin
              wrote on last edited by
              #11

              I don't want you to think I haven't informed myself before. I knew that Uno and Nano are 3.3V and 5V while the Mini Pro is either or. From the getting started I got that I need some kind of step-up or step-down regulator (that's your logic level shifter I assume: here I have to dig deeper into the matter).

              What I wasn't and still am not sure about it the computation power. The Mini Pro is 8Mhz with 3.3V and 16Mhz with 5V, therefore optimal for battery usage. But is it the same with the uno and nano?

              Or are all the boards the same except for voltage, USB port and form factor?

              And don't I have to fear a lack of computation power with multiple sensors being used?

              Thanks again for your patience and support, it's unbelievably helpful when entering new fields. :)

              mfalkviddM 1 Reply Last reply
              0
              • MaKinM MaKin

                I don't want you to think I haven't informed myself before. I knew that Uno and Nano are 3.3V and 5V while the Mini Pro is either or. From the getting started I got that I need some kind of step-up or step-down regulator (that's your logic level shifter I assume: here I have to dig deeper into the matter).

                What I wasn't and still am not sure about it the computation power. The Mini Pro is 8Mhz with 3.3V and 16Mhz with 5V, therefore optimal for battery usage. But is it the same with the uno and nano?

                Or are all the boards the same except for voltage, USB port and form factor?

                And don't I have to fear a lack of computation power with multiple sensors being used?

                Thanks again for your patience and support, it's unbelievably helpful when entering new fields. :)

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by mfalkvidd
                #12

                @MaKin Sorry if my answers are too basic. It is very hard to figure out what level people are (I am no mind reader - yet), and I choose to err on the "too simple" side because of two reasons:

                1. Too advanced information is useless to a newbie, while too simple information still can be valuable or at least easily ignored by a more advanced user
                2. These threads are read by a lot of people. Someone else might be at a lower knowledge level, and can therefore benefit from simpler answers.

                I usually use https://www.arduino.cc/en/Products/Compare to compare the different Arduinos. Sparkfun has a table a bit further down on https://learn.sparkfun.com/tutorials/arduino-comparison-guide as well but doesn't have info on amount of sram.
                Computational power is very seldom a bottleneck in home automation. The mcus often sleep more than they are awake, or run around in a loop waiting for something to happen. The Sensebender runs at 1MHz and that's enough for almost anything.

                Flash size and sram can make a difference though. Some Pro Minis are based on Atmega168, which only has 16kB flash which is a bit tight. In one project I needed more than the 2kB sram available on Atmega328P so I decided to use an ESP8266 which has ~45kB usable sram when the rest of the code is loaded.

                A regulator handles voltage for power supply. A logic level shifter handles voltage for signals. They are quite different and can not be used interchangeably.

                MaKinM 1 Reply Last reply
                0
                • m26872M Offline
                  m26872M Offline
                  m26872
                  Hardware Contributor
                  wrote on last edited by
                  #13

                  My favorite hidden sensor enclosure is @Dwalt's old book solution: https://forum.mysensors.org/topic/949/sensor-for-vallox-digitse-rs485-ventilation-system-with-integration-into-fhem/10.

                  1 Reply Last reply
                  1
                  • mfalkviddM mfalkvidd

                    @MaKin Sorry if my answers are too basic. It is very hard to figure out what level people are (I am no mind reader - yet), and I choose to err on the "too simple" side because of two reasons:

                    1. Too advanced information is useless to a newbie, while too simple information still can be valuable or at least easily ignored by a more advanced user
                    2. These threads are read by a lot of people. Someone else might be at a lower knowledge level, and can therefore benefit from simpler answers.

                    I usually use https://www.arduino.cc/en/Products/Compare to compare the different Arduinos. Sparkfun has a table a bit further down on https://learn.sparkfun.com/tutorials/arduino-comparison-guide as well but doesn't have info on amount of sram.
                    Computational power is very seldom a bottleneck in home automation. The mcus often sleep more than they are awake, or run around in a loop waiting for something to happen. The Sensebender runs at 1MHz and that's enough for almost anything.

                    Flash size and sram can make a difference though. Some Pro Minis are based on Atmega168, which only has 16kB flash which is a bit tight. In one project I needed more than the 2kB sram available on Atmega328P so I decided to use an ESP8266 which has ~45kB usable sram when the rest of the code is loaded.

                    A regulator handles voltage for power supply. A logic level shifter handles voltage for signals. They are quite different and can not be used interchangeably.

                    MaKinM Offline
                    MaKinM Offline
                    MaKin
                    wrote on last edited by
                    #14

                    @mfalkvidd I really appreciate your help and once again it really brought me closer to my goal.

                    Today I received my arduino uno, some LEDs, resistors, buttons, buzzers and motion sensors and I was able to fiddle around a bit.

                    Loaded the serial gateway program onto it and added the motion detection part and it seems to work so far. I'm still waiting for my Nanos, radios and DHT22 sensors so I can place them in my rooms.

                    Can I set the voltage to 3.3V and the clock speed of the Nano to 8Mhz and also use it with a battery (when no CO2 sensor is used)?

                    mfalkviddM 1 Reply Last reply
                    0
                    • MaKinM MaKin

                      @mfalkvidd I really appreciate your help and once again it really brought me closer to my goal.

                      Today I received my arduino uno, some LEDs, resistors, buttons, buzzers and motion sensors and I was able to fiddle around a bit.

                      Loaded the serial gateway program onto it and added the motion detection part and it seems to work so far. I'm still waiting for my Nanos, radios and DHT22 sensors so I can place them in my rooms.

                      Can I set the voltage to 3.3V and the clock speed of the Nano to 8Mhz and also use it with a battery (when no CO2 sensor is used)?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #15

                      @MaKin seems like it is possible to convert a Nano to 3.3V, I found this when googling http://www.avrfreaks.net/forum/converting-arduino-nano-chinese-clone-33v

                      But to me it seems like a lot of work. Easier to just use a 3.3V Pro Mini or a logic level shifter.

                      MaKinM 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @MaKin seems like it is possible to convert a Nano to 3.3V, I found this when googling http://www.avrfreaks.net/forum/converting-arduino-nano-chinese-clone-33v

                        But to me it seems like a lot of work. Easier to just use a 3.3V Pro Mini or a logic level shifter.

                        MaKinM Offline
                        MaKinM Offline
                        MaKin
                        wrote on last edited by
                        #16

                        @mfalkvidd yep, found that too. But when using CO2 sensors it doesn't really matter anyway. ;)

                        1 Reply Last reply
                        0
                        • cimba007C Offline
                          cimba007C Offline
                          cimba007
                          wrote on last edited by
                          #17

                          19 days ago .. I hope i dont wake the dead .. on my latest projects I bagen using this nice stuff:

                          http://www.hornbach.de/shop/Hartschaumplatte-3x250x500-mm-schwarz/3888008/artikel.html![0_1483553174213_IMG_20170104_185826.jpg](/uploads/files/1483553175619-img_20170104_185826.jpg)

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


                          12

                          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