Lurker News
Hi HN!

I’ve been working on an air quality measuring device called Air Lab for the past three years. It measures CO2, temperature, relative humidity, air pollutants (VOC, NOx), and atmospheric pressure. You can log and analyze the data directly on the device — no smartphone or laptop needed.
To better show what the device can do and how it feels like, I spent the past week developing a web-based simulator using Emscripten. It runs the stock firmware with most features available except for networking. Check it out and let me know what you think!
The firmware will be open-source and available once the first batch of devices ships. We’re currently finishing up our crowdfunding campaign on CrowdSupply. If you want to get one, now is the time to support the project: https://www.crowdsupply.com/networked-artifacts/air-lab
We started building the Air Lab because most air quality measuring devices we found were locked-down or hard to tinker with. Air quality is a growing concern, and we’re hoping a more open, playful approach can help make the topic more accessible. It is important to us that there is a low bar for customizing and extending the Air Lab. Until we ship, we plan to create rich documentation and further tools, like the simulator, to make this as easy as possible.
The technical: The device is powered by the popular ESP32S3 microcontroller, equipped with a precise CO2, temperature, and relative humidity sensor (SCD41) as well as a VOC/NOx (SGP41) and atmospheric pressure sensor (LPS22). The support circuitry provides built-in battery charging, a real-time clock, an RGB LED, buzzer, an accelerometer, and capacitive touch, which makes Air Lab a powerful stand-alone device. The firmware itself is written on top of esp-idf and uses LVGL for rendering the UI.
If you seek more high-level info, here are also some videos covering the project: - https://www.youtube.com/watch?v=oBltdMLjUyg (Introduction) - https://www.youtube.com/watch?v=_tzjVYPm_MU (Product Update)
Would love your feedback — on the device, hardware choices, potential use cases, or anything else worth improving. If you want to get notified on project updates, subscribe on Crowd Supply.
Happy to answer any questions!

Comments (186) 66 threads

Show all comments

Showing thread 3 of 66

homebrewer3 replies#
JFYI: a (hopefully much) cheaper stripped down version of the device would be useful. Air quality is the worst in poorer regions of the world, and as someone who suffers from horrible air pollution, but who's also living a relatively cushy life (by our standards), I can assure you that $200+ for an air quality sensor puts it into the "unobtainable" bucket. Add shipping and it probably gets closer to $300, which is roughly equal to the median monthly salary over here.

Your NO₂ measurements make it a really interesting device compared to most alternatives that only measure particulate matter. All gas sensors that are theoretically possible for me to obtain cost hundreds of dollars by themselves.

crtified2 replies#
I'll preface this by saying that product design and manufacturing and public-proofing is long, hard work, and the retail price of this product is likely to be well justified for all kinds of reasons.

That said, looking at the main active components that are listed, we have -
ESP32S3 IC : $4 retail, SCD41 Sensor : $21 retail, SGP41 Sensor : $8 retail, LPS22 Sensor : $4 retail
Which is very hopeful, in the sense that some key functionality of this kind of device could potentially be open sourced and pared back to a minimal cost where hobbyists could build versions suitable for the economics of developing countries.

iamflimflam11 reply#
Tariffs are having a big impact on people outside the US using CrowdSupply.

CrowdSupply ships everything via Mouser US - so if you are outside of the US you need to export your products to Mouser. That hits you with tariffs and the tariffs are charged on what CrowdSupply are paying you for the products.
If the majority of your product is manufactured in China (e.g. PCBA) then it's very likely that the COO for your product will be China. So, you will get stung with whatever crazy tariffs are currently in place.

256dpi3 replies#
This has been very tricky to navigate for us. We almost launched the campaign right before the Tariffs got announced. Luckily, we had the opportunity to wait it out. While CrowdSupply is an awesome platform, and I would use it again, the requirement to export everything to the US is a problem in such situations.

Continue this thread — 3 replies

FlyingSnake3 replies#
> ESP32S3 IC : $4 retail, SCD41 Sensor : $21 retail, SGP41 Sensor : $8 retail, LPS22 Sensor : $4 retail

I am not an expert but if I get these components, how easy would it be to build a hacked version out of these?
I’m not in the US and unaffected by the tarrifs.

DoingIsLearning#
Hardware companies design breakout boards for most semi popular sensors (including the SCD41 and the SGP41) so arguably if you can put things together on a breadboard and can setup I²C comms (for example with an Arduino library) then it is certainly accessible to a hobbyist.
nerdsniper2 replies#
Pretty simple. You can find lots of examples of getting each sensor working by googling "site:github.com ESP32 SCD41" etc.

There are libraries which make it extra-easy:
SCD41: SparkFun_SCD4x_Arduino_Library.h
SGP41: SensirionI2CSgp41.h
LPS22: Adafruit_LPS2X.h
Take a look through the past HN discussions of this and similar air quality monitors. Can also search HN for chip names themselves (like 'SCD41'). Many people note that the sensors drift over time, and buying "calibration bottles" of low-concentration CO2 is a slight hurdle for many - they're not that crazy expensive, but they're expensive enough to be a bit of a block for some.

Continue this thread — 2 replies

crtified#
The basic connections are easy in theory, especially if you get a ready-to-use, breakout-board version (e.g. Adafruit modules) of each, for perhaps double or triple the price. Then it's just a matter of wiring each sensor to data lines of the controller chip, and giving everything the power it requires.

Programming libraries contain the basic functions necessary to access to sensors' readings with simple lines of code.
But the devil is in the details - to go from that to an actual practical, working model and physical build is quite a lot of work. Expect months, in hobbyist terms.

256dpi#
Thanks for the feedback that I can totally understand! We hoped to offer the product at a lower price, but as I mentioned in other replies, it's hard to be competitive when planning for small quantities. That said, I can totally see us offering a simplified and cheaper version in the future that is affordable to more people.
scottlamb3 replies#
I'm a big fan of the AirGradient. They used to have really cheap DIY kits available: either $19 for the PCB + enclosure alone (with the assumption you already have the other parts or will buy them off aliexpress) or $96 for everything. Looks like the current kit is $138. If that's too much, you might be able to make it cheaper by downloading the KiCad and STL files off their website [1], getting PCBs printed elsewhere, 3D printing the case, and sourcing the rest of the parts from aliexpress. When you do it that way, you can also omit any sensors that are not of interest to save money, and perhaps add them in later.

[1] https://www.airgradient.com/documentation/overview/

jadbox1 reply#
Ya, my AirGradient ONE is $200 and has been one of the best investments in my home. Using it, I discovered how the drying polyester clothes wrecks the indoor air quality and how not to burn baking oils by controlling temps better.
sizzle1 reply#
Drying polyester clothes releases CO2 to unhealthy levels?

Continue this thread — 1 reply

cyberax3 replies#
I've been having problems with my devices, though. The reliability sucks, they lock up all the time.

Additionally, the OLED screen needs to shut down in the dark. I added a VEML lithgt sensor to my devices for that.

Aeolun#
The light strip they added to the new devices is fun. You get a free nightlight too.
ted_dunning1 reply#
Interesting. I have been running three of their devices of different generations in my house for several years now with no hangs.
cyberax#
No idea why. I tried to change the power supply, and even slightly overvolt the power (to 6V from nominal 5V).
andyfleming#
I haven't had any issues with lock-ups.

The LEDs and screens can be adjusted (or turned off) on a schedule with the latest firmware.

isatty#
I have one that uses these sensors though I made a variation of this in a different layout and with a different power system (usb c and one that is powered off 12v). Wonder if JLPCB is affected by tariffs. I’d love to do a new board.