Skip to content

Commit 0b20d73

Browse files
committed
Final tweaks for v1.9
1 parent 46873aa commit 0b20d73

File tree

6 files changed

+26
-17
lines changed

6 files changed

+26
-17
lines changed
196 KB
Binary file not shown.
195 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@ Change Log
44
v1.9
55
---------
66

7-
* Added support for the SGP40 air quality sensor
8-
* Added support for the SDP3X differential pressure sensor
7+
* Allows the TX and RX pins to be used for the serial terminal / console
8+
* This is very cool as it means you can now connect the OLA to your choice of (e.g.) Bluetooth or radio modem and access your data over that instead of USB
9+
* File transfer using ZMODEM is possible on both USB and TX/RX
10+
* Added support for the SGP40 air quality sensor - which provides a robust VOC Index for indoor air quality
11+
* Added support for the SDP3X differential pressure sensor - opening up possibilities for air flow and air speed measurement
912
* Added support for the MS5837 depth / pressure sensor - as used in the BlueRobotics Bar02
13+
* Corrects an issue which was corrupting data when using multiple MS8607s [62]https://github.com/sparkfun/OpenLog_Artemis/issues/62
14+
* Adds serial logging timestamps with a configurable timestamp token [63](https://github.com/sparkfun/OpenLog_Artemis/issues/63) - thank you @DennisMelamed
15+
* Adds a _slow logging_ feature to extend battery life
16+
* Pin11 can be used to enter slow logging mode [60](https://github.com/sparkfun/OpenLog_Artemis/issues/60) - thank you @ryanneve
17+
* Slow logging can be entered once per day, with configurable start and end time [46](https://github.com/sparkfun/OpenLog_Artemis/issues/46)
18+
* Adds improved support for the SCD30 [67](https://github.com/sparkfun/OpenLog_Artemis/issues/67) - thank you @paulvha
19+
* Corrects a bug in logMicroseconds [57](https://github.com/sparkfun/OpenLog_Artemis/issues/57)
1020

1121
v1.8
1222
---------

Firmware/OpenLog_Artemis/OpenLog_Artemis.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080
(done) Corrected an issue when using multiple MS8607's: https://github.com/sparkfun/OpenLog_Artemis/issues/62
8181
(done) Add a feature to use the TX and RX pins as a duplicate Terminal
8282
(done) Add serial log timestamps with a token (as suggested by @DennisMelamed in PR https://github.com/sparkfun/OpenLog_Artemis/pull/70 and Issue https://github.com/sparkfun/OpenLog_Artemis/issues/63)
83-
(done?) Add "sleep on pin" functionality based @ryanneve's PR https://github.com/sparkfun/OpenLog_Artemis/pull/64 and Issue https://github.com/sparkfun/OpenLog_Artemis/issues/46
84-
(done?) Add "wake at specified times" functionality based on Issue https://github.com/sparkfun/OpenLog_Artemis/issues/46
85-
(done?) Add corrections for the SCD30 based on Forum post by paulvha: https://forum.sparkfun.com/viewtopic.php?p=222455#p222455
86-
(done) Add support for the SGP40
87-
(done) Add support for the SDP31
83+
(done) Add "sleep on pin" functionality based @ryanneve's PR https://github.com/sparkfun/OpenLog_Artemis/pull/64 and Issue https://github.com/sparkfun/OpenLog_Artemis/issues/46
84+
(done) Add "wake at specified times" functionality based on Issue https://github.com/sparkfun/OpenLog_Artemis/issues/46
85+
(done) Add corrections for the SCD30 based on Forum post by paulvha: https://forum.sparkfun.com/viewtopic.php?p=222455#p222455
86+
(done) Add support for the SGP40 VOC Index sensor
87+
(done) Add support for the SDP3X Differential Pressure sensor
8888
(done) Add support for the MS5837 - as used in the BlueRobotics BAR02 and BAR30 water pressure sensors
8989
*/
9090

Firmware/OpenLog_Artemis/autoDetect.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,8 @@ void configureDevice(node * temp)
775775
MS5837 *sensor = (MS5837 *)temp->classPtr;
776776
struct_MS5837 *sensorSetting = (struct_MS5837 *)temp->configPtr;
777777

778-
sensor->setModel(sensorSetting->model);
778+
//sensor->setModel(sensorSetting->model);
779+
sensorSetting->model = sensor->getModel();
779780
sensor->setFluidDensity(sensorSetting->fluidDensity);
780781
}
781782
break;

Firmware/OpenLog_Artemis/menuAttachedDevices.ino

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,6 +2316,10 @@ void menuConfigure_MS5837(void *configPtr)
23162316
SerialPrintln(F(""));
23172317
SerialPrintln(F("Menu: Configure MS5837 Pressure Sensor"));
23182318

2319+
SerialPrint(F("Sensor Model: "));
2320+
if (sensorSetting->model == true) SerialPrintln(F("MS5837-02BA / BlueRobotics Bar02: 2 Bar Absolute / 10m Depth"));
2321+
else SerialPrintln(F("MS5837-30BA / BlueRobotics Bar30: 30 Bar Absolute / 300m Depth"));
2322+
23192323
SerialPrint(F("1) Sensor Logging: "));
23202324
if (sensorSetting->log == true) SerialPrintln(F("Enabled"));
23212325
else SerialPrintln(F("Disabled"));
@@ -2338,13 +2342,9 @@ void menuConfigure_MS5837(void *configPtr)
23382342
if (sensorSetting->logAltitude == true) SerialPrintln(F("Enabled"));
23392343
else SerialPrintln(F("Disabled"));
23402344

2341-
SerialPrint(F("6) Sensor Model: "));
2342-
if (sensorSetting->model == true) SerialPrintln(F("MS5837-02BA / BlueRobotics Bar02: 2 Bar Absolute / 10m Depth"));
2343-
else SerialPrintln(F("MS5837-30BA / BlueRobotics Bar30: 30 Bar Absolute / 300m Depth"));
2344-
2345-
SerialPrintf2("7) Fluid Density (kg/m^3): %f\r\n", sensorSetting->fluidDensity);
2345+
SerialPrintf2("6) Fluid Density (kg/m^3): %f\r\n", sensorSetting->fluidDensity);
23462346

2347-
SerialPrintf2("8) Pressure Conversion Factor: %.02f\r\n", sensorSetting->conversion);
2347+
SerialPrintf2("7) Pressure Conversion Factor: %.02f\r\n", sensorSetting->conversion);
23482348
}
23492349
SerialPrintln(F("x) Exit"));
23502350

@@ -2363,14 +2363,12 @@ void menuConfigure_MS5837(void *configPtr)
23632363
else if (incoming == 5)
23642364
sensorSetting->logAltitude ^= 1;
23652365
else if (incoming == 6)
2366-
sensorSetting->model ^= 1;
2367-
else if (incoming == 7)
23682366
{
23692367
SerialPrint(F("Enter the Fluid Density (kg/m^3): "));
23702368
double FD = getDouble(menuTimeout); //x second timeout
23712369
sensorSetting->fluidDensity = (float)FD;
23722370
}
2373-
else if (incoming == 8)
2371+
else if (incoming == 7)
23742372
{
23752373
SerialPrint(F("Enter the Pressure Conversion Factor: "));
23762374
double PCF = getDouble(menuTimeout); //x second timeout

0 commit comments

Comments
 (0)