An electronic module that inserts into or is otherwise associated with a pen
or
other writing instrument. The electronic module includes a mechanism, such as an
accelerometer, for detecting pen motion. The electronic module is preferably mounted
in a substitute ink cartridge for a pen. Ballistic information generated by the
accelerometer is transmitted via the radio transmitter to a computer (e.g., a personal
computer), where processing and/or storage of the accelerometer information may
occur. The accelerometer information may be used, for example, for handwriting
recognition or digital ink generation. The electronic module is preferably provided
in a casing that is shaped like an ink cartridge. Contemporary pens usually include
two cartridges within the pen, a first that supplies ink to the nib, and a second
that presses the first against the nib. The components may be mounted in a cartridge
that is placed in the position of the second cartridge.