XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
User avatar
chucho   1 kW

1 kW
Posts: 358
Joined: Dec 15 2012 1:58pm
Location: EU Paradise; Sp

Re: XPD: open-source keywin e-bike lab replacement

Post by chucho » May 06 2014 11:21am

Thank you very much for the work and sharing :!: :!: :!:
Someone who does not doubt is a danger to the rest

9c+24slipo+60A lyen12fets+CAv3+26"hookworms=Fun commute
Cargobike+9c+13s33Ah=Fun transport
Kona entourage+ gng+ 40A lyen12fets+CAv3=Fun crosscountry
Flux+adaptto Max-e+Mxusv2+19" shinko= Monster fun Any Way

User avatar
Cowardlyduck   10 MW

10 MW
Posts: 2429
Joined: Jun 26 2011 8:41pm
Location: Canberra, ACT, Australia

Re: XPD: open-source keywin e-bike lab replacement

Post by Cowardlyduck » May 17 2014 6:14am

I've lost the install file I previously downloaded for V0.3.2 of xpd, and it seems all the links in this thread are now dead.

Is anyone able to re-post it somewhere for general download?

Cheers
High Power LiPo wiring harnesses - 4P - XT90, HXT4mm, 5.5mm. 200Amp+ capable. Global shipping.

Modified Stealth Fighter - Force air cooled motor @ 6KW, Heat-sinked Adaptto Mini-E. 49AH, 52V 18650 - 2.5Kwhr
Cowardlyducks - Stealth Fighter Videos

BikeE recumbent commuter - 9C, 6Fet Grinfineon, internal 17AH, 52V, + on-board solar.

The stuff I make and modify.

User avatar
izeman   10 GW

10 GW
Posts: 4690
Joined: Jun 21 2011 8:25am
Location: vienna, austria
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by izeman » May 17 2014 10:24am

here you go: https://dl.dropboxusercontent.com/u/117 ... -0.3.2.zip
should include everything. pm me if it's missing something

User avatar
Cowardlyduck   10 MW

10 MW
Posts: 2429
Joined: Jun 26 2011 8:41pm
Location: Canberra, ACT, Australia

Re: XPD: open-source keywin e-bike lab replacement

Post by Cowardlyduck » May 18 2014 4:44am

izeman wrote:here you go: https://dl.dropboxusercontent.com/u/117 ... -0.3.2.zip
should include everything. pm me if it's missing something
Awesome! Thanks heaps, was just what I was after.

Unfortunately, it doesn't seem to be helping my issue like I thought it would. I was after the install files so I could repair everything. That didn't work, so I uninstalled/reinstalled everything also, but still no luck.

This is the error I'm getting when launching xpd.pyw.
Error.jpg
Error.jpg (58.66 KiB) Viewed 2391 times
I'm running Win 7 x64. It worked fine previously. I hadn't run it in a couple of months, but I can't think of anything major changing recently to have caused something like this.

Anyone got any idea's?

Cheers
High Power LiPo wiring harnesses - 4P - XT90, HXT4mm, 5.5mm. 200Amp+ capable. Global shipping.

Modified Stealth Fighter - Force air cooled motor @ 6KW, Heat-sinked Adaptto Mini-E. 49AH, 52V 18650 - 2.5Kwhr
Cowardlyducks - Stealth Fighter Videos

BikeE recumbent commuter - 9C, 6Fet Grinfineon, internal 17AH, 52V, + on-board solar.

The stuff I make and modify.

User avatar
Hyena   100 GW

100 GW
Posts: 5624
Joined: Aug 13 2008 9:10am
Location: Sydney, Australia
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by Hyena » Jun 17 2014 9:58pm

Hey guys,
I haven't used XPD in ages, was there any update in the last year or so that enables higher voltage regen ?
Or are we still stuck with the hardware R12 hack ?
www.HyenaElectricBikes.com
Aussie high powered e-bike kits and custom performance ebikes
New FUTR and Hyena special edition Beta frames now available!
My build and HD video thread____. My youtube channel____ Hyena Facebook page
My bike is writing cheques my body can't cash...

