Bafang M500 and M600 motors

rtp

Member
Nov 21, 2021
52
32
USA
@Hagbard and @captainhightop - thanks to both! I was thinking next step was buying a second one as backup to play with or search ES. Awesome info. About to head on a trip but following, especially as it seems like the remote really is a simple switch device.

I am curious as to your impressions of the DP160 - I didn't realize it was a rocker switch and through they were trying to be 'cute' yet way out of touch, and it was a touch screen input. Seems like less that thrilled with it? Only 5 PAS levels/can't set to 9?

If the remote is simple connections, I think I'm more inclined to try to Grin or Specialized part, but had completely discounted the DP160 - I suppose on incomplete info.

I've not taken mine apart, but just because the comms back from the head unit to the controller in the drive is CANBUS, doesn't mean you can't use a different switch to the HMI/screen.

Does the github repo have the wiring from the switch to the display too (the purple one)? It's a six pin connector, and there are 3 buttons. So could we use any 3 button individually switched controller? It all depends on how those switches work, are they basic digital inputs or some kind of resistor based network where each combination of switches gives a different resistance?

The documentation for the CA Slim aux input has a lot of info, I've attached it to this post so you can have a look.

I certainly agree that the bafang one is very vague though. I'm using the DP160 on my E10:
View attachment 84067

