David Žaitlík
|
5f8cb1635e
|
Changed the EEPROM end address to fit the new MCU (it is twice as big).
|
2021-11-17 20:58:18 +01:00 |
|
Your Name
|
852de86755
|
Used rgbled_set_color() for CO2 value indication
|
2021-11-13 21:49:02 +01:00 |
|
Your Name
|
235ca259f1
|
Fixed UART interrupt disable/enable during sensor readout
|
2021-11-13 21:47:57 +01:00 |
|
Your Name
|
62cfa66b80
|
Removed debug infinite loop
|
2021-11-13 21:23:10 +01:00 |
|
Your Name
|
32746c111f
|
RGB LED: improved set_color
|
2021-11-13 21:21:58 +01:00 |
|
Your Name
|
464dbc78e4
|
LED PWM WIP
|
2021-11-11 19:59:53 +01:00 |
|
Your Name
|
4536d4003f
|
Basic RGB LED implementation + minor changes
|
2021-11-11 19:21:15 +01:00 |
|
David Žaitlík
|
bb3b6ada06
|
Moved the old firmware for STM32L011 to fw_old and migrated the firmware to STM32L031 in fw. I2C and TIM21 seem functional. USART2 is receiving correctly, but the modbus test is not receiving messages.
|
2021-10-21 22:45:22 +02:00 |
|
Duke NUCem
|
a290f52d4d
|
Disable UART IRQs during sensor readout
|
2021-10-20 18:14:13 +02:00 |
|
Duke NUCem
|
78c8104a58
|
Added sanity check to CO2 (must be more that 0 :D)
|
2021-10-11 20:06:27 +02:00 |
|
Duke NUCem
|
a87afdf6fa
|
EEPROM config functional
|
2021-10-11 19:09:06 +02:00 |
|
Duke NUCem
|
d26079f722
|
Baudrate change done
|
2021-10-11 19:01:47 +02:00 |
|
Duke NUCem
|
33e70f5baf
|
MODBUS write multiple registers done
|
2021-10-11 18:12:43 +02:00 |
|
Duke NUCem
|
0bfc93d3ea
|
WIP write multiple registers
|
2021-10-11 17:05:54 +02:00 |
|
Duke NUCem
|
692cad0bc8
|
Deleted redundant switch case (MODBUS write single and multiple register)
|
2021-10-10 12:30:39 +02:00 |
|
Duke NUCem
|
e2f8ab3405
|
WIP modbus write
|
2021-10-10 12:12:39 +02:00 |
|
Duke NUCem
|
051509155e
|
WIP modbus write
|
2021-10-10 11:35:14 +02:00 |
|
dooku
|
917886820d
|
WIP holding register write
|
2021-10-06 20:20:51 +02:00 |
|
dooku
|
15bc1943ef
|
Fixed EEPROM baudrate readout
|
2021-10-06 19:27:54 +02:00 |
|
dooku
|
b09de011c1
|
Moved baudrates to config
|
2021-10-06 18:26:33 +02:00 |
|
David Žaitlík
|
36e2597539
|
Added variable baudrates functionality. NOT TESTED.
|
2021-10-02 18:02:09 +02:00 |
|
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
|
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 Ž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
|
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
|
fcdbb63ca4
|
Moved Modbus message processing to UART ISR
|
2021-09-09 18:36:40 +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
|
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 |
|
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 |
|