Git Product home page Git Product logo

speeed's Introduction

Speeed Configuration Tool

Easy and clear programming tool for BAFANG BBS01 BBS02 BBSHD e-bike motors

Donate

ko-fi

Download

Latest release @ Google Play

Requires Android 6.0 or later.

Description

Speeed is the equivalent of the popular Windows app - Bafang Configuration Tool

Speeed Bafang Configuration Tool

Because it is a smartphone app with a clear interface and built-in e-bike display makes this app very comfortable when tuning our e-bike.

Currently the application is only available for Android. However, I am just finishing up testing a small Bluetooth LE adapter that will be ridiculously cheap and have amazing features. Then there will be an app for iOS.

Connection

  • Launch the Speeed application
  • Plug the OTG adapter into your phone (If you're wondering where to get one, let me calm you down. You probably have one at home, and if not, you can buy one at any phone or computer store for cheap).
  • Connect the Bafang programming cable to the OTG adapter It is available on AliExpress
  • Connect the other end of the cable to where the bike display is connected.
  • Click the "Connect" button in the app. That's it!

Supported motors:

  • BBS01 ✅
  • BBS01B ✅
  • BBS02 ✅
  • BBS02B ✅
  • BBSHD ✅
  • All hub motors from Bafang ✅

Demo

Please turn on the subtitles

IMAGE ALT TEXT HERE

Screenshots

speeed's People

Contributors

mkopa avatar pavelloz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

speeed's Issues

Display: limit the speed, legal or max

Hello, very nice job ! :)
The display does not have the ability to limit the speed, legal or max for exemple.
You can control with the 0x16, 0x1F, RPM, CRC :))

// --- EXEMPLE ------------
// --- Jacques74 2021 -----

// ----------- Constantes or variables 
const float CIRC_WHEEL = 2.166; // Wheel Circumference in meter
const byte LEGAL_SPEED = 25; 		// Legal speed in km/h (work only in PAS)
const byte FULL_SPEED = 45; 		// Full speed in km/h (work only in PAS)
#define W_CRC 0x00 							//  CRC (checksum) 

// -- exemple func:
// Limit_Rpm(LEGAL_SPEED);


// --------- Function limit RPM (bridage speed console)
// --- Send just on time where display start, or send in loop (not obligatory)
void Limit_Rpm(byte speedLimit) {
  // exemple de ligne a envoyer pour bridage vitesse : (0x16, 0x1F, 0x00, 0xC8, 0xFD)
  int st = 0;
  unsigned int RpmMax = (speedLimit / CIRC_WHEEL / 60) * 1000;
  byte b_rpm1 = RpmMax >> 8;
  byte b_rpm2 = RpmMax & 0xFF;

  //byte oct[5] = {0x16, 0x1F, RpmMax >> 8, RpmMax & 0xFF, W_CRC};
  byte oct[5] = {0x16, 0x1F, b_rpm1, b_rpm2, W_CRC};

  // Calcul Checksum - total des octets sans le dernier octet (CRC)
  for (byte i = 0; i <= 3; i ++) {
    st = st + oct[i];
  }
  oct[4] = st % 256; // modulo et update CRC : Modulo peu indispensable ici !!
  for (byte i = 0; i <= 4; i++) {
    MySerial1.write(oct[i]);
  }
} //endfunc

Not working on android 13

Error message 'This app isn't available on your device because it was made for an older version of android' appears on the play store.

Screenshot_20231103_140913_Google Play Store

Screenshot_20231103_140943_Settings

Choice 27,5 inches for wheel size

The PC app show me 27.5 inches while your app Speeed read 26 inches and does not allow a 27.5 inch Rockrider to be configured.
860C display, Bafang BBS02 - 750W

Orlins

Data logging

Any plans to add data logging such as that of the eggrider to the app?
Screenshot_20210309-163746

Will there be a bluetooth version?

I would like to see this project continue to progress but it appears to have no activity in about a year - @mkopa can you confirm if Speeed is abandoned? If so, any chance of a source release to allow others to continue the development? If not, any timeline or plans for bluetooth dongle availability, next version of the application, features, etc.?

CAN bus solution for M410?

Hi there,
I have seen and heard great things about this app. Excellent work!

Do you know if it's possible to work with the newer CAN bus connections on a Bafang M410?

And if not, would getting the actual BESST tool be my only solution?
I just got a bike with the M410 and would very much like to tweak the settings a bit.

