Commit Graph

250 Commits

Author SHA1 Message Date
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
David Žaitlík
ec5992d368 Merge branch 'sht4x_minimal' of gitlab.com:HDIoT/smart_household/wired_sensors/iaq_wired_sensor into sht4x_minimal 2021-06-13 11:59:58 +02:00
David Žaitlík
178daebf59 Added bit shift for the I2C address. Changed return values to int8_t from int. 2021-06-13 11:39:30 +02:00
dooku
6b8e2f5903 Fixed warning for implicit declaration of LL_mDelay 2021-06-09 18:52:44 +02:00
dooku
9b6c86454b Added CRC8 generating function 2021-06-09 18:33:13 +02:00
dooku
4833a4fb99 Minor modifications to I2C functions 2021-06-09 14:58:30 +02:00
dooku
a3bfe95c57 Enabled SysTick interrupt, fixed LED toggle bug 2021-06-09 12:10:51 +02:00
dooku
7e48b82c9d Moved I2C related functions to i2c.c 2021-06-08 19:40:34 +02:00
dooku
dc7f86f5af WIP SHT4x 2021-06-08 14:56:57 +02:00
dooku
22612f63e4 PWM handler moved to main (temporary) 2021-06-08 12:44:25 +02:00
dooku
9672fd5377 Merge led and master (deleted Debug) 2021-06-08 11:52:13 +02:00
dooku
62dd633874 Added software PWM and deleted Debug folder 2021-06-08 11:43:04 +02:00
David Žaitlík
c0e81d7cad Switched RCC form HAL to LL. 2021-06-08 11:14:04 +02:00
David Žaitlík
e0417166f4 Prepared to merge to master: Remove UART specific code. 2021-06-08 08:19:13 +02:00
David Žaitlík
bf27412d2b Moved the firmware from HAL to LL. 2021-06-07 16:40:28 +02:00
dooku
eedfcba0a5 Moved PWM handler to SysTick and created LED demo 2021-06-06 09:44:32 +02:00
dooku
9d08b7df59 Added soft PWM 2021-06-06 08:19:20 +02:00
dooku
404618cb8e Deleted Debug folder 2021-06-06 08:18:33 +02:00
dooku
ea33db3118 Created firmware project 2021-06-06 06:28:54 +02:00
David Žaitlík
90e9158bc0 Saved iBOM Settings. 2021-04-14 16:25:10 +04:00
David Žaitlík
cfd2aad9b9 Polished Schematic. DRC Passed. GERBERS Generated. iBOM Generated. 2021-04-14 16:23:37 +04:00
mj
f9bb0ce261 Added vias under MAX15062. Resolved DRC issue (via-track distance) 2021-04-14 09:36:23 +02:00
mj
2f793642b5 Schematic cleanup
Removed unnecessary No Connect symbol, removed deprecated TODO text,
changed SMPS inductor value from "???" to "~"
2021-04-14 09:08:07 +02:00
David Žaitlík
8faf505258 Fixed wrong datasheet link at fuse F1. 2021-04-06 13:47:36 +04:00
David Žaitlík
33a1c4184b Changed the connector. Updated footprints (errors in solderpaste layer). 2021-04-06 13:41:42 +04:00
David Žaitlík
387e0030d0 Rounded the traces. Rotated the programming connector. 2021-04-05 15:52:07 +04:00
David Žaitlík
4b8dbcc6fe Added silkcreen name. 2021-04-05 12:05:50 +04:00
David Žaitlík
7533a278d5 Changed the PCB edge (and therefore the layout a bit too). The edge has now bigger milling and there is only one connection between the sensor and mcu/power part. 2021-04-05 11:50:36 +04:00
David Žaitlík
7176572ee1 Found a mistake in the footprint. 2021-03-11 21:06:35 +01:00
David Žaitlík
be8061f80e Generated GERBERS. 2021-02-14 21:57:28 +01:00
David Žaitlík
9ca5cccb98 Moved the button from the sensor chamber. DRC Passed. 2021-02-14 21:15:10 +01:00
David Žaitlík
8e44271200 Semifinal layout. 2021-02-14 14:47:34 +01:00
David Žaitlík
784aee3a07 Initial commit. 2021-02-02 12:04:34 +01:00