The present invention describes a microelectronic sensor based on the combination of an open-gate pseudo-conductive high-electron mobility transistor and a metamaterial electrode installed in the open gate area of the transistor and operated in the sub-THz and THz frequency range. The sensor can be used in different applications, for example, chemical sensing and biomolecular diagnostics, monitoring glucose levels in blood and biometric authentication of a user.