Thanks!

PB connexion

Bonjour, lorsque je branche mon câble usb, l'application me dit "aucun appareil trouvé"
Comment résoudre ce problème ?

Unable to save as.

I have the same issue as bobwreese. The app works fine on my old but dying lg g3, but on my old but great Samsung s7 I can’t “save as”.

Any news on support for iPhone?

Feature Request: Bafang DPC 18 UART Eco/Sport modes support

One of Bafang DPC 18 firmwares comes with so called 2x5 PAS mode settings, unfortunately the only difference between them can be utilized by users of Bafang Ultra motor. For everyone else, there is no difference, and the settings for both modes are fetched from modes 0, 2, 4, 6, 8 and 9.

It would be great if we could instead use Speeed to program the unused slots for different values in either Eco or Sport mode, or at least get any configuration ability for them.

Feature Request: Torque sensor settings

The Bafang G510 BBS Ultra motor in the M620 drivetrain features a torque sensor, & versions of the Bafang controller software updated for the Ultra, include a Torque tab, for adjusting crank torque related settings, & for calibrating the torque sensor's granularity relative to a live sensor reading which is provided on the same tab.

Is there any possibility you could add this Torque tab as a menu in your fine app?

I'd love to be able to adjust a Bafang Ultra as easily as you can a BBSHD!

connection failure

I have trouble connecting speed app to my android phone. Followed right order of hooking up and tried different cables each time when I try to connect it says: no device found. any suggestions. late model 500 watt motor, I believe BHS 002 or something like that Thank you

Pas won't work after config tool used

I just built a bafang 750w new build out of the box. C500 display. Finished bike it was all working. Role programmed. Changed to 9 power settings and altered parameters now the Pas won't work but the throttle does. Tried altering the settings but nothing will get the Pas working I can find. Checked all the Hardware, it was working fine then wasn't after programming so it must be the programming. I just want to return to the factory settings now.

Blank screen on Nexus 7 with 6.0.1

Have used Speeed successfully on a Pixel and think what you've achieved is great. However, when attempting to run on a Nexus 7 with 6.0.1 I get the splash screen followed by a blank white screen and that's it. Is this a screen resolution compatibility issue, and is there anyway it can be resolved?

Development on Iphone

Hi Marcin,

Great work for this app !

Do you think a dev on Iphone is possible ?

It looks like you used Appsheet for the interface (there are similarities on the UX, look and feel...) ?

I would like to try to implement a version for Iphone with appsheet, do you thing the code can be adapted ?

All Assist Settings are 100%

Been having trouble trying to change assist settings.
BBSHD
860C

My factory settings from controller and display were not working as desired.
Levels 1, 2, 3 are all exactly the same, seems to be about 4%
Levels 4, 5, 6 are what I use the most, but 4 starts at 50% or more.
Levels 7, 8, 9 are exactly the same, or very close.

I wanted to try the USB programmer to make these better.
However, using this Speeed App is not working as expected.

If I set them how I want them, or as they should be, they are ALL THE SAME, all of them operate at 300-400 watts.
If I set all assist levels to 0% then they all function as 0%, as expected.

Now that I have edited it once, I either get the 100% or 0%, I cannot set them to anything else.
Even loading saved settings does not work.

The only work around is to turn the "use display settings" option back on. And it goes back to the 1 2 3 being the same.

Why does it do this?
What am I doing wrong?

Is this project abandoned?

I would like to see this project continue to progress but it appears to have no activity in about a year - @mkopa can you confirm if Speeed is abandoned? If so, any chance of a source release to allow others to continue the development? If not, any timeline or plans for bluetooth dongle availability, next version of the application, features, etc.?

Option to show voltage instead of "battery life"

Title.

I want to see plain voltage instead of battery life.

It would be very easy to implement, and I'll even do it myself if you email me the source code. I'm not sure why you dont expose source code, you aren't charging anything or adding advertisements. But there are some other additions I would love to make, even as a long term contributor.

Connection via Bluetooth

Hi,

your tool is really awesome! Thanks a lot for your work.

You wrote, you will provide a connection via Bluetooth. How is the state?

BW Maximilian

hardware switch

The unpractical side of the app is the need to disconnect display cable to use it. A good idea could be a small waterproof switch box with a "Y" configuration (could simply have 2 6pos dipswitch inside) to make easy switch between original display and smartphone link (or bluetooth link when available in future)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.