Commit Graph

129 Commits

Author SHA1 Message Date
Jan Mrna
7acf7ab819 Added MODBUS registers for sensor return (error) value 2022-08-15 21:08:09 +02:00
Jan Mrna
fcd3b61833 Updated submodules 2022-07-02 08:06:20 +02:00
Jan Mrna
20b03acc96 Added serial number to modbus_slave_callback 2022-06-19 23:32:01 +02:00
Jan Mrna
173aeec2fc Added device class code and default value for serial 1 2022-06-19 22:54:13 +02:00
Jan Mrna
f4ee8ace45 Updated libs 2022-06-18 11:07:06 +02:00
David Žaitlík
f7f38a3434 Updated config to hold serial number. NOT BACKWARDS COMPATIBLE. 2022-06-18 10:14:02 +02:00
David Žaitlík
0f1215b350 Changed the register order in the firmware. 2022-06-18 10:06:21 +02:00
Jan Mrna
a4ba1c2343 reflected changes from master 2022-06-17 10:33:38 +02:00
Jan Mrna
067fc594e4 updated submodules 2022-06-17 10:32:04 +02:00
Jan Mrna
c9e7b3c85d Fixed no-return warnings 2022-06-17 10:27:23 +02:00
Jan Mrna
861046957f Added sps30 submodule 2022-06-17 09:41:02 +02:00
Jan Mrna
612ab1d3dc Added rgbled, for now still coupled with LL 2022-06-17 09:36:42 +02:00
Jan Mrna
286247f5a0 Added rgbled submodule 2022-06-17 09:25:23 +02:00
Jan Mrna
f790d3ddde Deleted old modbus files 2022-06-17 09:22:32 +02:00
Jan Mrna
256303335a Added modbus submodule 2022-06-17 09:17:42 +02:00
Jan Mrna
e564b416f9 Added scd4x library 2022-06-17 09:13:15 +02:00
Jan Mrna
390f7d1c92 WIP modbus write config register crash 2022-06-14 23:24:28 +02:00
Jan Mrna
567525cdf8 Added sgp40 lib 2022-06-14 22:48:59 +02:00
Jan Mrna
8c1421dd84 Added sgp40 submodule 2022-06-14 21:47:28 +02:00
Jan Mrna
9631a4816d Added crc8 lib 2022-06-14 21:44:14 +02:00
Jan Mrna
7960189a32 Added crc8 submodule 2022-06-14 21:18:41 +02:00
Jan Mrna
bb9075f7ba Added sht4x library 2022-06-14 21:15:22 +02:00
Jan Mrna
990e1ae908 Added device identification register 2022-06-10 16:11:00 +02:00
Jan Mrna
2a31f51494 Changed voc_index to uint32_t to fix Sensirion lib crash 2022-06-10 08:52:28 +02:00
David Žaitlík
de85f9771a Fixed the errors with UART unlocking in i2c functions. 2022-05-23 21:37:51 +02:00
mj
d386d05fb7 Re-order MODBUS registers; add Fahrenheit 2022-03-27 14:51:52 +02:00
mj
3734ade16f Fixed voc ticks pointer bug 2022-03-27 12:47:58 +02:00
David Žaitlík
f2ebe11354 Prolonged the waiting time for sensors initialisation 2022-02-20 16:07:53 +01:00
David Žaitlík
2a491090e6 Added SGP40 readout. 2022-02-13 15:52:50 +01:00
mj
c9d28bd48f Fixed MODBUS slave callback when SPS30 is not connected 2022-01-09 18:46:20 +01:00
David Žaitlík
7e1e71a912 Fixed modbus default address. 2022-01-09 18:02:22 +01:00
David Žaitlík
df1a279943 Fixed some mistakes made by copyying code. 2022-01-09 17:52:55 +01:00
mj
5b8c7d6e17 Merge branch 'sps30' 2022-01-09 17:48:25 +01:00
mj
29f702add2 SPS30 readout 2022-01-09 17:47:01 +01:00
David Žaitlík
f94dc549e7 Created library for SGP4x. 2022-01-09 16:01:48 +01:00
mj
e10e7f5c31 WIP SPS30 2022-01-09 13:47:13 +01:00
mj
6ecc10c7e0 WIP SPS30 2022-01-09 13:17:29 +01:00
mj
047f1f0025 Clear I2C data register on transmit failure 2022-01-02 18:19:03 +01:00
mj
ef18028fe7 WIP SHT CRC 2022-01-02 17:24:08 +01:00
mj
e6e97a2547 SCD4x CRC check 2022-01-02 16:16:47 +01:00
mj
98e6a7f93d Fixed I2C error checking and added sensor detection 2022-01-02 15:48:44 +01:00
mj
ac68334919 Changed sensor output variable types (fixed warnings) 2022-01-02 14:39:13 +01:00
mj
b21cefe412 Added watchdog 2022-01-02 14:32:44 +01:00
mj
5feb12310c Added software reset 2022-01-02 13:15:00 +01:00
mj
6bede12d21 Fixed wrong buffer processing 2021-12-22 18:19:53 +01:00
mj
e36c06aae8 Fixed non-deterministic buffer pos increments 2021-12-22 17:18:43 +01:00
mj
0ed535bb76 Modbus read device id 2021-12-22 17:12:14 +01:00
mj
6dbbccec33 Modbus refactor 2021-12-05 16:36:41 +01:00
mj
e062ab640b Added sanity check for MODBUS holding registers
Also changed default led smoothing to 1
2021-11-24 14:02:56 +01:00
mj
3912a22467 Changed LED smooth transition to two intervals 2021-11-18 22:29:25 +01:00