<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Code to use M5Core2 with the PM2.5 Air Quality Module along with the BTC base with SHT30 temp&#x2F;humidity sensor.]]></title><description><![CDATA[<p dir="auto">I have recently completed arduino ide code to display air quality data on an M5Stack Core2 with attached<br />
M5stack PM2.5 unit and sitting in the M5Stack BTC standing base with SHT30. This code is not exactly original,<br />
being based on various example code found around CyberSpace, but it does have some interesting features such<br />
as influxdb/grafana posting, two independent millis timers (one for influxdb posting, one for temp/humidity display),<br />
memory management and the use of a full-screen sprite to display the data in a flicker-free manner.</p>
<p dir="auto">This code works flawlessly in my own coding/living environment (as opposed to some/most of the example code I found).</p>
<p dir="auto">Sharing in hopes that someone can use/hack it for their own project(s).</p>
<p dir="auto">// --------------<br />
The colour coding for the filled circle is based on information I received from the Coway air purifier company:</p>
<p dir="auto">Good (blue) → Moderate (green) → Unhealthy (yellow) → Very unhealthy (Red)</p>
<p dir="auto">Good		Moderate	Unhealthy	Very Unhealthy<br />
0-30(ug/m3)	31-80		81-150		&gt;151</p>
<p dir="auto">Data is posted to my local influxdb server and viewed via my local grafana server. See screenshots</p>
<p dir="auto">This is my first attempt at a github repository. Please don't hesitate to let me know what I've done wrong (or omitted)). Thanks.</p>
<p dir="auto"><a href="https://github.com/jwd3ca/PM2_5_PMSA003plusSHT30" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/jwd3ca/PM2_5_PMSA003plusSHT30</a></p>
]]></description><link>https://community.m5stack.com/topic/7281/code-to-use-m5core2-with-the-pm2-5-air-quality-module-along-with-the-btc-base-with-sht30-temp-humidity-sensor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 00:35:12 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7281.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Feb 2025 18:56:18 GMT</pubDate><ttl>60</ttl></channel></rss>