Hello friends, I hope you all are doing great. Today, I am going to share the new SCD41 CO2 Sensor Library for Proteus Simulation. The SCD41 is the tiny true-CO2 sensor that has made indoor air monitors cheap and small: it measures carbon dioxide, temperature and humidity and talks to your Arduino over I2C. With this library you can run a full Proteus simulation of it, with its real command set, so that the code you test here runs unchanged on the real sensor. The module is drawn at its real size and comes alive at run time: its LEDs blink with every I2C transfer and every measurement, and the white membrane over the sensor glows when its infrared lamp pulses. The demo is a classroom CO2 traffic light - green, yellow and red LEDs and a buzzer that tells you when to open the windows. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the CO2 sensor board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the SCD41 CO2 Sensor Library for Proteus Simulation: The SCD41 is a CO2 sensor about the size of a fingernail: a green 10 x 10 mm carrier with a silver can on top and a white membrane in the middle of the can. It measures the real carbon dioxide in the air, in parts per million (ppm), and on the same chip the ...
Hello friends, I hope you all are doing great. Today, I am going to share the new MH-Z19B CO2 Sensor Library for Proteus V1.0. The MH-Z19B is the small gold-plated NDIR (infrared) carbon dioxide sensor that sits in many indoor air-quality monitors, ventilation controllers and school CO2 traffic lights. It measures real CO2, not just "bad air", and it talks to an Arduino over a UART and a PWM pin. Behind the part sits our own model, written from Winsen's user's manual and checked against the MH-Z19 Arduino library, the one most makers use with this sensor - so the library's own commands get the answers they expect. The sensor preheats, follows a change of the air with its response time, holds its zero point at 400 ppm, corrects itself with ABC, and can be calibrated right or wrong, just like the real one. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a CO2 sensor is easy to fake: a number that follows a slider. We wanted more. Our MH-Z19B answers the same 9-byte commands as the real one, bit by bit, gives the same PWM cycle, needs its preheat, lags behind the air and can be calibrated in the wrong air - so a sketch that reads too early, uses the wrong range or calibrates in a stuffy room fails exactly as it does with a real sensor. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments ...