Voltlog #276 – What Is The CO2 Concentration In Your Home?

Welcome to a new Voltlog, in the previous video I showed how I built this monitoring system for CO2, it’s based on an ESP32 development board and it uses two sensors the MH-Z19B and the CCS811. In that video I explained the differences between these two sensors so please watch that to better understand the current video and the conclusions presented here.

I’ve let the system run and collect data for the past few days and now we can take a look at the data and draw some conclusions which might help you decide what sensor to use in your future projects or it might determine you to build a similar data logger to check the CO2 levels in your home because I assure you if you do not have a ventilation system, chances are you are sleeping in some high CO2 concentration levels.

Voltlog #275 – CO2 Concentration Measurement System With MH-Z19B & CCS811

Welcome to a new Voltlog, you might remember these two sensors from a previous mailbag, this is the MH-Z19B and this is the CCS811 both of these report CO2 levels but they measure this differently and I’ll explain this in a moment. I got these two sensors in order to monitor CO2 levels in my home, to determine if the levels rise too much at night, especially during the winter time when we tend to keep the windows closed most of the time. I live in an old apartment building where there isn’t much provision for ventilation and so I suspect the air I breath during sleep is high in CO2 levels as it builds up over night.

In this video I’m gonna show you how I built the monitoring system using an ESP32 board that reads the sensor data and then sends it over the network to an MQTT server running on my raspberry pi. I then use node-red to insert the data into InfluxDB and then finally Grafana to monitor all of this data in a nice graphical user interface. The beauty of this setup is that all of this software is free to use and open-source.

Voltlog #257 – ESP32 PIR Motion Sensor With Deep Sleep & MQTT (revB part2)

In this video I’m gonna show the second revision of my esp32, battery powered PIR motion sensor. This second revision contains some optimizations to improve deep sleep power consumption as well as to fix some of the errors I had the first revision of the pcb.

Voltlog #240 – ESP32 PIR Motion Sensor With Deep Sleep & MQTT

Welcome to a new Voltlog, in this video I’m gonna show you how I designed and built this board which functions as an esp32 based, battery powered PIR motion sensor. So I started by designing the circuit, I used some common building blocks, I added the ESP32 with it’s bypass caps, some test points and the programming circuit with auto-reset, I then added some connection points for the PIR sensor, an RGB LED because why not have a nice way to signal this is one of those very small digital RGB leds, it’s just 20x20mm, it’s connected to 3.3V even though it’s only rated for 5V so I’m hoping this is going to work even on 3.3, it’s also worth having a temperature/humidity sensor to also sense that in whichever room the node will be placed and finally the power supply circuit which is a simple low dropout regulator with an 18650 battery as the input.

I did not include a battery charger circuit on this module, because I wanted to keep things simple, I’ll have a battery socket so I can just remove the 18650 cell and charge it separately plus the whole circuit should run in sleep for extended periods of time giving me a long operating time so i wouldn’t have to charge the battery too often.

Once the schematic was finished I did the board layout in a hurry so it’s not exactly pretty or optimized

but I tried to move the esp32 antenna to the side, to place the PIR sensor in the top side as the module will probably sit vertically, I tried to place the temperature sensor in the bottom side to keep it away from any components that might get hot and also placed some isolation slots for the same reason.

You should check-out revB of this board, I made some improvements present in the video below.

Voltlog #230 – Guidelines For Board Level Temperature Sensor Layout & Placement

Welcome to a new Voltlog, today I’m gonna show you some techniques that you can use when doing temperature measurements. Typically you will want to measure either the ambient temperature or the system or component temperature. Depending on one of these goals you are going to follow different design rules to achieve that. And to better illustrate the problems, I have these 3 pcbs which have exactly the same electrical circuit but with different layouts on the pcb.

The boards consist of an esp8266 and a digital temperature sensor and you might expect that since all 3 boards are placed so close together, they should all indicate the same temperature but that is not the case as we can see on this graph we are getting 3 different temperatures and only one of them is close to the actual ambient temperature measured with another thermometer, so why is that happening? Well the answer lies in the layout of the PCB and that includes component placement, copper planes and various other elements on the PCB.