A
brake controller, for controlling the brakes of a towed vehicle, having a control module and a
power module is provided. The control module is mounted in the cab of a vehicle used for
towing, in such a manner that it can be easily seen and accessed by the driver. The control module is provided with an
accelerometer, which can read acceleration forces in at least two axes, and a
microprocessor which polls the
accelerometer and sends braking information to the
power module. The control module is also provided with a
gain control, to adjust the amount of
brake force information, a manual braking lever and a display panel. The
power module, which may be mounted in a convenient location, preferably on the towed vehicle, receives the braking information from the control module and secures power from the towed vehicle to engage its brakes.