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 #266 – How To Check If Your Raspberry Pi 4 Is Throttling CPU

Welcome to a new Voltlog, today my raspberry pi 4 is again in the spotlight because I want to show you the different scenarios where the board could be throttling down the CPU frequency and how you can identify those. Because it might be a case where your raspberry pi is running slow on a particular task and you don’t know why because there is no built-in mechanism to let you know when the board is throttling down. There are logs which you can check but let’s be honest, few people actually check the logs for something like this.

Throttling of the cpu frequency occurs for good reasons, to protect the board or the cpu from overheating or to prevent any errors from occurring in the case of an under-voltage scenario which may lead to data loss or corruption. Luckily there is a way to check if your system is under one of these conditions, you can run this command on your raspberry pi.