It is quite tall and the clamp breaks easily (I've 3D printed a hacky replacement for it). The whole display is a rocker switch, so it's very easy to press however.

On a side note, I've got a couple of ESP32 modules with onboard CANBUS that I was toying with the idea of using to make a headless type HMI with just some switches on the bars, but not got around to it yet (too many projects!). As the CA switch seems to work on voltage threshold (not discrete digital inputs), it would easy to use without modification. I'm not totally sure how the On/Off works on the controller either unless it's the same as the BBSXX where you just short a connection.
 

captainhightop

Active member
Feb 26, 2021
136
143
UK
@Hagbard and @captainhightop - thanks to both! I was thinking next step was buying a second one as backup to play with or search ES. Awesome info. About to head on a trip but following, especially as it seems like the remote really is a simple switch device.

I am curious as to your impressions of the DP160 - I didn't realize it was a rocker switch and through they were trying to be 'cute' yet way out of touch, and it was a touch screen input. Seems like less that thrilled with it? Only 5 PAS levels/can't set to 9?

If the remote is simple connections, I think I'm more inclined to try to Grin or Specialized part, but had completely discounted the DP160 - I suppose on incomplete info.


- The whole screen is the rocker switch , it is really weird, but not vague like the rubbery buttons on the DP240, so in general not bad.
- Five Levels (unless there is a really obscure hidden menu - nothing documented)
- Easy to accidentally knock and change level due to it's height (put it quite far away to avoid this)
- Clip is fragile and plastic just breaks unless you are super careful (I am not careful) - similar issue on eggrider with BBSHD
- Seems to be locked to kilometres for speed, with no other info (I'm not particularly bothered about this)
- No boost mode
- It does have walk mode, but like all the others too fiddly to be useful
- Has the light toggle
- As usual battery display is useless (give us a real wattmeter and battery usage feature please Bafang!)
 
  • Like
Reactions: rtp

rtp

Member
Nov 21, 2021
52
32
USA
Maybe worth to wait for this?

View attachment 84082

I guess that one's maybe somewhat incrementally better than the goofy 'protrusion' on the DP C240 remote, but it's an all in 1, limits to 5 PAS levels (I use 9), but does have a BT option.

Ergonomically, I guess if it's small enough, the battery indicator in the middle could be a tactile 'break' but it looks kinda chunky sticking up around 30mm/1"+ over the bar.

Might work ok for some. Guessing it's another push towards some variation of the Bafang Go app, and may or may not turn out to be M600 compatible?
 

rtp

Member
Nov 21, 2021
52
32
USA
That's what I (and I think @captainhightop ) already have. I'm not a fan of that remote and the screen is really crap in sunshine, not to mention that the underbar nature of the clamp has always felt a bit weird to me. I don't hate it, but I do feel like it could be better.

@thaeber that looks neat, but I still think that the buttons are in the wrong orientation, i.e. they should be horizontally placed rather than vertically. It's a bit like underbar dropper levers vs those weird ones that sit around the bar, with the latter being ergonomically rather awkward. Do we have any idea how much that's likely to cost?

I might have to do a bit of CAD to mockup (and 3d print and try out) some possible button layouts, though I can't help but feel that accomodating a brake lever, a dropper lever and 3 buttons might be rather challenging and I'm really not sure that I'm clever enough to work out how to do it!

Same. (already have DP C240).
I'm OK-ish with the DP C240 display, mostly as I don't bother looking at it all that much and at least it tucks out of the way, but the remote is atrocious. I wouldn't mind the display being more glare-resistant, and maybe 1cm longer/taller...

I rotate the remote so my thumb can hit up/down without thinking, and can live with the button feel, but of course at that point the power button 'extrusion' is just waiting to get smacked by <something>.

Interesting on the horizontal comment. For me I'd be good with slim/tucked in vertical placement so I don't have control overlap madness with a horizontal dropper remote, etc. That Giant one is looking pretty nice - could be a bit narrower but bet could adjust to it darned quick and no more worries about killing the remote in even casual riding.
 

thaeber

Well-known member
Jan 26, 2021
888
769
Bruchsal, Germany
That's what I (and I think @captainhightop ) already have. I'm not a fan of that remote and the screen is really crap in sunshine, not to mention that the underbar nature of the clamp has always felt a bit weird to me. I don't hate it, but I do feel like it could be better.

@thaeber that looks neat, but I still think that the buttons are in the wrong orientation, i.e. they should be horizontally placed rather than vertically. It's a bit like underbar dropper levers vs those weird ones that sit around the bar, with the latter being ergonomically rather awkward. Do we have any idea how much that's likely to cost?

I might have to do a bit of CAD to mockup (and 3d print and try out) some possible button layouts, though I can't help but feel that accomodating a brake lever, a dropper lever and 3 buttons might be rather challenging and I'm really not sure that I'm clever enough to work out how to do it!
True, the remote is kind of chunky. The display has a nice format and safe position slightly below the handlebar, I like that. The visibility is the problem. Yesterday I played around a little with the settings. I changed brightness to 75%, and AI Senitivity to „0“. Now the display does not adopt to change of light conditions and is bright enough to be visible, even when sunny. Big improvement.
 

captainhightop

Active member
Feb 26, 2021
136
143
UK
@captainhightop Look at this:


6 pins out.....Interesting.....
Sounds promising, more so than the Shimano steps one, that looked like just 2 wires to me (DI2 I think they call it)
Also looks user serviceable with the screws on the side
 

Puschtrale

Active member
Jan 19, 2021
220
166
Dobbiaco
Sounds promising, more so than the Shimano steps one, that looked like just 2 wires to me (DI2 I think they call it)
Also looks user serviceable with the screws on the side
If there would be anyone that could work on the connector of the giant remote to be able to connect it with the dcp240 display I would definitly pull the trigger 😊👍👌. Maybe someone could help me out?
 

captainhightop

Active member
Feb 26, 2021
136
143
UK
If there would be anyone that could work on the connector of the giant remote to be able to connect it with the dcp240 display I would definitly pull the trigger 😊👍👌. Maybe someone could help me out?
We could do with someone who has one of those switch units, who can disconnect it and check the wiring with a DVM for continuity when switches are pushed. Also although my tests looked favourable, I'm waiting on the HIGO connectors to properly verify my theory.

But if everything works out we could cut off the giant connector and add a HIGO! Not sure how long those are going to take from Aliexpress, but I've got a box full of different push switches to try out too.
 

Puschtrale

Active member
Jan 19, 2021
220
166
Dobbiaco
We could do with someone who has one of those switch units, who can disconnect it and check the wiring with a DVM for continuity when switches are pushed. Also although my tests looked favourable, I'm waiting on the HIGO connectors to properly verify my theory.

But if everything works out we could cut off the giant connector and add a HIGO! Not sure how long those are going to take from Aliexpress, but I've got a box full of different push switches to try out too.
Let me know if you have more information. I would definitly try it out with the giant remote ✌. Would be a great improvement
 

Waynemarlow

E*POWAH Master
Dec 6, 2019
1,126
902
Bucks
Over on ES there's quite a discussion going on re the switching of the start up and shut down of the M series motors, you may want to have a look in.
 

captainhightop

Active member
Feb 26, 2021
136
143
UK
Over on ES there's quite a discussion going on re the switching of the start up and shut down of the M series motors, you may want to have a look in.
Looks there is also complete schematic for a HMI and display on there too using the nordic semi microcontroller:
1647688438823.png

The nRF52840 is a nice choice as it's small has bluetooth and ANT. Which means it may integrate with Garmin or other cycle computers, HR monitors etc.

At the moment, I'm concentrating on just the switch gear, but this design is pretty much what we've all been talking about long-term. I've got one of those SPI OLEDs and it's not a bad display at all, although keeping everything dry could be a challenge. I'm not sure how easy the Nordic board is to program compared to more mainstream boards (ESP32/NodeMCU etc.)

I tend to prefer the idea of hiding the electronics away and not having a display, just using the cycle computer via ant/bluetooth is my preference, but none of this circuit actually needs the display to work anyway.

Another massive benefit of making your own HMI and not using Bafang's DP C240 would be the opportunity change button functionality or add/remove buttons depending on your preferences.
 
  • Like
Reactions: rtp

Waynemarlow

E*POWAH Master
Dec 6, 2019
1,126
902
Bucks
My thoughts are to parallel in the above design less display, use the DP C241 as the base display ( its actually quite good, waterproof and discrete ) and use my Garmin as the main display for engine info ( ES also lists a way of creating your own App within the Garmin ) which combines all the motor functions + Nav in one unit.

For those of you who are slightly less firmware savy than I ( which is not much more than basic stuff ) the Nordic board is used to take the Bafang CAN signals and then broadcast them as ANT LEV which is what the Garmin understands, via bluetooth. There are a couple of other benefits as well such as you wouldn't need a BEEST tool to make changes to the Bafang firmware as the Nordic module will talk in both directions. Things such as On road / off road modes could be controlled by the Garmin.

Certainly keeping an eye on this development as the main character Casainho has taken the TSDZ2 engine ( plus quite a few others ) from being a cheap and cheerful engine to something thats not far behind the M series motors ( and in some ways ahead ). As soon as he has an engine in hand and stabilises the design / firmware, I will definately be in for a play.
 

Neeko DeVinchi

E*POWAH Elite World Champion
Dec 31, 2020
1,039
1,381
UK
Just a quick question,
Has anyone tried this display?

If not, no worries as I've ordered one as I'm sick and tired of using the Shimano Rip-off display without running a 35mm bar and stem combo.
 

Waynemarlow

E*POWAH Master
Dec 6, 2019
1,126
902
Bucks
Just a quick question,
Has anyone tried this display?

If not, no worries as I've ordered one as I'm sick and tired of using the Shimano Rip-off display without running a 35mm bar and stem combo.
Somewhere on this forum was a link to a German guy who had a 3D print of a small spacer that expanded the bar strap to account for the 35mm bar. Equally there used to be on EBay the spacer milled out of Ali.

 

thaeber

Well-known member
Jan 26, 2021
888
769
Bruchsal, Germany
Somewhere on this forum was a link to a German guy who had a 3D print of a small spacer that expanded the bar strap to account for the 35mm bar. Equally there used to be on EBay the spacer milled out of Ali.

Not from Ebay mate. Handcrafted German Engineering! 😂
 

Kyokushin

Active member
Mar 28, 2021
332
195
Sol
Guys, i have placed the M600 controller (with 15A limited firmware) to M500 and it feels stronger of course.
However i have switched the power output to Ampers and started look on it.

I am not sure which one of firmwares now are more torque required to get full power, my old 13A or new 15A on new controller, so i have two things for M600 users.
1) what is the most 'soft firmware' for M600?
2) could you try this 15A (CRX10NC4815i132020.8-20210924.bin ) firmware for M600 and tell me it require more torque than your standard 18A?
3) M500 and M600 have same torque sensor or its different?
 
