Skip to content
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

bbs02b issues with throttle speed display and speed sensor and watt usage meter #174

Open
Zensaition opened this issue Aug 27, 2023 · 20 comments

Comments

@Zensaition
Copy link

Zensaition commented Aug 27, 2023

Hey Daniel,

So Just reflashed to see if anything got better with the project and seemed good till, I powered on and my display flashed throttle error 5... when I disconnect to reconnect my throttle, it starts the motor without me pushing the throttle down... and when I press it down, it just goes full speed...also the watt meter is broken wont show nothing when this is all happening... just 0 watts with the way its acting for my dpc 18 display ....bummer. really hopeful for this update....

@danielnilsson9
Copy link
Owner

Sounds like the configured lower voltage limit is too low for your throttle, try increasing it to maybe 1200mV

Disconnecting and then reconnecting the throttle while powered on with this error circumvents the protection that is active to not make your bike take off with a broken throttle.

@Zensaition
Copy link
Author

Zensaition commented Aug 27, 2023

alright ill try it 1200mv then 600mv it was. give me a min also when in the config when i press the ebrake i get error 0x100

@Zensaition
Copy link
Author

Zensaition commented Aug 27, 2023

Alright I did 1000mv seems to work, I think it was 600mv last time, weird its different now but Its late into the morning so ill sleep and then ill test, see what works or doesnt. Glad it was just that rn :L seems to be smoother then v1.2 Thanks for getting back as soon as you could and the help :D. talk later 👍

@danielnilsson9
Copy link
Owner

If you previously had 600mV you had changed it yourself, default is 900mV which works for most throttles. 0x100 means braking so that's completely normal, not really an error though.

https://github.com/danielnilsson9/bbs-fw/wiki/NEC-Motor-Control-Protocol

@Zensaition
Copy link
Author

Zensaition commented Aug 27, 2023

I did'nt change it, I just read what was in the controller already? but cool good to know its normal , could give peace of mind if you changed it from error 0x100 to braking or something lol. Glad to see the speed limit not unlocked, by way higher then 20mph to 100mph which really is high enough, glad to see at least for the old models of bafangs ;D , newer models is a bummer .

Im gonna go on a test run for 20miles and see what breaks or goes buggy hahah lets hope 25amps and the settings be nice to me haha.

@Zensaition Zensaition changed the title bbs02b issues with throttle error 5 and watt usage meter bbs02b issues with throttle speed display and speed sensor and watt usage meter Aug 27, 2023
@Zensaition
Copy link
Author

Okay so what I noticed, on my ride the performance was fantastic! way better then stock and more smooth but the data of the display is all wacky and buggy. Speed reading will ramp up for no reason to like 80mph, when im under 20mph. it usually happens when I apply throttle. maybe sensor or pas or throttle conflicts? ebrake seems to keep speed reading going and wont do any thing weird sometimes will do the speed ramp up crash or what ever its doing, its something else. Also I cant tell if the watt meter is accurate at all and it went above 1500w like to 2000w? which 1400w is stock so idk if im pulling more now? my battery can do 50amps but idk??? needs more optimizations for data. but performance is perfect with the settings I used.

The gear down shift sensor isnt working at all.... its nice as you dont want to grind the gears in the back if your applying to much power.

but besides that everything is Great, liking this version more then 1.2

@danielnilsson9
Copy link
Owner

Yes the speed issue is known on BBS02, it's tracked here #114.

Gear sensor code it maintained by community, there was some changes merged in this version, maybe it's broken, I don't know, will wait for more reports. I don't test it myself.

@Zensaition
Copy link
Author

Well I do hope you figure out how to tame the speed sensor and data bummer :C .but I might just run it for the performance side of things and just look at my voltage but id really like a display lol. Please fix it for 1.5 or asap for a beta lol thanks for the work man its really fun to see old hardware not be obsolete :D

@danielnilsson9
Copy link
Owner

It's a BBS02 specific issue and I don't have a BBS02. I don't think anyone is working on fixing it to be honest, so don't get you hopes up..

@Zensaition
Copy link
Author

Zensaition commented Aug 28, 2023

Man...well maybe I could give you mine if I switch to a bbshd lol, yeah im sure there is more bbs02s then bbshds lol.
I do have a bbshd build that im thinking of doing but might go with a custom controller so this wouldn't work lol but id like to enjoy this for another year and let it go for better things.

is there anyway I could help with data logs or test to give you an idea of how to fix it?

@Zensaition
Copy link
Author

like could you copy the stock firmware display settings and copy it into yours?

@dav0000000
Copy link
Contributor

@danielnilsson9 do you think it is possible that system_ms() could leave the timer stopped somehow? It would probably only be stopped until the next call to sensors then timer should start again. I only mention this as the method to disable the timer is different here then in sensors.

@danielnilsson9
Copy link
Owner

@dav0000000 I don't think so but could be worth a test. It was done that way so that if you called system_ms() while having disabled ET0 outside it would not magically turn on again, but that is never done so it's not really needed. Did you have BBS02, have you experienced this issue?

@dav0000000
Copy link
Contributor

Sorry bbshd only.

@Zensaition
Copy link
Author

Could you try to add it in a beta hex file? @danielnilsson9 and I could test it?

@danielnilsson9
Copy link
Owner

Sorry I'm busy, I'm 99% sure that is not the issue anyway. Build instructions are here https://github.com/danielnilsson9/bbs-fw/wiki/Build-from-Source if you want to try yourself

@Zensaition
Copy link
Author

Sorry I'm busy, I'm 99% sure that is not the issue anyway. Build instructions are here https://github.com/danielnilsson9/bbs-fw/wiki/Build-from-Source if you want to try yourself

Dang well, I get you have a life as well but might be time to learn to code for me 😂 I'd really like to make the bbso2b platform be solid. But for sure might move on soon, either bbshd or a talaria xxx or mx4 just sucks bafang isn't making more powerful or upgraded systems past 1000w. That can be robust for more power without burning. no one can catch up either at least for now With middrive then mid motors. Just a stagnant weird place rn for regular bikes.

@Zensaition
Copy link
Author

@MrHumanRebel Hey was wondering if you could help me here and look this over man, im at a loss and super not a coder. Im enjoying the performance vs stock just not display issues. but if you got anyone in the community that would know or be willing too if you cant. :C

@dav0000000
Copy link
Contributor

  • Is everyone with bbs02 having this issue? Is there anyone with a display who has no problem? If there is then let's compare your config and setup to theirs.

@Zensaition
Copy link
Author

Zensaition commented Sep 11, 2023

  • Is everyone with bbs02 having this issue? Is there anyone with a display who has no problem? If there is then let's compare your config and setup to theirs.

From what I saw to forum to other issues down the list I'd say yes but other are not but it seems to be a big enough issue that it should be fixed plz 😭 it's probably because they have different displays then the ones it works for. I have a dpc18, I believe it's a Luna one so no clue if it's flashed, which could be why it's having an issue? I have magura mt2 ebrake with a gear sensor. Battery is a 17ah 52v, That's all the elements that would effect it maybe the sensor is also not compatible idk 😂. It's a 3yr old kit but still going strong even with stock and hardish use at lvl6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants