The glucose sensor is based on a competitive glucose binding affinity assay consisting of a glucose receptor and glucose analog (ligand) contained in a compartment made up of permeable membrane for exchanging of only small molecules such as glucose, salts etc. (Fig 1).