Commit Graph

82 Commits

Author SHA1 Message Date
David Žaitlík
daaab07912 Added LED brightnes placeholder. Set the default value when the timer settings will be known. 2021-10-02 12:33:57 +02:00
David Žaitlík
400a83ef64 Added LED SMOOTH and SCD4x TEMPERATURE OFFSET to the config. 2021-10-02 12:12:49 +02:00
Duke NUCem
25df18ed66 Decreased SHT read time to 10 ms; changed baud to 19200 2021-09-30 18:38:59 +02:00
Duke NUCem
b8718935f7 Changed modbus address in minimalmodbus_test.py 2021-09-30 17:52:27 +02:00
Duke NUCem
cfc32b28c2 Merge branch 'master' of gitlab.com:HDIoT/smart_household/wired_sensors/iaq_wired_sensor 2021-09-30 17:48:26 +02:00
Duke NUCem
bed177785c Moved MODBUS callback back to main 2021-09-30 17:46:39 +02:00
David Žaitlík
5244fe768f Added CO2 Level LED indication. 2021-09-30 17:43:29 +02:00
David Zaitlik
80a50d57cf Add README.md 2021-09-30 15:02:15 +00:00
David Žaitlík
9c6f88964f Renamed some definitions of the EEPROM addresses. Implemented Holding registers write and read 2021-09-30 16:49:08 +02:00
Duke NUCem
e7f7077b8a Merge branch 'flash' 2021-09-30 14:56:29 +02:00
David Žaitlík
a088da163b Implemented writing and reading condiguration registers from EEPROM. 2021-09-28 16:13:43 +02:00
David Žaitlík
b5599bb35d Minor changes. 2021-09-28 16:12:59 +02:00
David Žaitlík
020bc31908 Changed the MCU to STM32L031G6U7. Switched UART to UART2. Flipped the connector for dust sensor. Removed the I2C level conversion. 2021-09-23 22:17:11 +02:00
David Žaitlík
7e256ff282 Changed the data structure of the struct. Implemented writing and reading config. Defined addresses for the data. NOT TESTED. 2021-09-10 21:51:29 +02:00
David Žaitlík
17286806fb Basic code for writing to EEPROM. 2021-09-09 19:19:20 +02:00
Duke NUCem
ad41fb28dc Improved test script print out 2021-09-09 18:46:59 +02:00
Duke NUCem
fcdbb63ca4 Moved Modbus message processing to UART ISR 2021-09-09 18:36:40 +02:00
Duke NUCem
7220a36fa7 Added signed T values 2021-09-09 18:24:24 +02:00
Duke NUCem
44e27ac890 Added SCD4x T,RH readout 2021-09-09 18:17:55 +02:00
Duke NUCem
0837de9703 Added T, RH readout 2021-09-09 18:11:11 +02:00
Duke NUCem
7b0ad1fd65 added stdint to config.h so it would build. 2021-09-05 17:17:27 +02:00
Duke NUCem
38f92547cf Changed types in sensros functions. Creaded files fro sensor config. (DH). 2021-09-05 16:12:12 +02:00
Duke NUCem
50d7893963 created test script for modbus. (DH) 2021-09-05 16:10:57 +02:00
Duke NUCem
fcb6ce88a6 Put the modbus and rs485 codes together. Briefly tested. 2021-09-05 14:43:32 +02:00
dooku
b5b031e593 Fixed return in modbus callback 2021-09-05 12:12:00 +02:00
dooku
23b144eeb2 Fixed typo 2021-09-05 11:54:38 +02:00
dooku
ccc9922d0a Implemented input register memory map (not used yet) 2021-08-17 12:02:29 +02:00
dooku
3b60430824 Measure data union modification 2021-08-16 23:28:39 +02:00
dooku
8d2f2a6486 Added CO2 MODBUS readout 2021-08-16 23:21:33 +02:00
dooku
6830fabbd3 Added basic modbus implementation 2021-08-16 23:04:45 +02:00
dooku
5f1a9295e2 Merge branch 'master' of gitlab.com:HDIoT/smart_household/wired_sensors/iaq_wired_sensor 2021-08-01 17:12:39 +02:00
dooku
7e82d68ae6 Re-modeled enclosure as a single object (including parameters) 2021-08-01 17:11:16 +02:00
David Žaitlík
23f1f27c0e Implemented UART communication (initial version). Needs more testing and make the buffer smaller to save space. RX and TX have been swapped in the system for debug (bad solder joint). 2021-07-19 17:30:47 +02:00
David Žaitlík
35e0e1fadc Created timer for measurement and base for UART. Polished main a bit. 2021-07-19 11:55:05 +02:00
David Žaitlík
3abd90f197 Merge branch 'master' of gitlab.com:HDIoT/smart_household/wired_sensors/iaq_wired_sensor 2021-07-18 18:55:06 +02:00
David Žaitlík
a1d3b42d53 Prepared a library fro the sps30 dust sensor. The readout reads some values but the sensor we have is likely damaged. 2021-07-18 18:52:42 +02:00
dooku
d2f53073ec Changed temperature calculation 2021-07-18 13:58:35 +02:00
dooku
2b04e6f53c Added prefix (SHT4X, SCD4X) to enums 2021-07-18 13:48:29 +02:00
David Žaitlík
00811846d5 Multiplied the temperature by 10 to get better accuracy. NACK is making problems again after I2C transmit. 2021-07-18 11:42:48 +02:00
dooku
42144d74f2 Untracked language settings file 2021-07-18 11:19:00 +02:00
dooku
92cbce9d4f Fixed compilation warnings 2021-07-18 11:17:36 +02:00
dooku
0f18db8c36 Modified gitignore 2021-07-18 11:07:46 +02:00
dooku
f24dd4a4d8 Fixed missing SHT4x files 2021-07-18 11:04:08 +02:00
dooku
cc3d7e94f2 Added git ignore file 2021-07-18 10:57:14 +02:00
dooku
1f3c77ae08 Merged scd4x_minimal 2021-07-18 10:53:19 +02:00
dooku
6e0860ee7a Merge sht4x_minimal 2021-07-18 10:35:07 +02:00
David Žaitlík
e8ee043486 deleted the led driver (it wad using HAL). 2021-07-15 15:58:26 +02:00
David Žaitlík
665b839d27 SCD40 is communicationg but the check for NACK mush have been disabled. Why? 2021-07-11 12:32:29 +02:00
David Žaitlík
005c651eff Initial commit. 2021-07-11 11:51:00 +02:00
David Žaitlík
ac59d5c5df Added bitshift to the I2C address. Changed return types from int to int8_t. 2021-06-13 12:02:13 +02:00