Last edited:

captainhightop

Active member
Feb 26, 2021
136
143
UK
Received the HIGO connectors today, and wasted no time in making a contraption to test my theory about the buttons:
1648825315061.png

Turns out, it works:
Initial voltage across pins 5 and 6 (pwr button) is 50V, but after power up, it's about 4.8V

So:
After powerup
PWR 4.8V
UP:3.3V
DOWN:4.8V
No idea why UP is different to the other two, but it still works as a simple switch going to zero when pressed like all the others
 
Last edited:

captainhightop

Active member
Feb 26, 2021
136
143
UK
I see. So your intending on using the stock controller but adapt the connectors.

Its plausible that this could work.

Keep us posted @captainhightop 👍🏿
Yes, initially my aim was to replace the button cluster with something lower profile (like the giant or specialized one), maybe design and print my own or just splice the cable into one of those.

Long-term I'm looking at the Nordic semiconductors microcontroller to replace the whole HMI on the bars, but that's a much harder job, although people are working on the CANBUS protocol already.

As it's got ANT and I think bluetooth, I'm hoping that I can use it to add panels to my cycle computer (for battery/RPM etc.) and only have that as a display on the bars with the microprocessor out of sight inside the bike frame (still have the buttons on the bars though).
 

Neeko DeVinchi

