Sensor and method for measuring amount of substance in blood. The sensor comprises a base element having a surface, and at least one light emitting diode emitting at pre-determined wavelength, and a photodetector which is sensitive to the pre-determined wavelength. The at least one light emitting diode comprises at least one emissive layer having been printed onto the surface.