Weekly Updates

Week 8: Re-evaluating idea and trying to meet proposal guidelines

Week 9: New Proposal Approved by TA yesterday. USART1 commands over HC-05 Bluetooth module working correctly. PWM through GPIO is having issues driving DC motor due to low current provided by board

Week 10: I2C for TC74 sensor still not reading properly. Possibly adding HRC-04 ultrasonic sensor, but running into same PWM setup issue. Switched HC-05 connection to use USART2 to free up PB6/PB7 pins for I2C connection

Finals Week: I2C for TC74 sensor now reading accurately, and PWM working correctly for HRC-04 sensor. Now Connecting SG90 Servo Motor to new PWM signal to read input based on distance sensor and adjust fan accordingly

Finals Week Pt2: ULN2003 Driver now operates fan. Fan is now mounted to SG90. HRC-04 and TC-74 logic is written into the code to perform the behavior described. Only thing wrong is servo motor sometimes erratically moves, most likely due to voltage interference it is picking up in PWM signal. Could be solved by a capacitor, but I do not have one available soon.