E*POWAH Elite World Champion
Dec 31, 2020
1,039
1,381
UK
Yes, initially my aim was to replace the button cluster with something lower profile (like the giant or specialized one), maybe design and print my own or just splice the cable into one of those.

Long-term I'm looking at the Nordic semiconductors microcontroller to replace the whole HMI on the bars, but that's a much harder job, although people are working on the CANBUS protocol already.

As it's got ANT and I think bluetooth, I'm hoping that I can use it to add panels to my cycle computer (for battery/RPM etc.) and only have that as a display on the bars with the microprocessor out of sight inside the bike frame (still have the buttons on the bars though).
Fair enough.

I'm speaking with someone also in an effort to adapt the communication protocol from CANBus to something else (maybe UART or something along those lines). My enquiries has revealed that all signs point to the controller (or swapping it out). My issue is that I'd rather not run an external controller.
20220401_165041.jpg


Makes it look a bit ugly and adds another point of vulnerability.
20220401_165058.jpg


Still, it's nice to know that I'm not alone in trying to adapt older displays to run on the newer bafang motors.
 

Hagbard

Active member
Aug 25, 2021
103
54
York
Still, it's nice to know that I'm not alone in trying to adapt older displays to run on the newer bafang motors.

I don't think that's the point at all. The idea is to build our own display and buttons, with either improvement ergonomics (in the case of the buttons) or improved capabilites, such as the ability to integrate with a garmin watch, in the case of the display. Going from CANBus to UART seems a little regressive, though it does make sense if your motivation is to use UART displays.
 

Neeko DeVinchi

E*POWAH Elite World Champion
Dec 31, 2020
1,039
1,381
UK
I don't think that's the point at all. The idea is to build our own display and buttons, with either improvement ergonomics (in the case of the buttons) or improved capabilites, such as the ability to integrate with a garmin watch, in the case of the display. Going from CANBus to UART seems a little regressive, though it does make sense if your motivation is to use UART displays.
Hmmm!!
Food for thought.

Although one does ask the question, why not wait for a well known third party developer to build the display?

Eggrider comes to mind as they've pretty much covered alot of non-mainstream ebike motor brands.
 

Kyokushin

Active member
Mar 28, 2021
332
195
Sol
CAN is imo huge disadvantabe. With uart you can do everything, with can - nothing as we can see here, at least no one did.
1648842133463.png

Thats the most wanted feature we dont have in M500/M600. To remove a limit and enable/disable throttle at one click.
 

Hagbard

Active member
Aug 25, 2021
103
54
York
Hmmm!!
Food for thought.

Although one does ask the question, why not wait for a well known third party developer to build the display?

Eggrider comes to mind as they've pretty much covered alot of non-mainstream ebike motor brands.
I guess for 2 reasons:

1) Fun
2) It feels like the m500/600 series of motors have been superceded now so the odds of a third party undertaking any significant development on this old platform feels low.

It does still feel like there's loads of potential to still be unlocked with these motors, and as knowledge matures (which it's currently doing at a fantastic rate) we'll see some pretty interesting things.
 

rtp

Member
Nov 21, 2021
52
32
USA
Hmmm!!
Food for thought.

Although one does ask the question, why not wait for a well known third party developer to build the display?

Eggrider comes to mind as they've pretty much covered alot of non-mainstream ebike motor brands.

Lol - as it is, a well known manufacturer (Bafang) can’t even get basic things right, or release displays and control pads actually suitable for riding. ‘Wait’ may be a loong wait, and no guarantees what they think someone wants - actually is.
Why did you build your own E22 (ok, other than for YT subs), and why not just wait for a well-known third party to just build the bike you want? :D

Hope you get the point… information is useful and lets people build what they want.

