Here is a police truncheon equipped with a GSM-module that sends a smartphone message every time it is used to hit people. The developer has used an Arduino with a GSM shield to complete this project. Such a device could potentially keep people from using a truncheon unnecessarily.
The above video shows this connected truncheon in action. More info is available here.