3D printed box for CO2 meter

Last modified on February 22, 2021

There have been many blog readers who have asked for a 3d printed box for him CO2 meter.

Voucher, challenge accepted!

I have designed a custom box for 3D printing, simple and easy to print, no need for supports or bridges.

features

The main of features and benefits from the box, are as follows:

  • Easy to print (no supports or bridges).
  • Design with thermal dynamics to conduct heat away from the CO2 sensor
  • System of NodeMCU installation without welding (optional)
  • Ready to install a 0.96 ″ OLED display
  • Prepared for the installation of LEDS for color warnings
  • Ready for buzzer installation
  • Design of custom vinyl front cover

Print

The box is very easy to print, although, as it has a certain surface, it can cause warping problems (lifting of the corners) depending on the printer and its settings when printing with ABS.

Me I have printed the prototype with PETG, even though could be made perfectly with PLA.

In a way the PLA would be better because it is more stable and the measurements are more accurate. This is especially important for the pins on the NodeMCU (I had to go over the holes with a small drill bit).

Box does not withstand any stress and is structurally robust, so we can print it with an infill of the 10% without any problem or risk of being too flimsy.

The printing time, in my case, has been about two hours. Depending on the printer, speed and quality desired, the printing time can vary quite a bit.

Maybe you are also interested in:  Color touch screen for CO medidor meter Wow!

Print file

I have left the STL file for printing on Thingiverse. You can access it here.

The back cover is missing, which, at the moment, I have not designed. This is a first version and I will probably make another version with some improvements that I want to introduce, so I will take the opportunity to design the back cover for the new version.

If I didn't get to make the new version, I would design the back cover for this one.

Connections

The video covers the basic details required for connecting the OLED display. For more information, I recommend viewing the article Connect an SSD1306 OLED screen to ESPEasy.

Diagram with the connections of the NodeMCU to the SSD1306 screen.

Diagram with the connections of the NodeMCU to the WS2812 LEDs (Neopixel)

For more information, I recommend viewing the article Connect and control WS2812B LEDs to ESP8266 with ESPEasy.

Diagram with the NodeMCU connections to the MH-Z19 or Senseair S8 module

Both modules, MH-Z19 or Senseair S8, are compatible in terms of connections, so the connection will be identical.

ESPEasy configuration

Once we have made the connections, we have to configure ESPEasy so that it recognizes the devices and include some simple rules so they behave the way we want.

Basically, we will have to do the following:

  1. Add the MH-Z19B sensor to ESPEasy
  2. Add the SSD1316 display to ESPEasy
  3. Add WS2812 LEDs to ESPEasy
  4. Activate the ESPEasy rules engine
  5. Add a rule so that when it turns on it does so with the LEDs off
  6. Add a ruler to change the color of the LEDs depending on the CO2 level

Add the MH-Z19B sensor to ESPEasy

This article, which you are reading, is about the 3D printed box. It is assumed that you already have a working homemade CO2 Meter. If not, I recommend you see the article home CO2 meter and your video. In it you will find all the necessary details and a lot of useful information.

Add the SSD1316 display to ESPEasy

The connection of this screen is very simple and is explained in detail in the video.

I am not going to repeat its configuration here, since in the article Connect an SSD1306 OLED screen to ESPEasy You have very detailed instructions on how to connect the display and how to set it up with a very detailed video.

Maybe you are also interested in:  MH-Z19B FALSE CO2 Sensors

Add WS2812 LEDs to ESPEasy

Connecting WS2812B LEDs to our board and using them with ESP Easy is child's play. Only three connections are necessary.

Its connection and use are explained in detail in the video that you will see below, so you should not run into any problem.

I recommend you see the article Connect and control WS2812B LEDs to ESP8266 with ESPEasy where you can find all the connection details, the rules you have to create, etc.

Do you want to add a buzzer?

The box is prepared for the installation of a buzzer, In the article Using a buzzer with ESPEasy you have everything you need for connection and use.

Step-by-step video tutorial

Although the assembly is very simple, and is largely covered in the video of the assembly of the Homemade CO2 Meter, I have created a video with all the details of the boxed meter mounting, with specific instructions for connection and configuration of the OLED screen and LEDs.

