ElecOrigin

Smart Electronic Injection Pen

Overview

A familiar pen redesigned for motor-driven delivery, precise dose control and connected records.

We developed the mechatronics, rigid-flex electronics and firmware, progressing from architecture to validated DVT prototypes in seven months.

Smart electronic injection pen with dose display and control buttons

Request

The client wanted to add motor-driven delivery and wireless dose records to a manual injection pen while retaining its familiar form and handling.

Key Requirements

  • Precise motor-driven delivery within the familiar pen form.
  • Position feedback and a controlled response to interruptions.
  • Low-power standby and synchronised dose records.

Engineering Challenges

The mechanism, sensors and firmware had to translate each dose into controlled movement, detect interruptions and record the amount delivered.

A Tight Mechanical Envelope

The controller, motor driver, charging circuit, sensors and antenna had to fit within a cavity under 17.5 mm in diameter, alongside the drive mechanism.

Small Doses, Changing Loads

Delivery required 0.01 mL increments within a ±1.5% error target. Position feedback had to account for changes in viscosity, temperature and back pressure.

Recognising a Blocked Delivery

A blocked fluid path required prompt stall detection, a controlled stop and pressure relief, with the interruption reflected in the dose record.

Ready After Months in Storage

Long storage life required low leakage throughout the circuit and reliable wake-up when the cap was removed.

Hardware Integration

A four-layer rigid-flex assembly folds three rigid sections around the motor and lead screw, fitting the electronics into the existing enclosure.

Injection pen control board, LCD and button modules connected by flexible interconnects
Control board, display and button modules.

Boards, Sensors and Antenna

Optical feedback and Hall-effect sensing in the flexible sections reduce wiring and keep sensor alignment consistent during assembly.

The nRF52833 antenna sits away from the motor housing. Handheld tests demonstrated an 8 m BLE connection.

Closed-Loop Motion and Occlusion Detection

An optical quadrature encoder provides 12.5 µm resolution per pulse, allowing firmware to compare actual movement with commanded travel.

H-bridge current and back-EMF feedback detect stalls within 15 ms. The controller stops and briefly reverses the lead screw to relieve pressure; S-curve motion reduces mechanical shock.

Low-Power Standby and Cap Wake-Up

A low-power Hall sensor detects cap removal. P-channel switches disconnect peripheral circuits during storage, preserving only the wake-up path.

Standby current reached 2.1 µA, supporting more than 18 months of storage. The 180 mAh battery charges through magnetic pogo pins in 45 minutes and supported over 60 full-dose cycles in project testing.

Control and Connectivity

C/C++ firmware on Zephyr RTOS and Nordic’s nRF Connect SDK keeps motor supervision independent of Bluetooth and storage tasks.

A Defined Delivery Sequence

One state sequence coordinates preparation, priming, dose selection and delivery, including position feedback, interlocks and display updates. Charging, low battery and abnormal motion can prevent or interrupt delivery.

Incomplete strokes are logged as interruptions, never completed doses.

Records That Continue Beyond the Pen

AES-128-protected local records store the selected dose, delivered volume, duration, cartridge batch and timestamp, even without an app connection.

Cap removal starts BLE advertising. Paired iOS and Android apps synchronise dose history while delivery remains controlled on the device.

Prototype Validation

Two prototype builds tested the integrated electronics, mechanism and firmware, including cap wake-up, charging, interrupted delivery and record synchronisation.

Opened development device showing the internal circuit boards, flexible interconnections and motor-driven mechanism
Internal electronics and motor-driven mechanism in the development prototype.

Dispensing Accuracy

More than 500 analytical-balance tests covered fluids of varying viscosity. Measured dose error stayed within ±1.2% at 0.01 mL increments, improving on the ±1.5% target.

Mechanical Durability

Repeated 1.2 m drops onto concrete checked rigid-flex connections, motor mounting and optical-sensor alignment.

Preparing for Assembly

DFM reviews covered panelisation, fixtures, test access and programming. Components used 0402 or larger packages where practical, with placement clearances checked by the assembly partner.

ISO 11608-1, IEC 60601-1-11 and ISO 14971 informed delivery requirements, home-use safety and risk management.

Details

Client
Connected drug delivery device company
Our scope
Mechatronics, PCB design, motor-control firmware, BLE and prototype validation
Development
7 months, from architecture to validated DVT prototypes
Hardware
Altium Designer · Three-zone rigid-flex PCB · nRF52833 · Optical and Hall sensing
Firmware
C/C++ · Zephyr RTOS · nRF Connect SDK · BLE 5.2 · AES-128
Design references
ISO 11608-1 · IEC 60601-1-11 · ISO 14971

Outcome

In seven months, we delivered 15 working prototypes with closed-loop delivery and synchronised dose records, ready for client evaluation and demonstrations.

Validated dosing and standby performance, backed by design files and source code, gave the client a reproducible platform for further development.

Measured dose error
±1.2%
Standby current
2.1 µA
Storage battery life
>18 months

What the Client Received

  • Hardware and mechanical designAltium rigid-flex files, Gerber data, 3D STEP models and production BOM.
  • Firmware and documentationDocumented C/C++ and nRF Connect SDK project: drive control, interlocks and BLE services.
  • Working prototypes15 functional units with PCBAs, custom gearboxes and 3D-printed chassis.
  • Manufacturing supportPanelisation drawings, assembly-fixture guidance, test-point maps and automated programming instructions.

From Engineering to Partner Demonstrations

The client demonstrated the prototypes at an international medical-device exhibition, where the project drew interest from pharmaceutical partners.

Related services: Embedded firmware development, Mobile application development

Regulatory note: ElecOrigin provides engineering development support. Regulatory registration and the quality management system for a medical or regulated product remain the client’s responsibility.

Planning a Connected Device?

Talk to us about compact electronics, precision motion control or connected drug delivery.

For confidential projects, arrange an NDA before sharing sensitive material.

Discuss a similar device