SGP30 eCO2 & TVOC sensor

버전 0.8.2 (9.09 KB) 작성자: Eric Prandovsky
MATLAB + Arduino I2C SGP30 sensor support
다운로드 수: 195
업데이트 날짜: 2024/11/25

라이선스 보기

Support for the SGP30 eCO2 and TVOC sensor
Create an arduino object with I2C.
serialDevices = serialportlist;
a = arduino(serialDevices(end),'Nano3','Libraries',{'I2C'});
Connecting to the SGP30
sgp30obj = sgp30(a);
Read the sensor values
SGPeCO2Data = sgp30.readEquivalentCarbondioxide;
SGPTVOCData = sgp30.readTotalVolatileOrganicCompounds

인용 양식

Eric Prandovsky (2024). SGP30 eCO2 & TVOC sensor (https://www.mathworks.com/matlabcentral/fileexchange/155192-sgp30-eco2-tvoc-sensor), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
R2022b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가
도움

도움 받은 파일: MATLAB Support Package for Arduino Hardware

Community Treasure Hunt

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

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

Implemented an attempts loop to re-attempt a command up to four times if a crcError occurs.

0.8.1

Updated to work with r2024+ where device.read() is no longer visible to the sensor and the SupportedInterfaces property has been added.

0.8