
A digital pen is an input device which captures the handwriting or brush strokes of a user and converts handwritten analog information into digital data, enabling the data to be utilized in various applications. This type of pen is used in conjunction with a graphics tablet, tablet computer, smartphone or digital notebook.
The input device captures the handwriting data, that, once digitized, can be displayed on a screen.
Common digital pen protocols are:
Examples of digital pens:

Active pens use a sensor array to detect a pen's position using signals sent from the pen. Wacom and other manufacturers of electromagnetic resonance (EMR) digitizers feature pens whose position is inferred by a grid of wires whose voltage is affected by the pen's resonant inductive coil. Other manufacturers, such as Microsoft (using technology from N-trig) and Apple, use battery-powered pens that generate similar signals that are picked up by the touchscreen. The pens send "pressure" or force information detected by the pen's tip sensor, button clicks, and other information.
Accelerometer-based digital pens contain components that detect movement of the pen and contact with the writing surface. Camera-based pens use special digital paper to detect where the stylus contacts the writing surface, such as those using NeoLAB or/and Anoto technology. Trackball pens use a sensor that is located on the pen to detect the motion of the trackball.
A smart pen has the same basic characteristics as a digital pen, but also has other features like voice recording or a text scanner. A smart pen is generally larger and has more features than an active pen. Digital pens typically contain internal electronics and have features such as touch sensitivity, input buttons, memory for storing handwriting data and transmission capabilities.