In it you can find explanations, details and advice of all kinds.

Front cover

Along with the STL file of the box, in Thingiverse, I also leave you the front cover in SVG vector format.

Me I have cut the front in adhesive vinyl with a cutting plotter, but you can print it with a normal printer, cut it by hand and paste it or do it with laser in another type of material.

I also leave you the front cover the format of Silhouette Studio, which is the cutting plotter that I use.

Upcoming improvements

In the next version of the box, which I intend to do, I plan to introduce the following improvements:

  • Expand the gap of the LEDs to 10mm to be able to install led strips standard flat shape.
  • Provision of holes for the installation of 5mm round LEDs for those who prefer it (for example, to put normal RGB LEDs).
  • Change the position of the buzzer to leave the front clean and allow the installation of the buzzer modules most common.
Maybe you are also interested in:  Connect a BME280 sensor to ESP Easy

If you want to suggest any additional improvement, you can leave it in comments.

The idea It is not create several versions for different parts (for example, one for NodeMCU and another for Wemos D1 Mini, whoever wants to put a Wemos D1 Mini can leave it wired on air) but make improvements that extend functionalities or improve usability.

User boxes

Some users have designed their own boxes and the truth is that some have improved my design by a lot!

If you've designed a box, don't be shy, tell me to include it.

Next, I leave you the boxes that the users have designed with the links to download them.

Danimod User Box

A box very elegant, In my opinion. In the following video you can see it in detail.

You can download it here.

The screws for the cover are M2x7.

Danimod has also designed an optional stand for your box which, to me particularly, seems to me to be phenomenal. You can download it from the same site. In addition, as you can see, it has equipped its meter with LEDs that change color with the level of CO2.

Nacho User Box

Nacho (nacho at pearquitectos.com), is expert architect in healthy and efficient houses, and has designed a box with a very interesting design, inspired by Netamo.

You can download the STL out of the box from here, so you can print it.

Contracovid User Box

User box Countercovid, based on that of Danimod (in fact, you can use the same lid), it is an adaptation to fit the Dupont connectors (so as not to have to weld) and dispensing with the OLED screen.

Contracovid user's video box

In the next photo you can see the internal distribution of the components.

Contracovid user's box photo

You can download the STL from the Contracovid box from here, if you want to print it (you know, use the same cover from the Danimod box).

