PIC16C54 (the big 18 pin IC): "8-bit real time clock/counter (TMR0) with 8-bit programmable prescaler"
T2512MH (on the heatsink): Triac
LM358 (the 8-pin IC): Opamp