Commit Graph

98 Commits

Author SHA1 Message Date
70781c6628 Merge pull request #3 from madcow/eeprom-testing
Pass variable structure as argument for memory functions
2024-09-21 03:55:01 +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
638074af17 Merge pull request #2 from madcow/eeprom
Implement raw EEPROM read and write functionality
2024-09-20 18:10:47 +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
171e827ab5 Burn EESAVE fuse to preserve EEPROM on chip erase 2024-09-20 15:56:39 +02:00
2cb677445d Define basic EEPROM data structures and functions 2024-09-20 15:43:54 +02:00
e47812d98e Merge pull request #1 from madcow/thermistor
Implement alternate voltage divider equation
2024-09-20 02:24:17 +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
7e97ea3da3 Update planned FREQ, ARCH, MCU and fix superfluous whitespace 2024-09-16 01:21:21 +02:00
851e456ea5 Define basic structure for primary state machine and update TODOs 2024-09-16 00:49:36 +02:00
c3d5a83ebd Remove executable bit from pdf files 2024-09-16 00:01:50 +02:00
33d6442eca Add data sheet for ATMEGA1284P-PU 2024-09-15 23:59:59 +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
ccbd964111 Set ADC gain to 6.144V and fix multiplexer channel documentation 2024-09-15 19:07:38 +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
b118631500 Minor coding style and consistency fixes 2024-09-05 22:51:55 +02:00
0bd4866816 Jump to reset vector when program exceeds specified watchdog timeout 2024-09-05 18:23:33 +02:00
7eaacf4abf Update submodule 'tools' 2024-09-05 17:53:41 +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
385be3a677 Set pin for light MOSFET to low in MOS_Init 2024-09-04 03:04:31 +02:00
40f039dff9 Remove invisible runtime assertions 2024-09-04 02:56:58 +02:00
c66e15dcc9 Remove outdated README for now 2024-09-04 02:49:22 +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