An injection device having a drive mechanism to expel selectively a dose of medicament from a medicament cartridge through a needle unit is disclosed. The injection device further comprises an electronic control unit to control the drive mechanism, and a dispense button to generate a dispense button signal to the electronic control unit indicative of the dose to be expelled in which an arm button causes a first arm button signal to be sent to the electronic control unit to permit the dose to be expelled.