Commit Graph

179 Commits

Author SHA1 Message Date
Mario Hüttel e97092042b Add preliminary safety ADC which measures the Controller temperature and checks the reference voltage against the STM's internal reference voltage 2020-05-16 21:00:55 +02:00
Mario Hüttel dc8beefb63 Move PT1000 Measurement from ADC1 to ADC3 in order to make ADC1 free for Safety ADC implementation 2020-05-16 20:59:51 +02:00
Mario Hüttel b9b899b4f6 Edit test calculations in jupyter notebook 2020-05-16 20:58:49 +02:00
Mario Hüttel 2614cea431 Make claibration routine non blocking 2020-05-11 21:59:08 +02:00
Mario Hüttel b9857745b1 Fix parentheses in macros 2020-05-11 21:52:11 +02:00
Mario Hüttel 13bdd6b8eb Cleanup main function 2020-05-11 21:51:32 +02:00
Mario Hüttel 8d6c81441d Add oven PWM controller 2020-05-10 23:13:03 +02:00
Mario Hüttel 4f05c084d9 Make ptdump command async: Main loop will continue if comamnd is called 2020-05-09 20:40:31 +02:00
Mario Hüttel 8f2418eb7c Merge branch 'dev' into ui 2020-05-09 20:01:56 +02:00
Mario Hüttel a25d3bc8c9 make display faster 2020-05-09 19:56:47 +02:00
Mario Hüttel 8a0572d698 Move main loop implementation torwards target 2020-05-05 18:55:55 +02:00
Mario Hüttel 2187c1a712 Write a few doxygen headers 2020-05-05 18:19:49 +02:00
Mario Hüttel 60602008d4 Update 'stm-firmware/ui/lcd.c' 2020-05-05 08:07:24 +02:00
Mario Hüttel 04389b1df6 Use correct format specifier in printf for uint32_t 2020-05-05 00:01:09 +02:00
Mario Hüttel 90da880386 Makefile: Cleanup whole obj/ dir when clean 2020-05-05 00:00:44 +02:00
Mario Hüttel bd82f55966 Show rotary encode value on display 2020-05-04 21:36:53 +02:00
Mario Hüttel 3d48bfb6a6 Fix lenght of LCD from 20 chars to 16 chars 2020-05-04 21:36:37 +02:00
Mario Hüttel ea3d0121cc Add selected functions to optimization for faster interrupt handling 2020-05-04 21:31:02 +02:00
Mario Hüttel e2c2be6e30 Implement state machine controlled async LCD writing 2020-05-04 21:21:49 +02:00
Mario Hüttel df82f14206 Make LCD code working. Add FSM for LCD in order to write it in mainloop 2020-05-02 19:10:20 +02:00
Mario Hüttel e237776810 Fix parenthesis in macros 2020-05-02 19:09:17 +02:00
Mario Hüttel 88062dc8e4 Add systick function that checks for passed ticks with correct wrap around 2020-05-02 19:06:42 +02:00
Mario Hüttel 67899c8f02 Merge branch 'dev' into ui 2020-05-01 19:53:43 +02:00
Mario Hüttel cfaffc7d50 Update shellmatta to newset version 2020-05-01 19:52:46 +02:00
Mario Hüttel fe51c80248 Merge branch 'dev' into ui 2020-04-27 21:53:27 +02:00
Mario Hüttel e7106b54c4 Add cat command 2020-04-27 21:52:52 +02:00
Mario Hüttel 119aa1b0ff Add main loop counter 2020-04-27 21:08:53 +02:00
Mario Hüttel 415979e211 Merge branch 'dev' into ui 2020-04-27 20:20:03 +02:00
Mario Hüttel d91463c458 Make MOTD clear the screen 2020-04-27 20:19:49 +02:00
Mario Hüttel 122a16ad4e Use button module in main loop 2020-04-27 20:18:45 +02:00
Mario Hüttel 3834bd404c Fix button module and adjust long keypress time to a sane value 2020-04-27 20:18:12 +02:00
Mario Hüttel eb3b0eb459 Merge branch 'dev' into ui 2020-04-27 19:28:32 +02:00
Mario Hüttel 9761204b08 Update shellmatta to newest version 2020-04-26 22:25:50 +02:00
Mario Hüttel 4df68880f0 Add correct handling of sd card, add reset command, add ls command 2020-04-26 21:23:25 +02:00
Mario Hüttel 6e07a363f4 Add settings module 2020-04-26 20:22:00 +02:00
Mario Hüttel cf3818040c Add support for subdirectories in create-c-file script 2020-04-26 20:20:57 +02:00
Mario Hüttel 2d3b61550b Fix ADC Watchdog handling 2020-04-26 19:53:06 +02:00
Mario Hüttel 85fe0f6749 Fix LEDs in ptdump command 2020-04-26 19:52:48 +02:00
Mario Hüttel 5ae31a1705 Increase ADC_PT1000_WATCHDOG_SAMPLE_COUNT to 50 2020-04-26 19:20:45 +02:00
Mario Hüttel ffe195d7b2 ADC Measurment: Introduce ADC_PT1000_WATCHDOG_SAMPLE_COUNT in order to filter out false Watchdog errors produces by EMI problems" 2020-04-26 18:09:39 +02:00
Mario Hüttel b9a38549dc Add stack_check_collision() function 2020-04-23 00:09:44 +02:00
Mario Hüttel 8df0a6c774 Fix license header 2020-04-20 21:30:00 +02:00
Mario Hüttel 7fca0fc31d Merge branch 'dev' into ui 2020-04-20 21:17:46 +02:00
Mario Hüttel 8125fc4ffb Add preliminary test for PID controller 2020-04-20 21:17:31 +02:00
Mario Hüttel d0fa0cf39c Fix typo in comment 2020-04-20 21:17:24 +02:00
Mario Hüttel c419ca7bcb Add PID controller and oven driver module 2020-04-20 21:16:39 +02:00
Mario Hüttel 5017bf7003 Merge branch 'dev' into ui 2020-04-20 01:21:08 +02:00
Mario Hüttel 985c29b281 Change shellmatta help alias to a question mark 2020-04-20 01:19:37 +02:00
Mario Hüttel d85381e30e Reroute stderr to uart and color it red 2020-04-20 01:06:25 +02:00
Mario Hüttel 83978e8188 Fix typo 2020-04-20 01:06:01 +02:00