Air Quality Measurements and Visualizations

Calculate Air-quality index (AQI) from raw sensor data and display a color coded view of the current air quality
다운로드 수: 767
업데이트 날짜: 2019/7/3

라이선스 보기

The script "particulateConcentration" acquires data from a public
ThingSpeak channel located at the MathWorks Headquarters in Natick, MA, and uses it to calculate an Air Quality Index (AQI). ThingSpeak (https://thingspeak.com ) is a cloud platform for collecting and analyzing IoT data with MATLAB.

The channel ID and read API key are already part of the code. Please note that in order to display this data on your own channel, add the channel ID and write API key. Enter the channel ID as a number and the channel key as a character array. Visit the link below for more information about the function:

https://www.mathworks.com/help/thingspeak/thingspeakwrite.html

The script "airHealth" uses the Air Quality Index (AQI) calculated in "particulateConcentration" to display the appropriate text associated with the index.
Please note that in order to display the appropriate text, enter the channel ID and read API key of the channel used in "particulateConcentration". Visit the link below for more information about the function:

https://www.mathworks.com/help/thingspeak/thingspeakread.html

This code can run in desktop MATLAB or in the MATLAB Visualizations app inside ThingSpeak:
https://www.mathworks.com/help/thingspeak/matlab-visualizations-app.html

인용 양식

MathWorks Internet of Things Team (2024). Air Quality Measurements and Visualizations (https://www.mathworks.com/matlabcentral/fileexchange/71908-air-quality-measurements-and-visualizations), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 ThingSpeak에 대해 자세히 알아보기
태그 태그 추가
커뮤니티
 ThingSpeak 커뮤니티에 더 많은 파일이 있습니다

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0