{"id":238628,"date":"2021-06-18T12:24:41","date_gmt":"2021-06-18T10:24:41","guid":{"rendered":"https:\/\/emariete.com\/?p=238628"},"modified":"2021-06-18T12:24:41","modified_gmt":"2021-06-18T10:24:41","slug":"sensor-co2-sensirion-scd40-scd41","status":"publish","type":"post","link":"https:\/\/emariete.com\/en\/sensor-co2-sensirion-scd40-scd41\/","title":{"rendered":"Sensirion SCD41 and SCD40 CO2 Sensors"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Do you want a small CO2 sensor, from <strong>low consumption, versatile and high quality<\/strong>The Sensirion SCD40 and SCD41 are for you!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is quite likely that the <strong>Sensirion SCD41 CO2 sensor<\/strong> (and its twin, the SCD40) is the sensor you are looking for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this article I bring you an analysis, together with <strong>my first impressions<\/strong>Sensirion SCD41 and SCD40 sensors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sensirion is a <strong>Swedish manufacturer<\/strong> with a <strong>long experience<\/strong> in the production of quality CO2 sensors. Its <a href=\"https:\/\/emariete.com\/en\/sensor-co2-ndir-sensirion-scd30-dual-channel\/\">sensor <strong>SCD30<\/strong>a <strong>dual channel NDIR sensor<\/strong><\/a>has been a benchmark for the last few years. A clear favourite when it came to a quality sensor at an acceptable price.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently, during the<strong> second quarter of 2021<\/strong>Sensirion has surprised us by adding <strong>new members to the CO2 sensor family<\/strong>the<strong> SCD40 and SCD41<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-que-hace-especial-a-los-sensores-sensirion-scd40-y-scd41\">What makes the Sensirion SCD40 and SCD41 sensors special?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The truth is that <strong>just look at it<\/strong>. What makes these sensors special <strong>it enters through the eyes<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first thing that strikes you about this sensor is its tiny size. <strong>Only 10.1 x 10.1 x 6.5 mm<\/strong>unbelievable. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-co2-sensor-scd40-scd41.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"400\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-co2-sensor-scd40-scd41.jpg\" alt=\"\" class=\"wp-image-238652\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-co2-sensor-scd40-scd41.jpg 530w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-co2-sensor-scd40-scd41-300x226.jpg 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">But this sensor is much more than <strong>a pretty face on a slim body<\/strong>... offers characteristics, on paper, that <strong>is in no way inferior to sensors of a much larger size (and power consumption).<\/strong>with little or no sacrifice.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Sensirion SCD40 and SCD41 CO2 sensors are <strong>high-performance sensors<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cual-es-la-diferencia-entre-el-sensirion-scd40-y-el-scd41\">What is the difference between the Sensirion SCD40 and SCD41?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These two sensors <strong>are virtually the same<\/strong>are twin brothers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Externally, the two sensors look the same, but internally <strong>they are two different beasts<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That said, the major differences are to be found in<strong> its measuring range and consumption<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Sensirion sensor <strong>SCD40 <\/strong>can measure CO2 concentrations from 400 to 2000 ppm and has a <strong>typical consumption of 15mA at 3.3V or 11mA at 5V<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>SCD41 <\/strong>and can also measure a wider range, from 400 to <strong>5000<\/strong> ppm, has a <strong>Typical minimum power consumption of only 0.45mA at 3.3V and 0.36mA at 5V.<\/strong>This allows us to create CO2 meters with great autonomy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To achieve this low power consumption, the SCD41 has a \"single measurement\" mode of operation, called \"single measurement\". <strong>\"single shot mode<\/strong> where the sensor is used on demand to take a single measurement (the above consumption is that corresponding to a measurement every 5 minutes).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-como-ha-conseguido-sensirion-un-sensor-tan-pequeno\">How did Sensirion achieve such a small sensor?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sensirion's secret to achieving this small size has been to use a <strong>technology other than NDIR<\/strong> to which we are accustomed, while maintaining its high quality of measurement, has created a sensor for the <strong>electro-acoustic technology<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-que-es-un-sensor-de-co2-electroacustico\">What is an electro-acoustic CO2 sensor?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the NDIR sensors that we usually use, the operation is based on the <strong>absorption <\/strong>that CO2 is <strong>on an infrared beam<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In an NDIR sensor there is an infrared emitter and a sensor that detects infrared. <strong>The more CO2 there is between the infrared emitter and the sensor that detects it, the less infrared the sensor detects.<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Electro-acoustic sensors are based on the effects that the CO2 concentration produces <strong>in sound waves<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-principio-de-medicion-electroacustico\">Electro-acoustic measuring principle<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-products-co2-scd40-scd41-scd4x-measurementprinciple.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"400\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-products-co2-scd40-scd41-scd4x-measurementprinciple.jpg\" alt=\"\" class=\"wp-image-238654\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-products-co2-scd40-scd41-scd4x-measurementprinciple.jpg 500w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/sensirion-products-co2-scd40-scd41-scd4x-measurementprinciple-300x240.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In an almost completely closed measuring chamber, a narrow-band light is emitted that <strong>coincides with the wavelengths that are absorbed by the CO2 molecules.<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CO2 molecules in the measuring chamber <strong>absorb a part of the radiated light<\/strong>while other molecules do not contribute to absorption due to the spectrum of the emitted light. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How many <strong>more CO2 molecules<\/strong> in the measuring cell, <strong>the more energy absorbed<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The energy absorbed from the CO2 molecules excites mainly the <strong>molecular vibrations<\/strong>which gives rise to a <strong>increase in the translational energy of molecules<\/strong> and, due to the enclosed measuring chamber, to a <strong>increase of pressure in the chamber<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A modulation of the light source causes a periodic pressure change in the measuring cell, which can be measured with a microphone. The signal of the <strong>microphone thus serves to measure the number of CO2 molecules present in the chamber.<\/strong> <strong>measurement<\/strong> and can be used to calculate the CO2 concentration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sensirion calls its implementation of this technology <strong>PASens\u00ae Technology<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cuanto-cuesta-un-sensirion-scd40-o-scd41\">How much does a Sensirion SCD40 or SCD41 cost?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The truth is that this has meant <strong>a real surprise<\/strong>especially when compared to ultra-low power sensors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are used, especially the makers, to buying our sensors in China, on sites such as AliExpress, and that makes it easier for the prices to be much lower than in the official marketing channels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the SCD30 sensor in an official distributor such as Mouser, costs approximately 55\u20ac. This same sensor, as you can see in this link <a href=\"https:\/\/s.click.aliexpress.com\/e\/_AUp0iN\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">Sensirion SCD30 on AliExpress<\/a> (same link where I bought it and it took me only 7 days to arrive), it costs about 35\u20ac.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, the SCD40 costs about 36\u20ac at Mouser and the SCD41 47\u20ac for one unit (you get good discounts for quantity). If we compare it with the price of the SCD30 in China, if we could buy the SCD41 on AliExpress (it's not available yet, I'll let you know here when it is, if you see it before let me know), it would cost around 25\u20ac or less.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition, for applications where good battery life is needed, this sensor is significantly cheaper than other ultra-low-power sensors, such as the Senseair Sunrise S11 (which costs about 55\u20ac at Digikey) and the Cubic CM1106SL-NS (which is not even readily available but is expected to be priced similarly to the Senseair Sunrise S11).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-el-kit-de-desarrollo-sensirion-scd41\">The Sensirion SCD41 development kit<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These sensors are not all advantages. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One disadvantage for makers is that this miniaturisation has a side effect: to achieve such a compact size, Sensirion has used a <strong>QFN encapsulation<\/strong>which complicates things quite a bit because we will need a <strong>custom printed circuit board<\/strong> and make some <strong>welds that are quite difficult to perform<\/strong> for the average amateur.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, if we do not want to weld it ourselves, we have <strong>a solution that comes to our rescue: The development kit.<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/carbon-dioxide-sensor-scd4x-development-board.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"400\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/carbon-dioxide-sensor-scd4x-development-board.jpg\" alt=\"\" class=\"wp-image-238656\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/carbon-dioxide-sensor-scd4x-development-board.jpg 530w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/carbon-dioxide-sensor-scd4x-development-board-300x226.jpg 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The development kit is nothing more than the <strong>sensor SCD41 or SCD40, soldered to a small printed circuit board<\/strong> customised with connectors, terminals and cable <strong>to make it easier to tinker <\/strong>with the sensor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, it's not all advantages, if we decide to use the \".<em>Evaluation Kit SEK-SCD41<\/em>\"We are going to meet with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A significantly higher price <\/strong>that the loose sensor<\/li>\n\n\n\n<li><strong>Also larger in size<\/strong>for the board and the connector.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-programacion-del-sensirion-scd40-y-scd41-documentacion-y-librerias-disponibles\">Sensirion SCD40 and SCD41 programming, documentation and available libraries<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A very good thing about this manufacturer, especially when compared to other manufacturers of CO2 sensors, is <strong>the large amount of documentation it provides<\/strong>as well as libraries and programming examples for multiple platforms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a link to the <a href=\"https:\/\/www.sensirion.com\/en\/environmental-sensors\/evaluation-kit-sek-environmental-sensing\/evaluation-kit-sek-scd41\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Sensirion SCD4x technical documentation<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sensirion SCD4x sensors communicate with the outside world (our microcontroller, for example). <strong>via an I2C BUS<\/strong> and the truth is that <strong>have quite a few commands<\/strong> we can use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, Sensirion has prepared a <strong>official library supporting all major microcontrollers<\/strong> (Arduino, ESP8266, ESP32, STM32, and many others), which makes it very easy to use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The truth is that I only take <strong>a couple of hours<\/strong> adapt my ultra-low consumption CO2 meter to use it with the SCD41 and start doing the first tests. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These two hours included learning <strong>absolutely everything<\/strong> about the sensor and how to use it because, that's the bad thing about being a pioneer, when I set out, <strong>I could not find a single project using this sensor.<\/strong>I could learn from. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here you can see the CO2, temperature and humidity meter I built for testing with the SCD41:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/DIY-CO2-Monitor-SCD41.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"320\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/DIY-CO2-Monitor-SCD41.gif\" alt=\"\" class=\"wp-image-238658\"\/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">I hope that, thanks to this article, it will be easier for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have not yet conducted enough tests to draw any conclusions about the quality of their measurements, but <strong>I will update the article shortly<\/strong> with them so that you can see <strong>how it compares to other sensors<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I leave you, simply, with this graphic that <strong>measurements taken with the Sensirion SCD41<\/strong>The Senseair S8, along with those of a Senseair S8 to give you an idea:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"270\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2-1024x270.png\" alt=\"\" class=\"wp-image-238708\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2-1024x270.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2-300x79.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2-768x203.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-vs-Senseair-S8-Medidas-CO2.png 1329w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-modos-de-funcionamiento-del-sensirion-scdx\">Operating modes of the Sensirion SCDx<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SCDx sensors have <strong>three modes of operation<\/strong> which affect, above all, their <strong>consumption<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is important to choose the<strong> correct way<\/strong> on the basis of the <strong>use <\/strong>we are going to make of the sensor.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-b0c084ad gb-headline-text\">Periodic measurement mode<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the periodic measurement mode, which is the mode of <strong>default operation<\/strong> sensor, which is the easiest to use and with <strong>greater precision<\/strong>assumes that the sensor is working <strong>permanently <\/strong>y <strong>provide us with an updated measurement of CO2 concentration, temperature and humidity every 5 seconds.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All we have to do is send the sensor the command <em>\"start_periodic_measurement\"<\/em> to start operating in a periodic measurement mode and <strong>every 5 seconds we can ask for a new measure<\/strong>We do not need to do anything else on our part.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this mode, <strong>the average power consumption of the sensor powered at 3.3V is between 15 (typical) and 18mA (maximum), according to the datasheet.<\/strong>However, there may be very short peaks where the sensor consumes as much as 175mA (typical) to 205mA (maximum).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my own tests and experiments, <strong>the average consumption has been 15.78mA.<\/strong>which is very good and very close to the manufacturer's datasheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the following chart you can see some of them <strong>consumption measurements of my experiments<\/strong>taken over a period of one minute. That is, <strong>are real measures<\/strong>taken by me, not by the manufacturer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement-1024x496.png\" alt=\"\" class=\"wp-image-238637\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement-1024x496.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement-300x145.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement-768x372.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement-1536x744.png 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Periodic-Measurement.png 1634w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"gb-headline gb-headline-d044055c gb-headline-text\">Low-energy periodic measurement mode<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This mode, <strong>supported by both sensor SCD40 and SCD41<\/strong>is to be used in use cases in which <strong>sensor consumption is important<\/strong>This mode has a <strong>update period of approximately 30 seconds<\/strong> (the sensor provides a new CO2 measurement every 30 seconds).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We only have to activate this type of measurement by sending the start_low_power_periodic_measurement command to the sensor and it will automatically take a measurement every 30 seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that the sensor will take that measurement every 30 seconds regardless of whether we read it or not. In other words, if we want our CO2 meter to only show one measurement every 3 minutes, the sensor will take six measurements in those three minutes, so five of them (and the energy used to make them) will have been wasted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the following graph with the consumption profile of the sensor for one minute, you can see how <strong>the average consumption is 2.72mA. Five times less than in normal mode.<\/strong> This is even <strong>less than the 3.2mA indicated by the manufacturer<\/strong> in the datasheet. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also see how the sensor has a very low consumption except in time,<strong> every 30 seconds<\/strong>in which it takes the measure.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-1024x497.png\" alt=\"\" class=\"wp-image-238641\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-1024x497.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-300x146.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-768x373.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-1536x745.png 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement.png 1634w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Below, you can see a zoom of the same measure with the detail of that period, that <strong>repeats every 30 seconds<\/strong>The CO2 reading is taken by the sensor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, to take this CO2 measurement, the sensor consumes an average of <strong>51.26mA for 1.2 seconds<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring-1024x497.png\" alt=\"\" class=\"wp-image-238643\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring-1024x497.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring-300x146.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring-768x373.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring-1536x745.png 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Low-Power-Periodic-Measurement-Measuring.png 1636w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"gb-headline gb-headline-7f8df142 gb-headline-text\">Single measurement mode (Sensirion SCD41 only)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In single measurement mode <strong>we have full control over what CO2 measurements the sensor makes and when it makes them.<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is a mode with very low consumption in which <strong>we can tell the sensor to take a measurement at any time<\/strong>. In this way, <strong>no energy will be wasted<\/strong> in taking measures that will not be used.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we have a battery operated CO2 meter, which we only want to update the CO2 in the air. <strong>every three minutes<\/strong>If the sensor is not in use, we can have the sensor with a <strong>really low power consumption for most of those three minutes<\/strong> and only tell her to measure once in those three minutes with a <strong>significant energy savings<\/strong> on the periodic measurement modes discussed above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The energy savings can be as much as if we take a CO2 reading every 5 minutes, <strong>the average consumption would be between 0.45mA (typical) and 0.5mA (maximum).<\/strong>according to the datasheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article is not intended to be a tutorial on programming the SCD41, so I won't go into the details, just give you a few pointers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When we ask the sensor to take a measurement, it will <strong>takes about 5 seconds <\/strong>to give it to us.<\/li>\n\n\n\n<li>If we only want to measure <strong>temperature and humidity<\/strong>There is a command that only takes <strong>50ms<\/strong>.<\/li>\n\n\n\n<li>The manufacturer, Sensirion, indicates in the datasheet that after supplying power to the sensor (switching it on) <strong>the first two measures <\/strong>taken in this way <strong>should be discarded<\/strong>.<\/li>\n\n\n\n<li>To reduce the noise in the measurements, the manufacturer suggests that we can take <strong>several measurements in a row and average them out <\/strong>among them.<\/li>\n\n\n\n<li>According to the datasheet, <strong>the sensor consumption between measurements is between 0.15mA. <\/strong>(typical) and 0.2mA (maximum).<\/li>\n\n\n\n<li>In single measurement mode, <strong>automatic calibration still works<\/strong>The sensor shall not be switched off between measurements.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">According to my own measurements, carried out during my experiments, the SCD41 sensor has a <strong>idle consumption of 171\u00b5A<\/strong>. and the <strong>average consumption for 60 seconds<\/strong> with a single measure in that period was <strong>1.20mA<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement-1024x496.png\" alt=\"\" class=\"wp-image-238649\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement-1024x496.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement-300x145.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement-768x372.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement-1536x744.png 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/Sensirion-SCD41-Consumption-Power-Profile-Single-Shoot-Measurement.png 1635w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Altitude\/atmospheric pressure compensation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The differences in&nbsp;<strong>height above sea level<\/strong>&nbsp;(in other words, the&nbsp;<strong>differences in atmospheric pressure<\/strong>) have an effect on CO2 concentration measurements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The higher the pressure, the more the air is compressed, the more the molecules are compressed, the more everything is compressed... this means that&nbsp;<strong>more or less CO2 molecules can fit into the measuring chamber depending on the atmospheric pressure.<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To compensate for these variations, the SCD4x has a couple of aids:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the first of these we can simply configure the&nbsp;<strong>altitude in metres above sea level<\/strong>&nbsp;The meter will internally make the necessary adjustments to compensate for this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second allows us to provide the sensor with the&nbsp;<strong>current atmospheric pressure<\/strong>&nbsp;continuously (we can do it whenever we want, every minute, every hour, when there is a change...), in this way the SCD4x will make the compensation automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Logically, these two possibilities are&nbsp;<strong>exclusionary&nbsp;<\/strong>and, if we use one, the other is cancelled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Temperature sensor compensation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although the temperature sensor of the SCD4x is sufficiently good (with an accuracy of +\/-0.8\u00b0C between 15 and 35\u00b0C and +\/-1.5\u00b0C between -10\u00b0C and 60\u00b0C) the heat generated by the electronic components of the sensor itself, and the attached circuitry forming the meter, can cause<strong>&nbsp;differences between temperature<\/strong>&nbsp;read by the sensor and the temperature of the surrounding air.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To solve this problem, the SCD4x features a&nbsp;<strong>temperature compensation<\/strong>&nbsp;so we can tell you<strong>&nbsp;the difference, or offset<\/strong>The temperature of the device will be adjusted to the actual temperature and it will compensate itself from that point onwards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea is that, if we know that the thermal distribution of our particular setup means that the sensor reads 1.8\u00baC above, we communicate this to the sensor so that it can do its job of compensation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just for clarification, this temperature compensation does not have&nbsp;<strong>no effect on CO2 measurement<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to this, I must say, for the sake of completeness, that&nbsp;<strong>the sensor also performs internal temperature compensation to calculate the CO2 concentration.<\/strong>However, it has nothing to do with this temperature sensor compensation that I have just told you about.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This temperature setting also allows the sensor to compensate for humidity measurements. In the datasheet the manufacturer already warns us that it is important to set this value correctly in order to obtain the best temperature and humidity measurements.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sensirion SCD4x CO2 Sensor Calibration <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sensors like this SCD4x are&nbsp;<strong>very high precision instruments<\/strong>&nbsp;and such things as ageing of any of its components or simply the mechanical stress it may be subjected to during storage, transport and operation can affect its accuracy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this reason, it is important to understand the&nbsp;<strong>need for calibration<\/strong>&nbsp;of these sensors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This sensor has two calibration modes:&nbsp;<strong>ASC&nbsp;<\/strong>(automatic self-calibration, or&nbsp;<strong>automatic auto-calibration<\/strong>) y&nbsp;<strong>FRC&nbsp;<\/strong>(forced re-calibration, or&nbsp;<strong>forced\/manual recalibration<\/strong>) in order to maintain the accuracy of their measurements.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Automatic calibration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Sensirion SCD4x CO2 sensor is equipped with an automatic calibration system, called by Sensirion&nbsp;<strong>Automatic Self-Calibration<\/strong>&nbsp;(ASC), and it works quite well.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Operation<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Since the natural CO2 concentration in the atmosphere is about 400 ppm (actually just under 420 ppm on average in 2021), when the ASC is enabled,&nbsp;<strong>the sensor assumes that, over a period of approximately 7 days, the minimum CO2 concentration it encounters will be equivalent to 400 ppm.<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means that, in a well-ventilated room, which at some point during the seven-day period has clean air, the lowest measurement will be around 400 ppm and the sensor will assume that concentration (whatever it is) as the zero point, or 400 ppm.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other words, the sensor will assume that the lowest measurement in each 7-day period will be 400 ppm.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">A word of caution<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, I have explained the same thing in three different ways, but it is necessary to understand it well because it implies that:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You cannot use the automatic calibration if you are going to use the sensor in&nbsp;<strong>a greenhouse<\/strong>The air in the greenhouse, for example, will never fall below 400 ppm, even in a place where there is always a human presence, such as an airport, a hospital and so many other places that are open all the time.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Automatic calibration procedure for Sensirion SCD41 and SCD40 Sensors<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">For the automatic calibration procedure of the SCD4x to work properly, it must be complied with:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The SCD4x must be regularly exposed to fresh air with a concentration of approximately 400 ppm CO2.<\/li>\n\n\n\n<li>The SCD4x must run continuously (without being switched off) for the automatic calibration cycle to complete.<\/li>\n\n\n\n<li>Although we usually talk about the sensor needing 7 days to calibrate, to be precise, what it needs is 7 good measurements separated by at least 18 hours (that is, approximately 5 days).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This is a very convenient way to keep the sensor calibrated, using clean air as a reference value and automating the process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Manual calibration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Sensirion SCD4x CO2 sensor allows manual calibration so you don't have to wait those seven days for it to calibrate automatically (not all CO2 meters take advantage of this feature).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All you have to do to calibrate the sensor is: put the meter in a place with clean air (outside a window, for example), turn it on, wait more than three minutes with the sensor running in the mode you want to calibrate it (periodic measurement, for example) in an environment with a constant heterogeneous concentration and execute the calibration command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to know more about the calibration of the SCD4x, you will find the following Sensirion document very interesting:&nbsp;<a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2023\/11\/Sensirion_CO2_Sensors_SCD30_Field_Calibration.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">SCD4x<\/a> datasheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A word of advice:&nbsp;<strong>The SCD4x is very sensitive to draughts.<\/strong>&nbsp;(all photoacoustic sensors, to a greater or lesser extent) so it is important that when taking it outside to calibrate it&nbsp;<strong>do not get too much direct airflow<\/strong>. Even a breeze, not too strong, can cause unstable concentration readings and affect calibration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the manufacturer's recommendations for the correct aeration of the sensor:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"353\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2022\/12\/Aireacion-caja-SCD40-SCD41.jpg\" alt=\"\" class=\"wp-image-240643\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2022\/12\/Aireacion-caja-SCD40-SCD41.jpg 640w, https:\/\/emariete.com\/wp-content\/uploads\/2022\/12\/Aireacion-caja-SCD40-SCD41-300x165.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The SCD4x can be calibrated at concentrations other than 400 ppm, which is very interesting for calibration, for example, using a reference meter.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In conclusion<\/strong>The Sensirion SCD41 and SCD40 CO2 sensors are very interesting devices for measuring CO2 concentration, temperature and air humidity. These sensors are characterised by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your <strong>reduced size<\/strong> and its <strong>low consumption<\/strong>thanks to its PASens\u00ae electro-acoustic technology.<\/li>\n\n\n\n<li>Your <strong>high precision<\/strong> and its <strong>measurement quality<\/strong>The NDIR sensor is comparable to that of larger and more power-hungry NDIR sensors.<\/li>\n\n\n\n<li>Your <strong>versatility<\/strong> and its <strong>ease of use<\/strong>with different operating modes, pressure and temperature compensations, automatic and manual calibrations.<\/li>\n\n\n\n<li>Your <strong>competitive price<\/strong>especially if you wait for it to become available on the Chinese market.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you want a small, low-power, versatile, quality CO2 sensor, the Sensirion SCD41 (or its twin, the SCD40) may be the sensor you're looking for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By the way, be sure to check out this post about another Sensirion sensor, <strong>the SCD30<\/strong>:<\/p>\n\n\n<div class=\"gb-container gb-container-a1fe633f\">\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"zWEsWiQsDf\"><a href=\"https:\/\/emariete.com\/en\/sensor-co2-ndir-sensirion-scd30-dual-channel\/\">Sensirion SCD30 dual-channel NDIR CO2 Sensor<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&quot;Sensirion SCD30 dual-channel NDIR CO2 sensor - eMariete\" src=\"https:\/\/emariete.com\/sensor-co2-ndir-sensirion-scd30-dual-channel\/embed\/#?secret=njQ3XEZlDu#?secret=zWEsWiQsDf\" data-secret=\"zWEsWiQsDf\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div><div class=\"essb_break_scroll\"><\/div>","protected":false},"excerpt":{"rendered":"<p>This CO2, temperature and humidity sensor is much more than just a pretty face on a slim body... <\/p>","protected":false},"author":1,"featured_media":238661,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_lmt_disableupdate":"yes","_lmt_disable":"no","footnotes":""},"categories":[16,17,18],"tags":[30,43,50],"class_list":["post-238628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-medidor-co2","category-proyectos-arduino","category-sensores-de-co2","tag-experimentos","tag-proyectos-arduino","tag-sensores"],"modified_by":"Mariete","uagb_featured_image_src":{"full":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40.png",1620,912,false],"thumbnail":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40-150x150.png",150,150,true],"medium":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40-300x169.png",300,169,true],"medium_large":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40-768x432.png",768,432,true],"large":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40-1024x576.png",1024,576,true],"1536x1536":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40-1536x865.png",1536,865,true],"2048x2048":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40.png",1620,912,false],"trp-custom-language-flag":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/06\/El-sensor-de-CO2-Sensirion-SCD41-y-el-SCD40.png",18,10,false]},"uagb_author_info":{"display_name":"Mariete","author_link":"https:\/\/emariete.com\/en\/author\/admin_xlyz052h\/"},"uagb_comment_info":9,"uagb_excerpt":"Este sensor de CO2, temperatura y humedad, es mucho m\u00e1s que una cara bonita en un cuerpo delgado...","_links":{"self":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/comments?post=238628"}],"version-history":[{"count":5,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238628\/revisions"}],"predecessor-version":[{"id":241144,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238628\/revisions\/241144"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media\/238661"}],"wp:attachment":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media?parent=238628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/categories?post=238628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/tags?post=238628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}