IOP sensor and system for measuring intraocular pressure are disclosed herein. Examples embodiments of the IOP sensor can include: a chamber having a first wall and a second wall opposing the first wall a first array of photonic components disposed inside of the chamber a raised portion located within the chamber on a surface of the second wall at least one side wall separating the first and second walls and a layer of anti-reflective coating within the chamber.