-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Still) no pedaling support when light's are on. #139
Comments
I solved the problem by changing motor.c line 485:
to I'm not sure why this code line was changed back, but this solution seems to work for me. I've only made a small test drive. If something will go wrong I'll give an update! |
@andrevil Can you please tell how is this going? is it working ok? |
It seems to work without Problems. tested ca 60km It's not a very nice solution. What about a battery current offset calibration after turning the light on? |
I got this exactly issue with the latest firmware and 860LCD. Previously I've used the emmebrusa mod, and lights always worked. Emmebrusa:
Official: I will try to use the suggested patch of andrevil, but I'm intrested to know what are the overall impacts. ps: what about the solution provided in this opened pull request? is better? Thank you guys for your AMAZING work! ;) |
I'm also having this problem. I haven't tried your fix @andrevil but I'll give it a go if it isn't being merged into master as with autumn coming I need my lights again. |
I tried different fixes from various threads for this issue and have found the one I've entered in pull request #142 to feel the most responsive. It's really just a copy of #128 using the variable names from the V1.0 release. It took me a while for me to get an environment set up where I could actually compile this successfully, so in case it helps anyone I'm attaching a ZIP file containing the compiled HEX file with this change, along with a copy of the edited motor.c source file shown in #142 to this post. While this is the exact same HEX file I flashed to my motor using STlink, use at your own risk, etc. ZIP file: TSDZ2-v1.0_lightfix.zip |
Great, Thank you. |
Works perfectly. Thank you again |
Hello again, Tested more detailed today and looks like the assist level is 100% independent of the configuration and levels I use. BUT the light is working ;o) |
Hello together,
I've recognized, that the pedal assist stops when the lights are on. It only stops when a real current is drawn. The consumption of my lamp is ~0.5A at a stable voltage of 6V. With light settings on but no light connected everything runs fine.
I've seen there was a ticket in the past concerning this, but for me it is still not working.
I've tried different "ADC lights offset / ADC lights " in the settings. But none of the values (0 to 4) helped.
When I've looked in the motor.c I couldn't find anything concerning phase current calculation and light. Is this finding still fixed in this newest version?
BTW: This motor controlling firmware is very awesome and I have built up the second bike with it now. Thank you for this!
The text was updated successfully, but these errors were encountered: