Commit Graph

98 Commits

Author SHA1 Message Date
3da596f2b6 Further unicode disambiguation 2026-02-02 19:31:28 +00:00
4e0b6b34a8 Fix ambiguous unicode character 2026-02-02 19:29:51 +00:00
d45581b5b8 Fix semantics of HYSTERESIS constant and calculate error for dewpoint 2024-10-05 19:24:55 +02:00
334ce3fafb Test naive bang-bang control algorithm for temperature 2024-10-04 12:57:10 +02:00
481bf3aa70 Consolidate unfinished tasks and update documentation 2024-10-02 07:19:22 +02:00
8d94bd87a2 Rename USART module to UART to emphasize asynchronous mode operation 2024-10-02 06:07:24 +02:00
bf739eb031 Update FAN03 duty cycle to 25 KHz and fix formatting 2024-10-01 16:10:09 +02:00
53114250a2 Merge branch 'main' into atmega1284p 2024-10-01 16:01:12 +02:00
5a726f5d48 Clear WDRF flag and set WDCE before enabling watchdog 2024-10-01 15:55:08 +02:00
93590f7b75 Add makefile target for running in simulated environment 2024-10-01 15:10:38 +02:00
f85ff6bf3e Support FAN03 PWM with reduced frequency on m32a until m1284p port is finished 2024-10-01 03:22:16 +02:00
bc14a5653c Burn fuse for external crystal at 16K CK and 65ms 2024-10-01 02:26:24 +02:00
23765aae8a Increase available memory to 4096 bytes 2024-09-30 22:35:37 +02:00
b0f08967c7 Change ARCH and MCU settings to match chip signature 2024-09-30 22:26:01 +02:00
ac7cd8a96b Update module 'pwm' to run on atmega1284p hardware 2024-09-30 22:04:53 +02:00
c3dc289d5f Update module 'usart' to run on atmega1284p hardware 2024-09-30 21:43:40 +02:00
685a73e202 Update module 'watchdog' to run on atmega1284p hardware 2024-09-30 20:58:13 +02:00
68050b6226 Update module 'memory' to run on atmega1284p hardware 2024-09-30 19:46:38 +02:00
e323ef4783 Reduce function calls by replacing WDT_Reset with macro 2024-09-30 17:06:19 +02:00
ae329083db Reduce number of watchdog timer resets and rename Makefile target 2024-09-27 17:45:44 +02:00
aa0cd89d4e Update documentation and do some basic housekeeping 2024-09-25 23:00:37 +02:00
47188c0bc8 Fix parser tail pointer semantics and add further TODO 2024-09-23 18:09:15 +02:00
9aede09a2f Add TODO regarding software updates via serial interface 2024-09-23 15:55:45 +02:00
e6c5a46ff9 Improve sensor log readability and minor naming fixes 2024-09-23 04:16:45 +02:00
622bf047f8 Reduce RXBUF size to match parser and space out log messages 2024-09-23 02:14:39 +02:00
9458db03f7 Prevent redundant writes and start implementing parser timeout 2024-09-22 23:33:14 +02:00
a4ed6be3de Fix large serial command input triggering watchdog 2024-09-22 20:20:58 +02:00
bbbac58989 Merge pull request #5 from madcow/parser
Implement serial command parser with floating point support
2024-09-22 06:43:51 +02:00
0103834441 Implement serial command parser with floating point support 2024-09-22 05:43:26 +02:00
746f81667e Merge pull request #4 from madcow/eeprom-sentinel-v2
Use reference sentinel to efficiently reset dirty flags on rollover
2024-09-22 00:17:05 +02:00
cb8c738ca8 Use reference sentinel to efficiently reset dirty flags on rollover 2024-09-22 00:10:21 +02:00
7ca158a8dd Pass variable structure as argument for memory functions 2024-09-21 03:50:50 +02:00
a423144599 Fix possible race condition and ensure proper reset flag detection 2024-09-21 00:10:23 +02:00
208aadf3a3 Check MCUCSR for WDRF flag only and add TODO 2024-09-20 23:44:42 +02:00
10298a99c1 Implement memory wear leveling algorithm 2024-09-20 23:33:07 +02:00
e2b5c5fd42 Define memory manager constants and add TODO 2024-09-20 18:36:53 +02:00
190ecea855 Dump EEPROM to ensure low level memory access is working correctly 2024-09-20 18:08:07 +02:00
29b0ace897 Implement raw EEPROM read and write functionality 2024-09-20 17:08:09 +02:00
2cb677445d Define basic EEPROM data structures and functions 2024-09-20 15:43:54 +02:00
db876151d6 Implement alternate voltage divider equation 2024-09-20 02:21:20 +02:00
682650dedb Calculate average dewpoint from multiple sensor measurements 2024-09-19 21:50:55 +02:00
053ee1674d Test different approach for resistance calculation 2024-09-19 21:34:24 +02:00
a548518b9c Ensure math functions are named consistently 2024-09-19 20:29:18 +02:00
560715fd0b Make sure dewpoint calculations are correct 2024-09-19 20:21:18 +02:00
1f01f92291 Split thermistor functions into separate logical units and add TODO 2024-09-19 20:12:39 +02:00
b3fda53036 Implement all required conversion functions 2024-09-19 17:28:41 +02:00
d18b6072ba Define conversion functions for TD, T and RH 2024-09-19 15:17:06 +02:00
851e456ea5 Define basic structure for primary state machine and update TODOs 2024-09-16 00:49:36 +02:00
a9f201b061 Poll ADC mode bit until conversion has finished 2024-09-15 23:29:23 +02:00
ce1444b0f4 Set FAN03 to maximum duty and declutter log output 2024-09-15 21:35:43 +02:00