22 thoughts on “Caja impresa en 3D para el medidor de CO2”

  1. Let's see if you see it and I'm lucky and you answer me.

    I cannot 3d print. Around there you talk about using some boxes that you buy 10 by 10.

    Which are?

    Thanks a lot!

    Reply
    • I answered you this same question in the comments of the article "A home CO2 meter with Wifi against coronavirus." I have put the link to the type of box that I use in that same article.

      Reply
  2. Good afternoon

    I have followed your manual from beginning to end and I cannot be more happy and satisfied with the result, that said, instead of putting LED strips on it, I want to put a traffic light on it, since the meter I'm making goes to the nano school, and I think that your teacher will find it easier and more comfortable to distinguish if she does not have it near her, but I don't know how I would have to configure it in the espeasy, I mean, I don't know if the Neo pixel would be worth or should I put another device as a device, or If the rules you have created would be valid for it, nor do I have any idea how the connections would be, I only have clear the GND the other 3 cables, I have no idea where to connect them. Thanks for the tutorials, videos and the work you do, it makes the task much easier for those of us who have no idea and can have the meter, thanks again.

    a greeting

    a greeting

    Reply
    • Hi.

      I am preparing an entry and a video explaining the handling of the WS2812 LEDs in depth, but it will take a day to be ready. If you want you can wait.

      Anyway, the operation is very simple.

      I don't know if you've seen the full video. In it it is explained. What is explained in the video is already a traffic light. The strip lights green, yellow / orange or red depending on the CO2 level.

      If it is not a traffic light of this type that you want, explain your idea a little, to see if I can give you some brief instructions while I finish the video.

      I'm a bit lost ... they are not GND plus four cables, they are three cables in total and in the video it looks very good (minute 23:25). The schematic that appears in the video (and above, in the article) is this:

      WS2812 connection to NodeMCU

      What do you mean if you should put the Neopixel or another? Which?
      And "if the rules would be valid for the same"? For which?

      As I answer you, I realize that I am very confused, maybe I am thick and I have not understood the question. Tell me what you want and I try to help you.

      Reply
      • Hello

        When one does not know, it is very difficult to make oneself understood, I have seen your videos from cover to cover and many times, by semaforo I mean this, literally https://www.tiendatec.es/3366-large_default/modulo-semaforo-led -three-colors-for-arduino.jpg

        Thank you

        Reply
      • I want to expand my answer because as I read it, it gives me the impression that I seem angry and / or cutting and it is not like that, on the contrary, very grateful for your selfless work and the time you dedicate to us as well as the information you provide us, that if I would like to make it clear to you.

        Reply
        • No man no! Do not worry! 😁 hahaha

          Now I know what you mean by the traffic light ...

          Being able to put on, you can, but it is not that simple. You have to put external components that complicate it.

          The NodeMCU can supply maximum 12mA on each pin. I have looked for information on the internet and this traffic light needs: Red 13mA; Yellow 13mA; Green 25mA

          Maybe the red and yellow would show up, but the green would never light up.

          To increase the current, we would have to put three transistors and we are already complicating the circuit a lot ...

          I give you an alternative idea: Print a cover with the printed traffic light for the box and match the holes with the LEDs on the WS2812 strip.

          Another option would be to make a 3D printed traffic light with the WS2812 strip inside.

          Reply
  3. Hello

    expand or clarify my previous comment, in which as I read it gives me the impression that I seem angry or cutting, and it is the opposite I am very grateful to you for the time you dedicate and the opportunity you give us, I wanted make that clear, I am clear that in a face-to-face conversation it would not have been necessary but when one writes sometimes ...

    Reply
    • That said, don't worry at all. 😀

      You have not seemed serious or cutting to me. My initial response, maybe it did seem serious or curt, but I was so frustrated that I couldn't give you a better answer that it came out that way. Sure, as you say, face to face this would not have happened ... the writing is very cold sometimes ...

      Greetings and thank you.

      Reply
      • Good Morning

        With your explanation it is clear to me that the traffic light is completely ruled out and the alternative of printing one for the led strips seems to me a very good solution.

        I'll see how this ends and I'll let you know what I do.

        I said thanks for everything and I am glad that we understood each other.

        a greeting

        Reply
        • Hi.

          I have added instructions to make the semaphore in «Add a rule to make an LED traffic light«.

          I have tried taking photos, but taking photos of the LEDs is extremely difficult and they turn out to be fatal.

          A greeting.

          Reply
          • Good afternoon

            I can only thank you and congratulate you for the hard work and generosity, a "gimmick" machine and a 10 as a person.

            a greeting
            n00s1mp0rt4

  4. Hello, I am very grateful for your contributions and today I started to print your box model to house the CO2 sensor, and I would like to finish the project with the lid of it, but I have no idea how to do it, so I would appreciate it if you could provide a model of cover to print that fits this box that you propose, so that everything is not visible to me. Greetings and keep it up!!

    Reply
  5. I just hit a gold mine with this page. I am a teacher and I have to carry out a high school research project which is based on the construction of a co2 sensor and make analyzes in different classes to see if the ventilation measures are effective. We will look forward to the new updates while the aliexpress components arrive, thanks a thousand.

    Reply
    • Hi Aitor.

      I am glad that it suits you and helps you with the construction of those CO2 meters, which are so necessary in the classrooms.

      I know that there are several teachers, especially from FP, who are doing this project in their classrooms.

      Reply
  6. Hello, here again I would like to print Nacho's box but the stl file does not open it in Repetier. Could the file be corrupted? Can it be downloaded from somewhere else or could you email it to me?

    Thank you very much and continue like this !!

    Reply
    • Hi.

      Well I can't tell you. The only one I have is the one he sent me to put on the web.

      I will send you an email, to see if you can send it to me again.

      A greeting.

      Reply
    • Hi Ricardo.

      The STL I have is the same one available for download in the page.

      I just sent the author an email asking if he can send me again the STL.

      Reply

Leave a Comment