In one aspect, the invention relates to a sensor for measuring at least one physical or chemical parameter of a cartridge (10) or syringe filled with a liquid substance. In a further aspect, the present invention relates to a cartridge (10) comprising such a sensor and a drug delivery device (1, 2, 3) comprising such a cartridge (10), wherein the sensor comprises the cartridge (10) or A flat flexible foil (101) that can be disposed on the outer periphery of a barrel (11) of a syringe, at least first and second measurement electrodes (102, 104) disposed on the foil (101), and the foil At least first and second contact electrodes (106, 108) disposed on (101), a processor (110) connected to the first and second measurement electrodes (102, 104), and the foil (101 ) And a transceiver (120) connected to the processor (110), the first contact electrode (106) and the second contact electrode (108) being a processor. Is connected to the (110).一態様において、本発明は、液体物質で充填されたカートリッジ(10)またはシリンジの少なくとも1つの物理的または化学的パラメータを測定するためのセンサに関する。さらなる態様において、本発明は、そのようなセンサを備えたカートリッジ(10)およびそのようなカートリッジ(10)を備えた薬物送達デバイス(1、2、3)に関し、センサは、カートリッジ(10)またはシリンジのバレル(11)の外周に配置可能な平面の可撓性箔(101)と、前記箔(101)に配置された少なくとも第1および第2の測定電極(102、104)と、前記箔(101)に配置された少なくとも第1および第2の接点電極(106、108)と、第1および第2の測定電極(102、104)に接続されたプロセッサ(110)と、前記箔(101)に配置され、プロセッサ(110)に接続されたトランシーバ(120)とを含み、第1の接点電極(106)および第2の接点電極(108)はプロセッサ(110)に接続される。