Commit Graph

  • 5248fa2562 Set license to undetermined for now main madcow 2026-02-02 20:04:01 +00:00
  • 65cda87e7d Banish all the ambiguity that has arisen from unicode characters in datasheets madcow 2026-02-02 19:37:55 +00:00
  • 3da596f2b6 Further unicode disambiguation madcow 2026-02-02 19:31:28 +00:00
  • 4e0b6b34a8 Fix ambiguous unicode character madcow 2026-02-02 19:29:51 +00:00
  • 43efdfc2f4 Remove directory opt Leon Krieg 2026-02-02 06:45:18 +01:00
  • 3320788caf Update tools submodule for generating temperature graphs Leon Krieg 2024-10-06 19:56:22 +02:00
  • d45581b5b8 Fix semantics of HYSTERESIS constant and calculate error for dewpoint Leon Krieg 2024-10-05 17:59:57 +02:00
  • 334ce3fafb Test naive bang-bang control algorithm for temperature Leon Krieg 2024-10-04 08:52:27 +02:00
  • ce6bc8a8a9 Add papers describing PID controller implementation for self-regulating systems Leon Krieg 2024-10-04 05:30:10 +02:00
  • eea8c015c0 Use external 18.432 MHz crystal oscillator with full swing fuse settings Leon Krieg 2024-10-02 19:38:51 +02:00
  • 481bf3aa70 Consolidate unfinished tasks and update documentation Leon Krieg 2024-10-02 06:12:19 +02:00
  • 8d94bd87a2 Rename USART module to UART to emphasize asynchronous mode operation Leon Krieg 2024-10-01 22:15:19 +02:00
  • 7133f54617 Move fuse variables to general settings and minor naming fixes Leon Krieg 2024-10-01 22:02:04 +02:00
  • f1262d099b Add pinout reference table and license heading Leon Krieg 2024-10-01 19:03:08 +02:00
  • 295c5b1ccf Rename hardware simulation target and reference in README Leon Krieg 2024-10-01 17:25:30 +02:00
  • a03d0705f5 Burn EESAVE fuse to preserve EEPROM through chip erase Leon Krieg 2024-10-01 16:24:11 +02:00
  • 0ae62138e3 Update CHANGELOG for v0.75-alpha2 Leon Krieg 2024-10-01 16:11:55 +02:00
  • bf739eb031 Update FAN03 duty cycle to 25 KHz and fix formatting Leon Krieg 2024-10-01 16:10:09 +02:00
  • 51e4907d86 Merge pull request #6 from madcow/atmega1284p Madcow 2024-10-01 16:01:33 +02:00
  • 53114250a2 Merge branch 'main' into atmega1284p Madcow 2024-10-01 16:01:12 +02:00
  • 5a726f5d48 Clear WDRF flag and set WDCE before enabling watchdog Leon Krieg 2024-10-01 15:47:31 +02:00
  • 93590f7b75 Add makefile target for running in simulated environment Leon Krieg 2024-10-01 15:05:50 +02:00
  • 598540c9d9 Skip bootloader and use internal oscillator without CKDIV8 Leon Krieg 2024-10-01 05:31:54 +02:00
  • f85ff6bf3e Support FAN03 PWM with reduced frequency on m32a until m1284p port is finished Leon Krieg 2024-10-01 03:12:17 +02:00
  • bc14a5653c Burn fuse for external crystal at 16K CK and 65ms Leon Krieg 2024-10-01 00:16:20 +02:00
  • 23765aae8a Increase available memory to 4096 bytes Leon Krieg 2024-09-30 22:35:37 +02:00
  • b0f08967c7 Change ARCH and MCU settings to match chip signature Leon Krieg 2024-09-30 22:18:36 +02:00
  • ac7cd8a96b Update module 'pwm' to run on atmega1284p hardware Leon Krieg 2024-09-30 22:04:53 +02:00
  • c3dc289d5f Update module 'usart' to run on atmega1284p hardware Leon Krieg 2024-09-30 21:43:40 +02:00
  • 685a73e202 Update module 'watchdog' to run on atmega1284p hardware Leon Krieg 2024-09-30 20:58:13 +02:00
  • 68050b6226 Update module 'memory' to run on atmega1284p hardware Leon Krieg 2024-09-30 19:46:38 +02:00
  • 595b30cbe5 Update Makefile settings for new chip architecture Leon Krieg 2024-09-30 19:45:02 +02:00
  • 396662bf7c Add file structure for automatic unit-testing Leon Krieg 2024-09-30 17:20:11 +02:00
  • e323ef4783 Reduce function calls by replacing WDT_Reset with macro Leon Krieg 2024-09-30 16:53:08 +02:00
  • 730f09d060 Update optional submodules 'tools' and 'webgui' Leon Krieg 2024-09-30 16:18:57 +02:00
  • 8140607e06 Include explicitly closed source license for now Leon Krieg 2024-09-28 03:47:59 +02:00
  • 9476319bfc Remove redundant entries from CHANGELOG Leon Krieg 2024-09-28 01:29:52 +02:00
  • dec3d53c59 Auto-initialize optional submodules when needed Leon Krieg 2024-09-27 18:06:42 +02:00
  • ae329083db Reduce number of watchdog timer resets and rename Makefile target Leon Krieg 2024-09-27 14:35:03 +02:00
  • aa0cd89d4e Update documentation and do some basic housekeeping Leon Krieg 2024-09-25 17:16:20 +02:00
  • c8854931e8 Add README section refering to core.log for errors while flashing Leon Krieg 2024-09-23 18:30:20 +02:00
  • 47188c0bc8 Fix parser tail pointer semantics and add further TODO Leon Krieg 2024-09-23 17:13:19 +02:00
  • 9aede09a2f Add TODO regarding software updates via serial interface Leon Krieg 2024-09-23 15:55:45 +02:00
  • b25ad2bef1 Add further README sections and use markdown formatting Leon Krieg 2024-09-23 05:10:21 +02:00
  • e6c5a46ff9 Improve sensor log readability and minor naming fixes Leon Krieg 2024-09-23 03:36:25 +02:00
  • 501d5ea237 Add README section on general usage Leon Krieg 2024-09-23 02:40:32 +02:00
  • 622bf047f8 Reduce RXBUF size to match parser and space out log messages Leon Krieg 2024-09-23 01:41:13 +02:00
  • 9458db03f7 Prevent redundant writes and start implementing parser timeout Leon Krieg 2024-09-22 23:26:48 +02:00
  • a4ed6be3de Fix large serial command input triggering watchdog Leon Krieg 2024-09-22 20:20:58 +02:00
  • bbbac58989 Merge pull request #5 from madcow/parser Madcow 2024-09-22 05:47:05 +02:00
  • 0103834441 Implement serial command parser with floating point support Leon Krieg 2024-09-22 03:54:28 +02:00
  • 746f81667e Merge pull request #4 from madcow/eeprom-sentinel-v2 Madcow 2024-09-22 00:11:12 +02:00
  • cb8c738ca8 Use reference sentinel to efficiently reset dirty flags on rollover Leon Krieg 2024-09-21 20:54:25 +02:00
  • 70781c6628 Merge pull request #3 from madcow/eeprom-testing Madcow 2024-09-21 03:55:01 +02:00
  • 7ca158a8dd Pass variable structure as argument for memory functions Leon Krieg 2024-09-21 01:51:36 +02:00
  • a423144599 Fix possible race condition and ensure proper reset flag detection Leon Krieg 2024-09-20 23:51:44 +02:00
  • 208aadf3a3 Check MCUCSR for WDRF flag only and add TODO Leon Krieg 2024-09-20 23:44:42 +02:00
  • 10298a99c1 Implement memory wear leveling algorithm Leon Krieg 2024-09-20 21:30:31 +02:00
  • e2b5c5fd42 Define memory manager constants and add TODO Leon Krieg 2024-09-20 18:36:53 +02:00
  • 638074af17 Merge pull request #2 from madcow/eeprom Madcow 2024-09-20 18:10:47 +02:00
  • 190ecea855 Dump EEPROM to ensure low level memory access is working correctly Leon Krieg 2024-09-20 18:03:34 +02:00
  • 29b0ace897 Implement raw EEPROM read and write functionality Leon Krieg 2024-09-20 16:56:29 +02:00
  • 171e827ab5 Burn EESAVE fuse to preserve EEPROM on chip erase Leon Krieg 2024-09-20 15:56:39 +02:00
  • 2cb677445d Define basic EEPROM data structures and functions Leon Krieg 2024-09-20 15:31:45 +02:00
  • e47812d98e Merge pull request #1 from madcow/thermistor Madcow 2024-09-20 02:24:17 +02:00
  • db876151d6 Implement alternate voltage divider equation Leon Krieg 2024-09-20 01:07:31 +02:00
  • 682650dedb Calculate average dewpoint from multiple sensor measurements Leon Krieg 2024-09-19 21:50:55 +02:00
  • 053ee1674d Test different approach for resistance calculation Leon Krieg 2024-09-19 21:34:24 +02:00
  • a548518b9c Ensure math functions are named consistently Leon Krieg 2024-09-19 20:28:06 +02:00
  • 560715fd0b Make sure dewpoint calculations are correct Leon Krieg 2024-09-19 20:21:18 +02:00
  • 1f01f92291 Split thermistor functions into separate logical units and add TODO Leon Krieg 2024-09-19 19:54:28 +02:00
  • b3fda53036 Implement all required conversion functions Leon Krieg 2024-09-19 17:28:41 +02:00
  • d18b6072ba Define conversion functions for TD, T and RH Leon Krieg 2024-09-19 15:11:32 +02:00
  • 7e97ea3da3 Update planned FREQ, ARCH, MCU and fix superfluous whitespace Leon Krieg 2024-09-16 01:04:44 +02:00
  • 851e456ea5 Define basic structure for primary state machine and update TODOs Leon Krieg 2024-09-16 00:49:36 +02:00
  • c3d5a83ebd Remove executable bit from pdf files Leon Krieg 2024-09-16 00:01:50 +02:00
  • 33d6442eca Add data sheet for ATMEGA1284P-PU Leon Krieg 2024-09-15 23:59:59 +02:00
  • a9f201b061 Poll ADC mode bit until conversion has finished Leon Krieg 2024-09-15 22:12:23 +02:00
  • ce1444b0f4 Set FAN03 to maximum duty and declutter log output Leon Krieg 2024-09-15 21:33:12 +02:00
  • 1cc319cd38 Calculate temperature from thermistor resistance Leon Krieg 2024-09-15 20:09:57 +02:00
  • ccbd964111 Set ADC gain to 6.144V and fix multiplexer channel documentation Leon Krieg 2024-09-15 19:07:38 +02:00
  • 4ded84f3f8 Define constants for ADC multiplexer settings and describe I2C status flags Leon Krieg 2024-09-06 19:47:09 +02:00
  • f4a6c655bd Define constants for watchdog timeout flags Leon Krieg 2024-09-06 15:55:16 +02:00
  • 82126d9aba Initialize OCR1A to FAN02_MIN_DUTY and add PWM documentation Leon Krieg 2024-09-06 14:24:27 +02:00
  • b118631500 Minor coding style and consistency fixes Leon Krieg 2024-09-05 22:15:43 +02:00
  • 0bd4866816 Jump to reset vector when program exceeds specified watchdog timeout Leon Krieg 2024-09-05 17:55:05 +02:00
  • 7eaacf4abf Update submodule 'tools' Leon Krieg 2024-09-05 17:53:41 +02:00
  • d1a25c4bd3 Start implementing watchdog timer Leon Krieg 2024-09-05 15:19:36 +02:00
  • 14e12cdd03 Make log output slightly more readable Leon Krieg 2024-09-04 23:17:21 +02:00
  • 1602aa4297 Implement ADS1115 register reading and writing Leon Krieg 2024-09-04 21:38:12 +02:00
  • 992899f0cb Try setting variable PWM frequency with timer2 Leon Krieg 2024-09-04 15:57:38 +02:00
  • ad987996e0 Update documentation Leon Krieg 2024-09-04 03:18:08 +02:00
  • 385be3a677 Set pin for light MOSFET to low in MOS_Init Leon Krieg 2024-09-04 03:04:31 +02:00
  • 40f039dff9 Remove invisible runtime assertions Leon Krieg 2024-09-04 02:56:58 +02:00
  • c66e15dcc9 Remove outdated README for now Leon Krieg 2024-09-04 02:49:22 +02:00
  • c4b6f8cdd9 Rename module TWI to I2C and add comments Leon Krieg 2024-09-04 02:47:45 +02:00
  • b9443f8cec Read and translate AHT20 sensor readings Leon Krieg 2024-09-03 22:42:10 +02:00
  • 83f6fa58a4 Start implementing AHT20 sensor reading Leon Krieg 2024-09-03 17:29:06 +02:00
  • 0e15d5b1e2 Move PWM and MOSFET implementations into separate module files Leon Krieg 2024-09-03 02:24:31 +02:00
  • cd1a481ef6 Ensure correct naming for PWM devices Leon Krieg 2024-09-03 01:41:08 +02:00