An autonomous device for detecting characteristics of a medium to be measured is disclosed. The device includes a sensor, a first microcontroller and a second microcontroller. The first microcontroller has a memory which is not resistant against gamma radiation during the sterilization of the device and the second microcontroller has a memory which is resistant against gamma radiation during the sterilization of the device.