Well done Ron, I'm glad you've been able to locate the source of all your problems.
I never even gave the brake levers a second thought as the brake switches have always been connected by just
two wires, and as your switches were cutting the power, I naturally assumed that the switches and their wires had to be working correctly:
The annoying thing is that it was only a few weeks ago that I spent some time checking out and recording all the connections on the MP4 harness:
This was when I discovered that there was an unused +5V supply to both of the brake switch connectors which is presumably ready to allow non-contact Hall effect brake switches to be used instead of mechanical contact brake switches:
The strange thing is that all of my recent MP4 and Smart Pie 4 brake switches still use mechanical switches that only requires two wires to operate correctly. I guess the additional wire is in the cable but just left disconnected at the switch end, but I suspect that in your case, the wrong wire has somehow been allowed to touch against the brake switch contact by mistake.
I hope you or Gary will be performing a Post Mortem, as it would be nice to know exactly what was causing the problem.
It all makes perfect sense now, and also confirms that my suspicions were absolutely correct, so although I was actually barking up the
right tree, I was unfortunately focusing all my attention on the wrong branch
:
If this safety feature is triggered by the turning on of the +5V supply, I'm wondering whether there could be a problem within the front harness which is causing the brake switch to temporarily short out the +5V supply either in addition to (or instead of) the brake signal wire, which would effectively be turning off and on the +5V supply when the brake lever is pulled and then released again as far as anything else on the +5V circuit is concerned.
At least I was gradually heading in the right direction, and if you had tried the test I suggested, the fault would definitely have shown up.
Anyway, at least you've managed to solve both of the problems, and that's what really matters, and if this happens again to someone else, at least we now know what to suspect and also how to confirm it.
Alan