Some refinements
Controls
After much messing around with various throttles and switches I've settled on this:
This is usually a control unit for horn, lights and indicator but I've got it arranged as follows:
Lights on/off - this switch applies power to the controller (via the MOSFET switch circuit described earlier in this thread)
Horn - Push this button and the motor runs.
Indicator - Left/Off/Right controls the speed of the motor as low/medium/high. I simply replaced the hall throttle with a potential divider made from a couple of resistors. Then, the indicator switch switches in or out additional resistors to set different speeds.
The nice thing about this switch is that it doesn't take too much room on the Brompton handlebars. I was finding the thumb throttle controls were obstructing the gear changers. I also found I was using the thumb throttle mainly on full power so having a simple push switch as a replacement works quite well. I nearly always have the speed set to maximum but the switch gives me the option of conserving energy if I think I want to get more range from the battery.
I've replaced the brake levers with Shimano ones which give a bit more space to play with and the grips have been replaced with Ergons - which are just great! I chose the ones that are usually used with gripshift gears which fit nicely on the Brompton handlebars without trimming.