User avatar
NeilP   10 GW

10 GW
Posts: 4955
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Jun 18 2014 11:09pm

Still with R12 mod from what I understand
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
jorijnsmit   1 mW

1 mW
Posts: 12
Joined: Feb 23 2012 9:33am

XPD Waiting Acknowledgment

Post by jorijnsmit » Jun 22 2014 11:43am

Love the XPD project, it is a shame I cannot find it at its usual spot anymore (http://xpd.berlios.de/ seems to be dead). Luckily the files did end up on Sourceforge somehow, at least that's where I was able to find them: http://sourceforge.net/projects/xpd.ber ... rce=navbar.

I got v0.3.2 running on OS X 10.9.3 (Mavericks) with some help of the pointers here in this thread, especially on how to get the Prolific's USB serial controller installed. All is well: I can start xpd from a terminal and, although it gives some errors about fonts and icons, get a GUI with which I was able to at least flash an EB212 I got from Lyen a long way back.

My actual goal however is to get an EB312 (12 FET 3077 MOSFET Extreme Modder Controller LYEN Edition) reconfigured but I do not get further than "Waiting Acknowledgement" after pressing the button on my USB cable. Letting go of the button and pressing it again gives me an error ("Upload failed: Invalid reply byte '55'" or "Upload failed: Invalid reply byte 'd5'", depending on how long I hold the button).

I am wondering if (1) anybody knows why my EB312 board does not reply with an acknowledgement and (2) if, despite not acknowledging, the board isn't flashed anyway.

Although I can not find a change log I decided it would be worth a shot to try v0.3.1 as well but to no avail. Can anybody recommend any other versions maybe?

User avatar
NeilP   10 GW

10 GW
Posts: 4955
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Jun 22 2014 2:18pm

EB 3xx and EB2xx require different wiring on the programming cable.

The USB side is the same, but you need a jumper wire from pin 1 to pin 5 on the controller end
The info why is on the forum here some where...I know I posted about it in the past.

Programming adapter.JPG
Programming adapter.JPG (113.23 KiB) Viewed 2301 times
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
jorijnsmit   1 mW

1 mW
Posts: 12
Joined: Feb 23 2012 9:33am

Re: XPD: open-source keywin e-bike lab replacement

Post by jorijnsmit » Jun 23 2014 1:59am

Lifesaver! You just saved me a lot of headaches.

So yeah instead of a red wire on the fifth pin going back to the button it jumps directly onto the first pin (white).

User avatar
NeilP   10 GW

10 GW
Posts: 4955
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Jun 23 2014 4:44am

The button unit and the rest is exactly the same.

I have a little 2 inch jumper unit made up with a male on one end and femail on the other..so you jsut stick the extension on to the end of the EB2xx program cable
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
jorijnsmit   1 mW

1 mW
Posts: 12
Joined: Feb 23 2012 9:33am

Re: XPD: open-source keywin e-bike lab replacement

Post by jorijnsmit » Jun 26 2014 2:16am

I'm a cow, I found this adapter a short time after creating my own jumper, it must have been included with the board...

Image

User avatar
NeilP   10 GW

10 GW
Posts: 4955
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Jun 26 2014 2:55am

You will probably, ( if not already done so), make the same mistake I have done many times when using the adapter.


This basic mistake I refer to happens once you finish programming. It is very easy to disconnect the adapter from programming cable, and leave adapter connected to controller.

When you do this, the bike will not run, and the first thougjh is usually one of 'oh frock, I 've killed the controller'
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

PeeHell   100 W

100 W
Posts: 165
Joined: Jul 30 2011 9:54am
Location: Montreal, Canada

Re: XPD: open-source keywin e-bike lab replacement

Post by PeeHell » Jul 01 2014 12:18am

Does any of you know what is the change in programming between EB2xx and EB3xx ? I mean why won't it work to program an EB3xx with the EB2xx controller type selected. Is it only software or it's more complex than that ? When Anpaza added "support for EBxx controller", did he do it simply by adding a few line in python ?

User avatar
Kingfish   10 GW

10 GW
Posts: 4064
Joined: Feb 03 2010 11:23am
Location: Redmond, WA-USA, Earth, Sol, Orion–Cygnus Arm, Milky Way. Age: > yesterday < tomorrow
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by Kingfish » Jul 01 2014 11:32am

PeeHell wrote:Does any of you know what is the change in programming between EB2xx and EB3xx ? I mean why won't it work to program an EB3xx with the EB2xx controller type selected. Is it only software or it's more complex than that ? When Anpaza added "support for EBxx controller", did he do it simply by adding a few line in python ?
The difference between EB2XX and EB3XX is very much like looking at a Tangerine verses a Mandarin: They both appear to be like small thin-skinned oranges, yet beneath the surface there are subtle changes that are easily recognized if you had both in hand to compare.

Categorically, the count of features is different as are the options and the equations used to determine values which are compiled into a format that each class and type of controller can understand. In addition, the protocol for communication is uniquely different.

It was not a simple matter of “adding a few lines of code”; it was in fact a profound engineering effort to integrate a new profile having many similarities which could take advantage of the same framework and user interface in order to host the presentation.

Anpaza has my respect, and I am grateful for his contributions.
They are well-met. KF 8)
* My 2WD Garden Wall
* Kinaye MotorSports
* Primary ride: 2WD Disc 9C 2806-equiv / Dual Lyen 12FET / 20S7P LiPo.
* Epics: Going to California: 2011 8)
* 50-mph, 101, 10k-Club. 12,527 miles-to-date, 7037 as 2WD.

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed.
The hands acquire shakes, the shakes become a warning.
It is by caffeine alone I set my mind in motion.

