A glucose sensor comprises a conducting back electrode. The glucose sensor also comprises a silicon substrate in electrical contact with the conducting back electrode. The glucose sensor also comprises a dielectric layer disposed on the silicon substrate. The glucose sensor also comprises a pH sensing layer disposed on the dielectric layer. The glucose sensor also comprises a chemical layer disposed on the pH sensing layer, wherein the chemical layer is in contact with an aqueous solution. The glucose sensor also comprises a conductive electrode disposed on the dielectric layer, where in the conductive electrode is in contact with the aqueous solution.