The place where we introduce the key, sometimes when i turned the key so as to start or to take out battery, sometimes it gets out from its place.. And i have to replace it again
Okay, So far all we really know for sure is that the voltage that you are measuring changes as you start to pedal (or use the throttle)
A few things can be causing this problem and it’s frustrating when only some of the symptoms are given but I know remote testing is hard sometimes.
I’m going to give a bit of background which might help explain, I hope it doesn’t make it more confusing for you. The mathematics behind this isn’t complicated but if it isn’t your knowledge then it’s confusing so no maths I promise ;-)
Because of the way electrical circuits work pedal assist one only needs a small amount of current whereas pedal assist three needs a lot more current, also when you go uphill or ride faster you need more current.
When you draw current from the battery the voltage will drop, this is because the battery and all of the wiring and switches have a property called resistance.
If the resistance of any of the wires, switches or the cells inside the battery is higher than it should be then too much voltage will be lost. Your tests so far tell us that you are losing voltage when pedalling or using the throttle so the only conclusion is that somewhere you have a high resistance.
At the moment you don’t know where and whilst it’s probable that the battery is faulty I don’t want you to buy a battery and still have a fault.
The voltage will reduce as you have described if the battery is bad or there is a resistance in the wiring between the battery and where you make the measurement.
If the key switch is not working properly there is a risk that rather than being an on off switch it is failing and when the switch is in certain positions it is introducing a resistance in series with the battery. We don’t know that because the testing that you have done so far is after this switch .
What I suggest you do is as follows:
First prove that you can reproduce the fault when testing. Stand the bike so that you can spin the wheel with the throttle and apply the brake to that wheel and guarantee that you can make the fault occur every time.
Measure the voltage at idle, ie motor not running and
write down the voltage.
Next measure the voltage right at the battery terminals when the motor is running and the brake applied, measure the voltage as you gradually apply the brake and watch it slowly drop. Remember the voltage just at the point that the motor cuts out, not after it cuts out but just before it cuts out and
write that voltage down.
Next measure the voltage after the key switch when the motor is running and the brake applied, measure the voltage as you gradually apply the brake and watch it slowly drop. Remember the voltage just at the point that the motor cuts out, not after it cuts out but just before it cuts out and
write that voltage down.
Repeat the measurements a few times to be sure that the test results are consistent.
If the voltage measurement right at the battery drops suddenly then the problem is almost certainly inside the battery,
If the voltage at the battery remains relatively constant the problem is in the wiring or the switch, I hope those tests above should pinpoint where you need to spend your money.