A drug delivery device is presented comprising of a housing, a plurality of contacts, a rod disposed within the housing, and an encoded member configured to be rotatably supported inside the housing, to engage with the rod and to be rotatable with respect to the rod, and to be axially constrained with respect to the housing such that axial advancement of the rod in a first direction relative to the housing causes rotation of the encoded member, wherein the outer surface of the encoded member is provided with a plurality of tracks together forming an encoder, each track comprising conductive segments and non-conductive segments and wherein the encoded member is supported in the housing such that each track is engaged by a respective one of the plurality of contacts.ハウジング(404)と、複数の接点(212)と、ハウジング内に配置されたロッド(414)と、コード化部材(410)であって、ハウジング内側に回転可能に支持されるように、ロッドと係合しロッドに対して回転可能になるように、かつハウジングに対して第1の方向のロッドの軸方向前進によりコード化部材が回転するように、ハウジングに対して軸方向に拘束されるように構成されたコード化部材とを備え、コード化部材の外面には複数のトラックが一緒に設けられてエンコーダが形成され、それぞれのトラックは導電セグメントおよび非導電セグメントを含み、コード化部材は、それぞれのトラックが複数の接点のそれぞれ1つによって係合されるようにハウジング内に支持される、薬物送達デバイス。