You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Firmware/OpenLog_Artemis/OpenLog_Artemis.ino
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,7 @@
108
108
(done) Add a fix for issue #109 - check if a BME280 is connected before calling multiplexerBegin: https://github.com/sparkfun/OpenLog_Artemis/issues/109
109
109
(done) Correct issue #104. enableSD was redundant. The microSD power always needs to be on if there is a card inserted, otherwise the card pulls
110
110
the SPI lines low, preventing communication with the IMU: https://github.com/sparkfun/OpenLog_Artemis/issues/104
111
+
(done) Add support for TMP102 temperature sensor (while differentating between it and the ADS1015 (which share the same 4 addresses starting at 0x48)
111
112
112
113
v2.2:
113
114
Use Apollo3 v2.2.1 with changes by paulvha to fix Issue 117 (Thank you Paul!)
@@ -160,10 +161,12 @@
160
161
The charsReceived debug print ("Total chars received: ") now excludes the length of the timestamps
161
162
Consistent use of File32/ExFile/FsFile/File. Don't use SdFile for temporary files
162
163
164
+
v2.9
165
+
Adds support for TMP102 low(er) cost temperature sensor
163
166
*/
164
167
165
168
constint FIRMWARE_VERSION_MAJOR = 2;
166
-
constint FIRMWARE_VERSION_MINOR = 8;
169
+
constint FIRMWARE_VERSION_MINOR = 9;
167
170
168
171
//Define the OLA board identifier:
169
172
// This is an int which is unique to this variant of the OLA and which allows us
@@ -315,6 +318,7 @@ icm_20948_DMP_data_t dmpData; // Global storage for the DMP data - extracted fro
315
318
#include"SparkFun_SGP30_Arduino_Library.h"//Click here to get the library: http://librarymanager/All#SparkFun_SGP30
316
319
#include"SparkFun_VCNL4040_Arduino_Library.h"//Click here to get the library: http://librarymanager/All#SparkFun_VCNL4040
317
320
#include"SparkFun_MS5637_Arduino_Library.h"//Click here to get the library: http://librarymanager/All#SparkFun_MS5637
321
+
#include"SparkFunTMP102.h"//Click here to get the library: http://librarymanager/All#SparkFun_TMP102
318
322
#include"SparkFun_TMP117.h"//Click here to get the library: http://librarymanager/All#SparkFun_TMP117
Copy file name to clipboardExpand all lines: Firmware/OpenLog_Artemis/settings.h
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ typedef enum
34
34
DEVICE_ADS1015,
35
35
DEVICE_PRESSURE_LPS28DFW,
36
36
DEVICE_LIGHT_VEML7700,
37
+
DEVICE_TEMPERATURE_TMP102,
38
+
37
39
38
40
DEVICE_TOTAL_DEVICES, //Marks the end, used to iterate loops
39
41
DEVICE_UNKNOWN_DEVICE,
@@ -170,12 +172,18 @@ struct struct_VL53L1X {
170
172
unsigned long powerOnDelayMillis=minimumQwiicPowerOnDelay; // Wait for at least this many millis before communicating with this device. Increase if required!
171
173
};
172
174
175
+
structstruct_TMP102 {
176
+
boollog= true;
177
+
unsigned long powerOnDelayMillis=minimumQwiicPowerOnDelay; // Wait for at least this many millis before communicating with this device. Increase if required!
178
+
};
179
+
180
+
173
181
#defineTMP117_MODE_CONTINUOUS 0
174
182
#defineTMP117_MODE_SHUTDOWN 1
175
183
#defineTMP117_MODE_ONESHOT 2
176
184
structstruct_TMP117 {
177
185
boollog= true;
178
-
boollogTemperature= true;
186
+
boollogTemperature= true;// JWS : This value is set to true here, and then never changed ever again???
179
187
intconversionMode=TMP117_MODE_CONTINUOUS;
180
188
intconversionAverageMode=0; //Setup for 15.5ms reads
0 commit comments