User avatar
anpaza   10 W

10 W
Posts: 69
Joined: Dec 07 2010 5:24pm

Re: XPD Waiting Acknowledgment

Post by anpaza » Jul 03 2014 6:18pm

jorijnsmit wrote:Love the XPD project, it is a shame I cannot find it at its usual spot anymore (http://xpd.berlios.de/ seems to be dead). Luckily the files did end up on Sourceforge somehow, at least that's where I was able to find them: http://sourceforge.net/projects/xpd.ber ... rce=navbar.
The BerliOS open-source hosting deceased.

So I moved the project to Google Code: https://code.google.com/p/xpd-ebike/
I've updated the very first post of the thread as well.
Also I have added a pointer to my Infineon 3 document which I wrote long ago, but forgot to announce.

User avatar
Alan B   100 GW

100 GW
Posts: 7486
Joined: Sep 11 2010 7:43am
Location: San Francisco Bay Area, USA
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by Alan B » Jul 04 2014 10:39pm

Thanks for your support!

User avatar
jorijnsmit   1 mW

1 mW
Posts: 12
Joined: Feb 23 2012 9:33am

Re: XPD: open-source keywin e-bike lab replacement

Post by jorijnsmit » Jul 05 2014 2:39am

Yeah good stuff man, I am also happy that I got it working on OS X. If you want I could help with documentation on how to get it running on OS X.

ebike11   10 kW

10 kW
Posts: 951
Joined: Nov 16 2013 8:01pm
Location: Korea

Re: XPD: open-source keywin e-bike lab replacement

Post by ebike11 » Jul 07 2014 10:35am

Does this program work for Infineon 4110?
I got one from em3ev and would like to program it thx

User avatar
izeman   10 GW

10 GW
Posts: 4690
Joined: Jun 21 2011 8:25am
Location: vienna, austria
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by izeman » Jul 07 2014 2:31pm

sure. it doesn't depend on type of fets installed. just the number of fets, the number of shunts and the type of board is interesting to know to program it properly.

User avatar
gwhy!   1 MW

1 MW
Posts: 1651
Joined: Jun 08 2011 3:47pm
Location: Bristol, Uk

Re: XPD: open-source keywin e-bike lab replacement

Post by gwhy! » Jul 07 2014 3:08pm

ebike11 wrote:Does this program work for Infineon 4110?
I got one from em3ev and would like to program it thx
i think the em3ev controllers have there own profile in XPD :? so you need to edit the correct profile before re-programming..
xpd_cellman.jpg
xpd_cellman.jpg (31.88 KiB) Viewed 2178 times
Edit:
Or the actual current will not be what it is set for,,

DAND214   1 GW

1 GW
Posts: 3074
Joined: Aug 10 2008 8:28pm
Location: About 1200 miles south of Chicago, in sunny/rainny Port Richey, Florida!

Re: XPD: open-source keywin e-bike lab replacement

Post by DAND214 » Jul 07 2014 5:00pm

If you bought it from EM3ev/Cell_man, you can get the software from him.

You will need the programming cable. you also need to know which board you have.

Why do you want to reprogram it? Once you flash it you can't go back, unless you have the qriginal profile from Paul/Cell_man.

Dan

ebike11   10 kW

10 kW
Posts: 951
Joined: Nov 16 2013 8:01pm
Location: Korea

Re: XPD: open-source keywin e-bike lab replacement

Post by ebike11 » Jul 07 2014 6:36pm

DAND214 wrote:If you bought it from EM3ev/Cell_man, you can get the software from him.

You will need the programming cable. you also need to know which board you have.

Why do you want to reprogram it? Once you flash it you can't go back, unless you have the qriginal profile from Paul/Cell_man.

Dan
hi there!
oh really, you cant flash back to stock settings with the .asv files that I downloaded with the software?

I have the cable and my board is 9fet 4110. I thought I could adjust the 3 speed setting through the software and turn off PAS and REGEN as I don't use them
Can I just short the 3 speed wires externally to get the highest speed possible instead of the software??
I don't need 3 speed settings, I only want the highest of the 3 speeds and leave it alone.

I noticed the 3 wires are red, black and green. I assume black/green or black/red wire combination would be the highest speed??
Not sure

Thanks!!!

DAND214   1 GW

1 GW
Posts: 3074
Joined: Aug 10 2008 8:28pm
Location: About 1200 miles south of Chicago, in sunny/rainny Port Richey, Florida!

Re: XPD: open-source keywin e-bike lab replacement

Post by DAND214 » Jul 07 2014 10:27pm

Yes you can reset it if you have the files.
Look at the asv.

the three speed switch is a nice option. It can tame the throttle down if needed.

What voltage and motor are you running?

Dan

ebike11   10 kW

10 kW
Posts: 951
Joined: Nov 16 2013 8:01pm
Location: Korea

Re: XPD: open-source keywin e-bike lab replacement

Post by ebike11 » Jul 07 2014 11:37pm

DAND214 wrote:Yes you can reset it if you have the files.
Look at the asv.

the three speed switch is a nice option. It can tame the throttle down if needed.

What voltage and motor are you running?

Dan
Hi
I have the 30A 9fet 4110 controller and 8T
I have a 72V battery and Im sure its over kill for an 8T
so I wanna adjust the throttle/power etc. with the EB8 program

DAND214   1 GW

1 GW
Posts: 3074
Joined: Aug 10 2008 8:28pm
Location: About 1200 miles south of Chicago, in sunny/rainny Port Richey, Florida!

Re: XPD: open-source keywin e-bike lab replacement

Post by DAND214 » Jul 08 2014 12:09am

72v is a litle high for a geared hub.

You don't have to worry about regen or pas in the program, regen not possible and pas not there if you don't hook it up.

Dan

Post Reply