A microfabricated sensor (1) for detecting a component in bodily fluid, includes: an inlet (2) for receiving a sample of bodily fluid, a fluid cavity (6) connected to the inlet for receiving the sample of bodily fluid from the inlet, and an RF resonant cavity (13), delimited by walls (14). At least one of the walls forms a separating wall (15), separating the fluid cavity from the RF resonant cavity, wherein the separating wall is configured such that the dielectric properties of the bodily fluid in the fluid cavity provide an influence on the electromagnetic properties of the RF resonant cavity.