Programming the Bafang Middrive BBS01+BBS02

Discussions related to motors other than hub motors.
This includes R/C motors, botttom bracket, roller and geared drives.
Post Reply
User avatar
mushymelon   1 kW

1 kW
Posts: 300
Joined: Mar 28 2010 3:46am
Location: Southern Ontario, Canada

Re: Programming the Bafang Middrive BBS01+BBS02

Post by mushymelon » May 01 2014 8:04pm

Somebodystopme!! wrote:
mushymelon wrote:Are these the ttl adapters we need to program this unit and if so why are people paying $15-$20 dollars for them?

http://www.ebay.com/sch/i.html?_odkw=us ... &_from=R40
Convenience. The $15 ones are local and don't have to be ordered. You will almost always pay more to buy from a local brick n mortar.
Ok so they are the right ones, and I do understand why you would pay the money to pick one up locally just wanted to make sure it was the same thing before I ordered one.

Cheers

Mushy

Rusty123   100 W

100 W
Posts: 109
Joined: Jan 05 2014 6:12pm
Location: Washington State, USA

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Rusty123 » May 01 2014 8:04pm

Sugru might be good for binding the pins together.

User avatar
mushymelon   1 kW

1 kW
Posts: 300
Joined: Mar 28 2010 3:46am
Location: Southern Ontario, Canada

Re: Programming the Bafang Middrive BBS01+BBS02

Post by mushymelon » May 01 2014 8:10pm

Rusty123 wrote:Sugru might be good for binding the pins together.

Sugru

lol thought that was a typo, Googled it looks like fun stuff to play with.

User avatar
Kepler   1 GW

1 GW
Posts: 3228
Joined: Nov 08 2009 9:22pm
Location: Eastern suburbs Melbourne Australia

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Kepler » May 01 2014 8:11pm

They should work but you just never really know if the adapter is fully compatible and what drivers are available. I used the CA3 adapter because it is great quality and you know it will work. As with most things in life, you get what you pay for. BTW, I think you can get the CA3 USB-TTL direct from FTDIchip.

Other reason was that i already had one :mrgreen:
Current Rides

Lightest true ebike on the planet: ON ROAD viewtopic.php?f=6&t=74269
eBoost on facebook: http://www.facebook.com/pages/Eboost/200306283342024/

User avatar
mushymelon   1 kW

1 kW
Posts: 300
Joined: Mar 28 2010 3:46am
Location: Southern Ontario, Canada

Re: Programming the Bafang Middrive BBS01+BBS02

Post by mushymelon » May 01 2014 8:31pm

Kepler wrote:They should work but you just never really know if the adapter is fully compatible and what drivers are available. I used the CA3 adapter because it is great quality and you know it will work. As with most things in life, you get what you pay for. BTW, I think you can get the CA3 USB-TTL direct from FTDIchip.

Other reason was that i already had one :mrgreen:
Thanks for that you gave me an idea, I already have a Lyen programming cable

Has a pl2303hx chip in it that should work i think.

User avatar
teslanv   100 MW

100 MW
Posts: 2675
Joined: Nov 03 2013 8:42pm
Location: Bellevue, WA - USA
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by teslanv » May 01 2014 8:51pm

mushymelon wrote:Are these the ttl adapters we need to program this unit and if so why are people paying $15-$20 dollars for them?

http://www.ebay.com/sch/i.html?_odkw=us ... &_from=R40
They are the same. Your operating system may or may not recognize them and install drivers for them. So you are taking a chance there, and waiting a week or more.
DD Hubs, Batteries, Controllers & Custom Ebikes.
http://westcoastelectrics.com
West Coast Electric Cycles
Bellevue, WA
USA

User avatar
Kepler   1 GW

1 GW
Posts: 3228
Joined: Nov 08 2009 9:22pm
Location: Eastern suburbs Melbourne Australia

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Kepler » May 01 2014 9:25pm

mushymelon wrote:
Kepler wrote:They should work but you just never really know if the adapter is fully compatible and what drivers are available. I used the CA3 adapter because it is great quality and you know it will work. As with most things in life, you get what you pay for. BTW, I think you can get the CA3 USB-TTL direct from FTDIchip.

Other reason was that i already had one :mrgreen:
Thanks for that you gave me an idea, I already have a Lyen programming cable

Has a pl2303hx chip in it that should work i think.
Should be fine. I was going to use that one but I couldn't get a Windows 8 Prolific driver for it. You just need to work out the pin assignment.
Current Rides

Lightest true ebike on the planet: ON ROAD viewtopic.php?f=6&t=74269
eBoost on facebook: http://www.facebook.com/pages/Eboost/200306283342024/

