This document describes the design and development of a programmable controller for an air sampling machine aimed at preventing filter damage by automating the machine's on-off timing. Utilizing an AT89C52 microcontroller and a PCF8583 real-time clock, the system operates at predefined intervals, allowing users to customize on/off durations. The project emphasizes low-cost components and user-friendly operation while providing essential functions for air pollution research.