Temperature detection for a semiconductor component is disclosed. In a preferred embodiment of the invention the circuit has been applied for a rain sensing system. For example, the integrated circuit can include memory cells disposed in multiple layers of memory. A microcontroller identifies signature points from the frequency profiles and compares the signature points with stored signatures for a multitude of coins andor tokens.