Here is a flow chart for changing blue light using RTC sensor. A real-time clock (RTC) is an electronic device (most often in the form of an integrated circuit) that measures the passage of time. As the flowchart shows, with RTC sensor, the lamp can change the color of light automatically during the day. Click to learn more details about it.