User avatar
teslanv   100 MW

100 MW
Posts: 2675
Joined: Nov 03 2013 8:42pm
Location: Bellevue, WA - USA
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by teslanv » May 02 2014 7:06am

mushymelon wrote:
teslanv wrote:I think one could plug individual female leads onto the pins of the connector, and then hot glue them all as a bunch to make them into a single plug. - You would need to be careful not to permanently hot glue them to the Bafang connector and to be able to reregister them in the proper pin positions again, however.

Does what I just wrote make any sense?
I was thinking the same thing sorta.

I don't think using the original connector is the best bet. I was thinking of using some clay or something soft to make an impression of the original female connector. Using bare female/pins the ones you crimp on, bury them in the imprinted clay as deep as they would go into the connector then find a paper or plastic tube that has the same diameter as the connector, centre it over the pins and fill it with epoxy .

I will probably shrink tube the pins first so the epoxy doesn't leech inside the connectors.

Does this make sense?
I just had another thought.
We need someone with a 3D printer. Problem solved.
DD Hubs, Batteries, Controllers & Custom Ebikes.
http://westcoastelectrics.com
West Coast Electric Cycles
Bellevue, WA
USA

amigafan2003   1 kW

1 kW
Posts: 459
Joined: Jul 14 2011 10:05am
Location: UK

Re: Programming the Bafang Middrive BBS01+BBS02

Post by amigafan2003 » May 02 2014 7:27am

Rusty123 wrote:Sugru might be good for binding the pins together.
Damn, that's a good idea! I have some left in the fridge from a project I started at the beginning of the year.

Connect the pins, spray some wd40 into the connector to act as a releasing agent and push some Sugru in and voila - a ready made connector.

Project for tomorrow!

User avatar
Arvicola Terrestris   100 W

100 W
Posts: 109
Joined: Apr 26 2014 5:01pm
Location: Copenhagen - Denmark

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Arvicola Terrestris » May 02 2014 12:33pm

Has anybody got access to the advanced settings on the C963 display (if any/possible at all)?

