Skip to content

First stable release

Latest

Choose a tag to compare

@dlakmalw dlakmalw released this 21 Sep 14:31
· 1 commit to main since this release

πŸŽ‰ First stable release of the Remote Controlled Fan Controller firmware.

✨ Features

  • TRIAC-based fan speed control (LOW / MEDIUM / HIGH / OFF)
  • Swing control via IR remote or manual button
  • IR remote decoder (TSOP1838 sensor)
  • Delay-off timer (30 / 60 / 120 minutes)
  • LED indicators for speed and swing
  • Push-button fallback (ON, OFF, SWING)
  • PWM buzzer feedback
  • Modular C code with separate header/source files

πŸ› οΈ Hardware requirements

  • PIC16F887 microcontroller (20 MHz crystal)
  • TSOP1838 IR receiver
  • TRIAC drivers for fan coils + swing
  • Push buttons (ON, OFF, SWING)
  • LEDs (3 Γ— speed, 1 Γ— swing)
  • PWM buzzer on CCP2 (RC1)

πŸ“¦ Contents

  • src/ β†’ Source files
  • include/ β†’ Header files
  • main.c β†’ Entry point
  • assets/ β†’ Image previews

πŸ”§ Build Instructions

  • Open with MPLAB X IDE
  • Compiler: XC8
  • Device: PIC16F887
  • Clock: 20 MHz HS oscillator
  • Use PICkit 3/4 or compatible programmer

MIT License Β© Lakmal Weerasinghe