Skip to content

Commit

Permalink
Merge pull request #2 from Sensirion/sen66_1.3.0_20241127_0757
Browse files Browse the repository at this point in the history
Generate SEN66 driver from SEN66 model version 1.3.0
  • Loading branch information
LeonieFierz authored Nov 27, 2024
2 parents 76d67c4 + e8c69e7 commit a81b592
Show file tree
Hide file tree
Showing 10 changed files with 570 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arduino_quality_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: sensirion/.github/.github/workflows/driver.arduino.check.yml@main
with:
expect-arduino-examples: true
lint-lib-manager-check: update
lint-lib-manager-check: submit

todo-check:
if: github.event_name == 'push' && github.ref != 'refs/head/main'
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2024-11-25

### Added

- Add all public interfaces
### Changed

- Return type of CO2 value in read_measured_values changed from float to uint16
## [0.1.0] - 2024-10-31

### Added
Expand All @@ -13,5 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add interfaces to start, stop and read measurements.
- Add interfaces to read product name, serial number and version

[Unreleased]: https://github.com/Sensirion/arduino-i2c-sen66/compare/0.1.0...HEAD
[Unreleased]: https://github.com/Sensirion/arduino-i2c-sen66/compare/1.0.0...HEAD
[1.0.0]: https://github.com/Sensirion/arduino-i2c-sen66/compare/0.1.0...1.0.0
[0.1.0]: https://github.com/Sensirion/arduino-i2c-sen66/releases/tag/0.1.0
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ communicate with a SEN66 sensor over I²C.
Click [here](https://sensirion.com/sen6x-air-quality-sensor-platform) to learn more about the Sensirion SEN66 sensor.


unknown


The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN6x) is **0x6B**.
The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN66) is **0x6B**.



Expand Down
4 changes: 2 additions & 2 deletions examples/exampleUsage/exampleUsage.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Generator: sensirion-driver-generator 1.0.1
* Product: sen66
* Model-Version: 1.2.0
* Model-Version: 1.3.0
*/
/*
* Copyright (c) 2024, Sensirion AG
Expand Down Expand Up @@ -106,7 +106,7 @@ void loop() {
float temperature = 0.0;
float vocIndex = 0.0;
float noxIndex = 0.0;
float co2 = 0.0;
uint16_t co2 = 0;
delay(1000);
error = sensor.readMeasuredValues(
massConcentrationPm1p0, massConcentrationPm2p5, massConcentrationPm4p0,
Expand Down
Binary file modified images/sen6x-pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 23 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,36 @@ SensirionI2cSen66 KEYWORD1
#######################################

readMeasuredValues KEYWORD2
deviceReset KEYWORD2
readNumberConcentrationValues KEYWORD2
startContinuousMeasurement KEYWORD2
stopMeasurement KEYWORD2
getDataReady KEYWORD2
readMeasuredValuesAsIntegers KEYWORD2
readNumberConcentrationValuesAsIntegers KEYWORD2
readMeasuredRawValues KEYWORD2
startFanCleaning KEYWORD2
setTemperatureOffsetParameters KEYWORD2
setVocAlgorithmTuningParameters KEYWORD2
getVocAlgorithmTuningParameters KEYWORD2
setNoxAlgorithmTuningParameters KEYWORD2
getNoxAlgorithmTuningParameters KEYWORD2
setTemperatureAccelerationParameters KEYWORD2
setVocAlgorithmState KEYWORD2
getVocAlgorithmState KEYWORD2
performForcedCo2Recalibration KEYWORD2
setCo2SensorAutomaticSelfCalibration KEYWORD2
getCo2SensorAutomaticSelfCalibration KEYWORD2
setAmbientPressure KEYWORD2
getAmbientPressure KEYWORD2
setSensorAltitude KEYWORD2
getSensorAltitude KEYWORD2
activateShtHeater KEYWORD2
getProductName KEYWORD2
getSerialNumber KEYWORD2
getVersion KEYWORD2
readDeviceStatus KEYWORD2
readAndClearDeviceStatus KEYWORD2
deviceReset KEYWORD2
signalMassConcentrationPm0p5 KEYWORD2
signalMassConcentrationPm1p0 KEYWORD2
signalMassConcentrationPm2p5 KEYWORD2
signalMassConcentrationPm4p0 KEYWORD2
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Sensirion I2C SEN66
version=0.1.0
version=1.0.0
author=Sensirion
maintainer=Sensirion
sentence=Library for the SEN66 sensor by Sensirion
Expand Down
4 changes: 2 additions & 2 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# driver generation metadata
generator_version: 1.0.1
model_version: 1.2.0
model_version: 1.3.0
dg_status: released
is_manually_modified: false
first_generated: '2024-10-30 08:14'
last_generated: '2024-10-30 08:14'
last_generated: '2024-11-27 07:57'
Loading

0 comments on commit a81b592

Please sign in to comment.