I have tried the same procedure as for the C961 with no success :(

/Philip
Christiania cargo trike, Bafang bbs02 750W, 48v, 16s2p LiFePO4 30Ah, 50kg
Grace mxII Urban S, 2. gen. Bosch 350W, 36v, Bosch Powerpack 400 11Ah, 23kg
Trek T420+, BionX PL250 HT, 250W, SRAM 3 speed IGH, 36v LiMn 9,6Ah, 20kg

U.S. Costomary Unit = SI Equivalent:
Length: in. = 25.40mm - ft = 0.3048m - mi = 1.609km
Mass: oz = 28.35g - lb = 0.4536kg
Pressure: psi = 6.895kPa (MPa = N/mm^2)
Velocity: mph = 1.609km/h
Volume: gal = 3.785l

User avatar
jateureka   10 kW

10 kW
Posts: 824
Joined: Apr 06 2010 7:18pm
Location: Brisbane, QLD Australia

Re: Programming the Bafang Middrive BBS01+BBS02

Post by jateureka » May 02 2014 5:06pm

Arvicola Terrestris wrote:Has anybody got access to the advanced settings on the C963 display (if any/possible at all)?

I have tried the same procedure as for the C961 with no success :(
Download display C963 Manual here http://www.bike-emotion.org/downloads/m ... f-c963.pdf
Settings start page 11 but it does not have advanced settings.
E-bikes: Bafang 8FUN; Mac; Ezee; FreeGo; Aprilia 7s LiPo; eLation V2; TerraTrike recumbent
E-motorbikes: ZEV 7100 LR scooter, 84V 60Ah LiFePO4.
ZERO 2011 S motorcycle, 51.8V 70Ah LiMno2, 2012 headlight, Kilovac EV-200 contactor
E-mower: EGO 56V mower & line trimmer

User avatar
Arvicola Terrestris   100 W

100 W
Posts: 109
Joined: Apr 26 2014 5:01pm
Location: Copenhagen - Denmark

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Arvicola Terrestris » May 03 2014 2:25am

So apparantly there aren't any hidden ekstras :(

I'm getting the C961 so i can get more PAS settings. Sad because i like the C963 with buttons build in.

/Philip
Christiania cargo trike, Bafang bbs02 750W, 48v, 16s2p LiFePO4 30Ah, 50kg
Grace mxII Urban S, 2. gen. Bosch 350W, 36v, Bosch Powerpack 400 11Ah, 23kg
Trek T420+, BionX PL250 HT, 250W, SRAM 3 speed IGH, 36v LiMn 9,6Ah, 20kg

U.S. Costomary Unit = SI Equivalent:
Length: in. = 25.40mm - ft = 0.3048m - mi = 1.609km
Mass: oz = 28.35g - lb = 0.4536kg
Pressure: psi = 6.895kPa (MPa = N/mm^2)
Velocity: mph = 1.609km/h
Volume: gal = 3.785l

User avatar
tomjasz   10 GW

10 GW
Posts: 4139
Joined: Mar 29 2014 1:45pm
Location: Out riding, MN USA
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by tomjasz » May 03 2014 5:06am

Kepler wrote:
Problem is, as it stands, its a time consuming process to make a plug and play cable with what we currently have available. Although there are cheap USB-TTL converters out there that will work, I used this one from Grin http://www.ebikes.ca/shop/ebike-parts/c ... a-usb.html. It is a quality adapter with full driver support right up to the the latest Windows 8.1. I know that Justin went through a lot of testing before selecting this cable for programing the CA3's.

For the adapter plug from Jaycar, these cost $15 then I have about an hours work to assemble the cable including time on the lathe carefully turning the diameter down to suit.

So for me to make it, you are now looking at a $50 adapter plug plus you still need to buy the $18 USB-TTL converter from Grin.

Anyway, that's the plug and play option. Not cheap and to be honest $50 isn't really worth my while for the amount work involved.
but with those two parts, if I am grasping this at all and chances are I'm not, we could make jumper wires from the plug to plug? For me a picture of a jury rigged setup, and link to proper parts, would be sufficient. Reading back to see if I've missed it.

Edit,

I think better pictures of this setup might get me there. With hopes for a better solution down the road.

http://endless-sphere.com/forums/viewto ... 25#p884525
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.

amigafan2003   1 kW

1 kW
Posts: 459
Joined: Jul 14 2011 10:05am
Location: UK

Re: Programming the Bafang Middrive BBS01+BBS02

Post by amigafan2003 » May 05 2014 7:53am

tomjasz wrote:
Edit,

I think better pictures of this setup might get me there. With hopes for a better solution down the road.

http://endless-sphere.com/forums/viewto ... 25#p884525
Any help?

Image
Image
Image

The black stuff is Sugru - air drying modelling putty - I put it on the cables when they were connected to the plug and let it dry overnight.

User avatar
tomjasz   10 GW

10 GW
Posts: 4139
Joined: Mar 29 2014 1:45pm
Location: Out riding, MN USA
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by tomjasz » May 05 2014 10:14am

amigafan2003 wrote:
Any help?
Yes another good plan. Thanks! Any special usb cable?
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.

amigafan2003   1 kW

1 kW
Posts: 459
Joined: Jul 14 2011 10:05am
Location: UK

Re: Programming the Bafang Middrive BBS01+BBS02

Post by amigafan2003 » May 05 2014 10:20am

tomjasz wrote:
amigafan2003 wrote:
Any help?
Yes another good plan. Thanks! Any special usb cable?
Just this:-

http://cgi.ebay.co.uk/ws/eBayISAPI.dll? ... OC:GB:3160

Drivers downloaded from Prolific website:-

http://www.prolific.com.tw/US/ShowProdu ... 25&pcid=41

User avatar
tomjasz   10 GW

10 GW
Posts: 4139
Joined: Mar 29 2014 1:45pm
Location: Out riding, MN USA
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by tomjasz » May 05 2014 1:31pm

Great, Now to flash back 10 years and get acquainted with Windoze again. I'm rusty after a decade of Mac OS.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.

amigafan2003   1 kW

1 kW
Posts: 459
Joined: Jul 14 2011 10:05am
Location: UK

Re: Programming the Bafang Middrive BBS01+BBS02

Post by amigafan2003 » May 05 2014 4:00pm

tomjasz wrote:Great, Now to flash back 10 years and get acquainted with Windoze again. I'm rusty after a decade of Mac OS.
Mac drivers:-

http://www.prolific.com.tw/US/ShowProdu ... 29&pcid=41

User avatar
Samd   1.21 GW

1.21 GW
Posts: 3667
Joined: Jun 28 2011 11:08pm
Location: Ballarat, AU
Contact:

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Samd » May 05 2014 7:46pm

Happy to help with 3d printing. Good thread. I have a c963 also and hope to reprogram.
http://ballaratebikes.com/

ImageImageImage
"Knowledge is knowing that a tomato is a fruit. Wisdom is knowing that a 165mm rear shock can't deliver 220mm of rear swingarm travel." - Oprah Winfrey.

samsavvas   100 W

100 W
Posts: 268
Joined: Aug 25 2012 7:37pm
Location: South Australia

Re: Programming the Bafang Middrive BBS01+BBS02

Post by samsavvas » May 05 2014 9:14pm

With regard to finding a connector to match the Bafang motor's controller input, might this help? http://www.bike-emotion.org/images/bbs- ... l-2014.jpg

Savvas

User avatar
Somebodystopme!!   10 W

10 W
Posts: 72
Joined: Dec 25 2013 12:39am

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Somebodystopme!! » May 05 2014 10:14pm

samsavvas wrote:With regard to finding a connector to match the Bafang motor's controller input, might this help? http://www.bike-emotion.org/images/bbs- ... l-2014.jpg

Savvas
it would help but 25 Euros + shipping and tax is a stiff price to butcher a harness for just one plug. (IMHO)

samsavvas   100 W

100 W
Posts: 268
Joined: Aug 25 2012 7:37pm
Location: South Australia

Re: Programming the Bafang Middrive BBS01+BBS02

Post by samsavvas » May 06 2014 12:02am

Somebodystopme!! wrote:it would help but 25 Euros + shipping and tax is a stiff price to butcher a harness for just one plug. (IMHO)
I agree on the $$$. But maybe you could put a conventional plug/socket arrangement - suitable sleeved in heat shrink - behind the plug in question, with a matching connector to the USB link. May be easier and more convenient in the long run...

Savvas.

amigafan2003   1 kW

1 kW
Posts: 459
Joined: Jul 14 2011 10:05am
Location: UK

Re: Programming the Bafang Middrive BBS01+BBS02

Post by amigafan2003 » May 06 2014 2:23am

samsavvas wrote:With regard to finding a connector to match the Bafang motor's controller input, might this help? http://www.bike-emotion.org/images/bbs- ... l-2014.jpg

Savvas
No - that's the wrong end. That''s the end you plug into to program.

You'd need the display side connector to chop up.

User avatar
mwkeefer   10 MW

10 MW
Posts: 2263
Joined: Jun 14 2009 8:47am
Location: Malvern, PA USA

Re: Programming the Bafang Middrive BBS01+BBS02

Post by mwkeefer » May 08 2014 1:44am

Hey all,

I've run into a bit of an issue with my BBS02 48v 750w unit and am hoping for some clarification from early adopters.

In a recent folding accident I damaged the connector which is closest to the motor and connects to the loom for the front including the LCD. My connectors look nothing like anyone elses and in fact have 8 actual conductors.

If I have my information right I want to use the following five lines when programming:

TX - Green
RX - Yellow
vBatt - Red
Controller On - White, tie to vBatt
GND - Black

There are an additional three wires in my loom - Brown, Blue and Orange... anyone know which these wires are for in the older model (Ive had this one for about 9 months without issue except an occasional bent derailer hanger).

In either case - Since I damaged the cable anyway I decided to break the loom into a single 4S JST/HXT (5 conductor for programming) and a 2S JST / HXT to connect the unknown wires in the loom.

Just FYI: Im working on decoding the LCD protocols using a high impedance microcontroller logger to decode various commands and hopefully eliminate the need for the LCD display without loosing function.

Thanks in advance for any assistance you can offer!

Regards,
mwkeefer
Regards,
Mike

{My Rides]
2010 Dahon Jack - GNG v1 - LYEN 6FET - 20/40A - 18S2P10AH - Nom:66.6v,1332w
2004 Hard Rock Pro Disc - Recumpence ms eDrive v4 - Astro 3220 4T - 12S2P16AH - HV110 - Left Side Drive - Gearing: 38mph
Nominal Peak Power @ 60 seconds: 5328 watts - Maximum Power: 49.8v, 120A, 5872w
2010 Downtube 8FH - Stock GNG v1 Stock Controller - EB809XC - 12-16S
2012 Downtube Nova 7spd - Stock GNG v2 - 12S2P10AH - EB809 - 12S-16S - 20A/30A,Nom VCC: 44.4, 888w

User avatar
Somebodystopme!!   10 W

10 W
Posts: 72
Joined: Dec 25 2013 12:39am

Re: Programming the Bafang Middrive BBS01+BBS02

Post by Somebodystopme!! » May 08 2014 9:07am

There are an additional three wires in my loom - Brown, Blue and Orange... anyone know which these wires are for in the older model (Ive had this one for about 9 months without issue except an occasional bent derailer hanger).

Sorry to hear about your accident! Perfect time to put in a custom harness though.

It sounds like those extra wires are for the throttle or brake cutouts.. They should be in your main harness as well as the 5 for the controller/display..

Post Reply