ChristophPech / bbsDisplay

bafang Arduino display
GNU General Public License v3.0
8 stars 2 forks source link

Could you provide more information about your project? #1

Open Lyra1337 opened 4 years ago

Lyra1337 commented 4 years ago

Hi, first of all, thanks you for sharing your code! I'm planning a similar project and want to check out your code and maybe use (large) portions of it. I just figured out how to build it (needs an ATmega32U4-based board) and which libraries you were using. I'd love to see a picture of your project on the bike (and maybe some schematics or some infos about your wiring) and learn about what features you've already implemented.

My setup is the BBS02B with the stock 850C display.

Thank you!

ChristophPech commented 4 years ago

Hi. I made this schematic: https://easyeda.com/christoph.pech/Bafang-56e0ed61facd4b7bb3e6286c4b56c832 and ordered the bord directly from inside EasyEDA which uses JLPCB and payed 2€ for 5 or so boards. I could send you one in a letter, otherwise JLPCB is probably cheaper, and you might want to make changes. One important change which I already did in the schematic but not in the code yet is using the internal voltage reference of 2.56V of the Atmega32U4 instead of the default input voltage. The latter is generated by a 5V regulator on the bafang but it seems to drift a lot so the battery voltage display is sometimes off by about half a Volt.

Here is a picture of the display https://photos.app.goo.gl/uuYdypvMJAkPWMkJ6 I milled it in aluminium with an acrylic window. Also, if you are in Europe with strict ebike laws you want to take a look into the history of ctrl.h

The rest of the bike: https://photos.app.goo.gl/fbHE8bndeE5KRrnG7

Lyra1337 commented 4 years ago

Thanks for your detailed reply! Are the stats on the display with the first motor? Looks like you're riding the hell out of the Bafang ;-) I actually live in Germany (history of ctrl.h looks promising) and if you do not have another use for your spare PCB I'd love to use it in my bike! Greetings from Bavaria, Tom

ChristophPech commented 4 years ago

Those stats were just from tweaking the UI layout. I live in Berlin and have enough spare PCBs to send one your way. Do you have any other contact like Telegram, Hangouts or just email?

Lyra1337 commented 4 years ago

This is my Telegram: https://telegram.me/lyra1337

jonra commented 3 years ago

@ChristophPech great project! Have you also been able to write data back to the bike, to for example set the paddle assist level?

ChristophPech commented 3 years ago

@jonra It would be possible, although I haven't tried it. For me it is not necessary, 9 levels are enough. The software splits these 9 into two modes, one with 3 PAS levels and the second with 6 levels.

jonra commented 3 years ago

It would be great to learn more about your experience with this. Can I contact you directly for a proposal? My email is jon@productlabs.nl.

ChristophPech commented 3 years ago

Sure. christoph.pech@gmail.com is mine.