Commit Graph

41 Commits

Author SHA1 Message Date
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
1cc319cd38 Calculate temperature from thermistor resistance 2024-09-15 20:50:44 +02:00
4ded84f3f8 Define constants for ADC multiplexer settings and describe I2C status flags 2024-09-06 19:52:11 +02:00
f4a6c655bd Define constants for watchdog timeout flags 2024-09-06 16:03:06 +02:00
82126d9aba Initialize OCR1A to FAN02_MIN_DUTY and add PWM documentation 2024-09-06 15:33:31 +02:00
0bd4866816 Jump to reset vector when program exceeds specified watchdog timeout 2024-09-05 18:23:33 +02:00
d1a25c4bd3 Start implementing watchdog timer 2024-09-05 15:19:36 +02:00
14e12cdd03 Make log output slightly more readable 2024-09-04 23:23:40 +02:00
1602aa4297 Implement ADS1115 register reading and writing 2024-09-04 21:38:12 +02:00
992899f0cb Try setting variable PWM frequency with timer2 2024-09-04 16:11:41 +02:00
ad987996e0 Update documentation 2024-09-04 03:18:08 +02:00
c4b6f8cdd9 Rename module TWI to I2C and add comments 2024-09-04 02:47:45 +02:00
b9443f8cec Read and translate AHT20 sensor readings 2024-09-04 00:12:08 +02:00
83f6fa58a4 Start implementing AHT20 sensor reading 2024-09-03 17:29:29 +02:00
0e15d5b1e2 Move PWM and MOSFET implementations into separate module files 2024-09-03 02:47:21 +02:00
cd1a481ef6 Ensure correct naming for PWM devices 2024-09-03 01:41:08 +02:00
bee711c9ff Calculate PWM_CYCLE_TOP from F_CPU 2024-09-03 01:16:07 +02:00
0110c22455 Add more general SetMosState() and SetPwmValue() functions 2024-09-03 00:52:39 +02:00
4453156641 Configure PWM timers for 25 KHz 2024-09-02 23:12:19 +02:00
d60efc009e Handle PWM on pin PD4, PD5 and PD7 2024-09-02 20:50:09 +02:00
bd34ab7c3a Start working on system initialization 2024-09-02 15:40:20 +02:00
3f336798c3 Handle I2C multiplexer channel selection 2024-09-02 03:07:44 +02:00
19983fb613 Implement USART with bot RX and TX interrupts 2024-09-02 01:03:59 +02:00
9a3ae27a5f Rewrite logging system and sync state with clients 2024-08-28 02:36:35 +02:00
481170792a Add more debug messages 2024-08-28 01:04:59 +02:00
b90545b148 Handle numeric arguments for TEMP/DEWP commands 2024-08-28 00:26:45 +02:00
1ecdba78f8 Fix code repetition 2024-08-27 18:06:39 +02:00
e64880f66c Move parser to separate module and add USART_IsDataAvailable 2024-08-27 15:11:52 +02:00
a2b77e8db6 Test command parser state machine 2024-08-27 14:35:31 +02:00
9638d10830 Implement ring buffer and auxiliary functions 2024-08-27 03:45:51 +02:00
382b4770b0 Handle USART_RXC interrupt 2024-08-27 01:33:39 +02:00
0f5a383f14 Test USART reading 2024-08-27 00:38:12 +02:00
42792bfdf8 Implement basic UART reading 2024-08-26 19:01:40 +02:00
0505401d0b Move UART implementation to seperate module 2024-08-26 17:30:33 +02:00
3dc1f54ebc More verbose message for frontend testing 2024-08-25 15:29:04 +02:00
16f2f65576 Update message format 2024-08-25 00:52:45 +02:00
b624eabeed Increase number of boinks before wrap-around 2024-08-24 23:01:43 +02:00
84cf9165d1 Test serial data transmission on atmega32a 2024-08-24 22:02:52 +02:00
08f14d81c7 Initial commit 2024-08-24 01:04:40 +02:00