Black boxes work by various means. Some are connected via the OBD port of the car and can monitor what is going in the car as a standalone unit. These have accelerometers in them, so can measure brake ...