Microcontroller chips can realize various functions by writing control programs, such as controlling motors, lights, sensors, etc. It can implement functions such as timers, counters, and interrupt processing, thereby realizing the control and operation of the circuit.