The Eggrider is neat, although not everyone wants an SW102 with custom firmware on it. The Giant control pad to me, is near perfection, and at least seems a much more robust solution vs the ‘dangling bits’ on the DP C240 controls.

RE: displays - people have widely differening desires there. Some want a tablet-sized display with all possible sensors being read, some want absolutely minimal. Some want integrated into the bike’s frame, others are fine with it above or below the bars. Pretty unlikely for a ‘well-known third party‘ to scratch all of those itches…

Even if EggRider does come out with an ER for CAN motors, it’s questionable as to if any additional configuration will be accessible, unless they are well beyond where the guys on ES and OpenEbike Firmware github projects are in decoding the CAN commands, which last I checked (been a few, possible more progress has been made) was more or less the one-time settings - wheel diameter and I think top speed? It’s an undertaking…at least short of building a replacement controller (like e.g. the Luna LudiV2 VESC - for BBHSD, M600 now - seems a matter of time before M620, M500 - if they decide to ever sell separately, or the Innotrace - which US buyers are locked out of due to WattWagons exclusive but inability to deliver..).

I’ll gladly take any steps <forward> which Capt, Hagbard and others seem to be making awesome progress on.
 

rtp

Member
Nov 21, 2021
52
32
USA
I guess for 2 reasons:

1) Fun
2) It feels like the m500/600 series of motors have been superceded now so the odds of a third party undertaking any significant development on this old platform feels low.

It does still feel like there's loads of potential to still be unlocked with these motors, and as knowledge matures (which it's currently doing at a fantastic rate) we'll see some pretty interesting things.

RE: Superceded - you mean by the M510 and <something else, maybe I missed, a new M6** series?>

Totally agree on knowledge maturing.
I have to say as a US-born ‘power hungry’ car and motorcycle fanatic, over time I had already adjusted on vehicles to - insane power is neat and addictive, but I also like to turn/have handling, so moved from muscle cars to forced induction Miatas of all things, and never looked back.

On ebikes - I had a BBHSD, and tired of the ‘let’s go 15 miles (max) on throttle and high assistance’ pretty quickly and was normally riding it in PAS 2 (of 9) for most trail riding, then moved on to an M600 (Ludi V2/VESC controller). I usually ride it in PAS 2 of 9, non-Ludi Trail mode (LudiV2 controller has 3 profiles for max power, throttle sensitivity etc., where max power is what you get at top PAS level, e.g. 3 of 3, 5 of 5, 9 of 9), quite happily.

I recently rented an M500 in Prague, and was expecting to be sorely underwhelmed, but I have to say, it did alright, and I rode mostly in PAS 2-3 of 9, doing a 50km ride. I certainly bumped it up higher more than on my M600 for similar riding, but it wasn’t all bad. If I wanted a motorcycle, well I have those as well, and while I think the EU speed/power restrictions are nonsensical, I can say I don’t routinely need e.g. an M620 or > 1kW peak power.

I’d be rather happy if we could source <not from Bafang> all parts to keep M500/600s running ourselves for years to come, while I think the real benefits to come are mostly around the controller programming and software. Granularity/number of breakpoints for torque sensor output, modes like ‘emtb’ on non-Bafang motors, and the ability to adjust settings sanely for things like rider weight and style of riding, without being locked into e.g. Bafang only batteries and such - would be a pretty decent foreseeable future to me.

Interestingly the LudiV2 already has a gyro build-in, and I know some brand or another was making some fuss over an ‘angle sensor’ although I’m not sure exactly how their programming used it - am guessing it was simplistic and perhaps just boosting assistance on steep uphills or something?

Given custom controllers with a couple of GPIO ports, additional sensors can be added (or upgraded), while BLE/BT can connect to more comprehensive ‘displays’ or for tuning/adjustments, etc. Better yet, with open source firmware, there’s at least a chance to improve the same hardware’s functionality and performance over time.

One thing I am hoping for is subsequent Bafang motors keep the same mounts, at least giving a path to replacement, but also in that the form factor for controllers remains somewhat constant - PCB layout and testing is time/$-consuming already, but given the same form factor, unless there’s a truly revolutionary overhaul, it may be possible to e.g. have a single (aftermarket or open source) controller capable of working for M500/510/600/<next> which would certainly benefit us all.
 

EMTB Forums

Since 2018

The World's largest electric mountain bike community.

559K
Messages
28,288
Members
Join Our Community

Latest articles


Top