The present invention relates to a medicament delivery device comprising a generally elongated housing comprising a distal and a proximal housing part having opposite distal and proximal ends a medicament container coaxially arranged within said proximal housing part drive means (18, 20, 22, 23, 30, 32) arranged to act on said medicament container for expelling a dose of medicament and an electromechanical dose setting mechanism interactively connected to said drive means wherein said electromechanical dose setting mechanism comprises a manually operable dose setting button (38) a dose setting member (34) comprising sensors (42) and arranged to be linearly displaced a predetermined distance along a linear path when the dose setting button is manually operated and a printed circuit board (44) having a code sensing area (46) along the linear path of movement of the sensors, and wherein the sensors are arranged adjacent said code sensing area, such that a value of the immediate position of the dose setting member is determined and displayed as a dose value by electronic components on the printed circuit board.