AVR-Fan-Controller

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

45 check-ins

2023-08-12
14:34
Fixed wrong ADC input pin. The schematics use PINC3, so use that in the code as well. Leaf check-in: fc3c76a2db user: thomas tags: trunk
14:31
C style fixes. Fixes style warnings issued by the linter. check-in: 69af1e829e user: thomas tags: trunk
14:15
Added schematics and a circuit board design. check-in: de0b870077 user: thomas tags: trunk
14:14
Added GPLv3 license text. check-in: 668a6a9816 user: thomas tags: trunk
14:12
Extended the index page and added an image of the circuit schematics. Closed-Leaf check-in: d68ac1329a user: thomas tags: schematics
2022-06-14
10:09
Merge with trunk. check-in: fe9ccb95c7 user: thomas tags: schematics
2022-06-03
13:23
Moved circuit to the top-right area of the sheet. Increased mounting hole size to 3mm diameter. check-in: 9e4461eeae user: thomas tags: schematics
2022-06-01
13:20
Moved the two-pin pin headers away from the PCB border. check-in: 16394a254e user: thomas tags: schematics
13:08
Further reduced PCB height to around 43mm. check-in: 1c4a28ad7a user: thomas tags: schematics
13:07
Ignore generated PDFs and other cache data check-in: 802b5df856 user: thomas tags: schematics
11:08
Added PCB outline and four mounting holes (2.5mm each). check-in: fbe5309041 user: thomas tags: schematics
09:54
Filled out the meta-data fields for the schematics and board. check-in: 9ebc651f00 user: thomas tags: schematics
09:46
Replaced the barrel jack and potentiometer footprints with two-pin pin headers. This allows placing these components at a different location in the casing and route the wires to the board. Also compressed the layout to take up less space. check-in: e0b4bb13e1 user: thomas tags: schematics
2022-05-31
20:25
Routed the complete circuit check-in: 29f8d2cc5a user: thomas tags: schematics
12:34
Begin designing the circuit board. check-in: 8ce42835e2 user: thomas tags: schematics
11:01
Replaced the variable resistor with the correct potentiometer symbol. check-in: dfa2cbd334 user: thomas tags: schematics
10:16
Disabled unneeded layers in the PCB. check-in: 479cb88780 user: thomas tags: schematics
10:13
Added decoupling capacitors to the μController Vcc and AVcc pins. Set AREF capacitor to 100nF to match the others check-in: 84d191a12c user: thomas tags: schematics
07:20
Replaced GND and 5V power lines with connectors to the ground/power planes check-in: e35bfb6318 user: thomas tags: schematics
2022-05-30
21:32
Continued the schematics: Fixed the wrong voltage divider resistor value. Used a better AREF decoupling capacitor value. Selected footprints for the PWM fan headers. Added power flags to the power input. check-in: 2fc9cb99a5 user: thomas tags: schematics
09:50
Extended the documentation a bit check-in: c7fef2c2a4 user: thomas tags: trunk
09:14
Merge with trunk. The schematics branch was accidentally started off an old commit. check-in: 10bde50d55 user: thomas tags: schematics
09:13
Group the enabling of both 8 bit timers as close together as possible. check-in: 09879f236d user: thomas tags: trunk
08:50
Added (currently incomplete) schematics draft. Created in KiCad. check-in: 3e245dcdbb user: thomas tags: schematics
2022-05-29
20:43
Implemented four shifted PWM outputs. This uses the two 8 bit timers, which overflow at exactly 25kHz, if the CPU is clocked down to 6.4MHz. With this, the software side is complete. check-in: dcec562d56 user: thomas tags: trunk
20:39
Fixed spurious glitches in the output PWM signal, caused by the Timer1 overflow interrupt being enabled. Closed-Leaf check-in: e14beaa948 user: thomas tags: 4_channel_pwm
20:30
Right-align the ADC output and only use the high byte. This avoids a 16 bit read and bit shift down to 8 bits. check-in: df3ecc5ed6 user: thomas tags: 4_channel_pwm
19:50
Fixed use of wrong constants in connect_pwm_timers() and disconnect_pwm_timers() check-in: 38d61133f2 user: thomas tags: 4_channel_pwm
2022-05-27
12:58
Experimental 4-channel PWM output using the two 8 bit timers. It works by downclocking the CPU to 6.4MHz which results in a 6400kHz/256=25kHz 8 bit timer overflow frequency check-in: d8337761a9 user: thomas tags: 4_channel_pwm
06:05
Moved the signal processing out of the ADC ISR into the previously empty main loop. check-in: bfdc83f260 user: thomas tags: trunk
05:56
Removed unused global variable check-in: 83e8275b23 user: thomas tags: trunk
05:56
Improved comments. check-in: 9992b95e11 user: thomas tags: trunk
2022-05-26
20:54
Implemented a second PWM channel on pin PORTB2. The “on” time is shifted compared to the first by inverting the duty cycle value and using an inverted PWM output mode. check-in: 00d93818f1 user: thomas tags: trunk
20:28
Smoothed the edges of the PWM range and moved the 50% duty cycle to the center of the connected potentiometer. In the outer regions, the PWM is disconnected and replaced with solid 0V or 5V respectively. check-in: d8193c134b user: thomas tags: trunk
19:12
Got relatively smooth PWM duty cycles across the whole resistance range. check-in: 9e3e877ff2 user: thomas tags: trunk
18:46
Implemented loading data from EEPROM. Use that to load the OSCCAL value from EEPROM, instead of hard-coding it. check-in: b2f8f81c47 user: thomas tags: trunk
17:18
Integrated some commands for the used programmer into the build system. Turning Vcc on and off and resetting the board is now available as a target in the generated Makefile. check-in: 849073df6c user: thomas tags: trunk
09:01
Include stdint.h in main, because the definitions are used, but it was only implicitly included. check-in: d430962854 user: thomas tags: trunk
08:57
Added GPLv3 header to main.c check-in: 41fa3a289a user: thomas tags: trunk
2022-05-25
22:16
The PWM fan can be controlled via a voltage divider connected to pin C0. check-in: 3f77537dbd user: thomas tags: trunk
19:09
Implemented a simple, timer-based PWM that uses the Timer1 in fast PWM mode. It is currently hardcoded to 50% duty cycle. check-in: ba38bb081c user: thomas tags: trunk
19:07
Ignore the build directory and IDE project files. check-in: f32f246927 user: thomas tags: trunk
2022-05-24
22:20
Add some system initialization code. check-in: d5298e7273 user: thomas tags: trunk
21:55
Added Project skeleton and build system. check-in: 76f92f48e5 user: thomas tags: trunk
21:18
initial empty check-in check-in: 08364b98a5 user: thomas tags: trunk