Commit graph

11 commits

Author SHA1 Message Date
Thomas Kolb 99a5f2bda2 temp_sensor: internal temperature sensor is not available on STM32F010 :( 2023-10-01 20:32:52 +02:00
Thomas Kolb 860ea0e768 fan_ctrl_pwm: properly set pin mode to alternate function 2023-10-01 20:32:07 +02:00
Thomas Kolb fd1b4990e2 Move all configuration variables to the EEPROM 2023-09-30 21:08:54 +02:00
Thomas Kolb 2819ee99d6 Improvements to main loop + build fixes
- add -lm linker flag
- add fan power management
2023-09-29 22:09:12 +02:00
Thomas Kolb d526341b75 temp_sensor: temporarily add functions missing in the STM32L0 library
These functions are available in the libopencm3, but only for the
STM32F0. However, they should work with very little changes also for the
STM32L0, but have not been ported yet. Therefore I'm quickly testing
them here.
2023-09-29 22:07:05 +02:00
Thomas Kolb 938162bf5a Added jupyter notebook for NTC calculation
This is the reference for the calc_temperature_ntc function.
2023-09-29 20:52:21 +02:00
Thomas Kolb bcbb63ee74 Added test program for the NTC calculation 2023-09-29 20:51:20 +02:00
Thomas Kolb 12b5c8f7f4 Fixed the NTC temperature calculation 2023-09-29 20:50:16 +02:00
Thomas Kolb f5756a4f64 Implement control loop 2023-09-29 19:55:51 +02:00
Thomas Kolb 82d370bf83 Started implementing the hardware access modules
Nothing tested yet…
2023-09-23 17:34:32 +02:00
Thomas Kolb 5aaef38965 Initial commit: basic infrastructure 2023-09-20 22:19:11 +02:00