XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
shortcircuit911
100 W
100 W
Posts: 205
Joined: Feb 19, 2010 1:24 pm
Location: Antioch, CA

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

Post by shortcircuit911 » Oct 18, 2015 5:28 pm

Thanks! Worked like a charm.

User avatar
Cowardlyduck
10 MW
10 MW
Posts: 2290
Joined: Jun 26, 2011 8:41 pm
Location: Canberra, ACT, Australia

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

Post by Cowardlyduck » Dec 31, 2015 2:15 am

It's not exactly related to the XPD software, but I had some issues using it after upgrading to Windows 10 recently.

The issue turned out to be with my USB to Serial chip. Apparently Prolific (the makers of most of the chips used in USB to Serial converters) no longer support the 2303 chip on Windows 10.
After doing some digging I came across the blog post below that outlines how to install an older driver from 2008 that makes it work on Windows 10.
http://leftbraintinkering.blogspot.com. ... evice.html
After installing the old driver I was able to run XPD and upload new settings to my controller (18fet EB3) again. :)

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

Modified Stealth Fighter - Force air cooled Leaf motor @ 5KW, Heat-sinked Adaptto Mini-E. Battery = 20AH, 72V LiPo.
Cowardlyducks - Stealth Fighter Videos

BikeE recumbent commuter - Golden motor, 6Fet Infineon, 20AH 12S LiPo, with on-board solar charging.

BLAKE'S BUILDS - The stuff I make and modify.

User avatar
alsmith
100 kW
100 kW
Posts: 1179
Joined: Dec 03, 2010 7:25 pm
Location: Northumberland, UK

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

Post by alsmith » Dec 31, 2015 9:44 am

Thanks. that's handy to know. I haven't upgraded to Win10 yet- I was waiting for SP2 based on past OS launches -but I gather M$ changed the name from service pack for some (marketing) reason. From what I read there seems little reason not to upgrade so I'm planning on doing when I'm stuck in for 2-3 months following upcoming expected surgery to fill in the boredom.

CooperAndromeda
1 mW
1 mW
Posts: 13
Joined: Dec 29, 2015 8:56 pm
Location: Everett , WA

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

Post by CooperAndromeda » Feb 18, 2016 8:12 pm

Hey anpaza !

I am having trouble finding "pyserial-2.5.win32.exe" at source forge support folder. might you send me a direct link?

User avatar
NeilP
100 GW
100 GW
Posts: 5326
Joined: Nov 27, 2010 3:18 pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

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

Post by NeilP » Feb 21, 2016 6:04 am

If youi really can not find it else where...send me a PM with your e-mail and I'll see if I still have a copy any where. I can then FTP it to my server and send you the link...wont be today though
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

CooperAndromeda
1 mW
1 mW
Posts: 13
Joined: Dec 29, 2015 8:56 pm
Location: Everett , WA

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

Post by CooperAndromeda » Feb 21, 2016 9:33 pm

amberwolf wrote:A google search on the quoted words finds the sourceforge page that then has this direct link
http://downloads.sourceforge.net/projec ... or=tcpdiag
does that work for you?
Got it thanks amberwolf !!

Erikjan
100 W
100 W
Posts: 144
Joined: Apr 07, 2010 4:31 am

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

Post by Erikjan » Feb 28, 2016 12:57 pm

Hi i have a problem with the xpd.
I have 2 6 fett controllers from em3ev.
And one 6 fett from lyen wich is the same i think.
when try to program the controllers i get this message:

Upload failed: Invalid replay byte '38'

Do somebody know my problem?

Erikjan
100 W
100 W
Posts: 144
Joined: Apr 07, 2010 4:31 am

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

Post by Erikjan » Mar 01, 2016 1:48 pm

Problem solved, i connect the 3 speed swich it have to be at speed 2
only then you can program it.

Now it works great on windows 10 you need to use old drivers for the usb cabele.

Thanks for the great software.

masagero
1 W
1 W
Posts: 61
Joined: Aug 24, 2015 8:03 am

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

Post by masagero » Jun 02, 2016 1:37 am

I want to do programming cable for controllers Lyen EB3xx. Should there be a button?

User avatar
DAND214
1 GW
1 GW
Posts: 3120
Joined: Aug 10, 2008 8:28 pm
Location: Chicagoland nw suburb Mt. Prospect IL. USA

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

Post by DAND214 » Jun 02, 2016 7:32 am


User avatar
methods
10 GW
10 GW
Posts: 4976
Joined: Aug 08, 2008 12:08 pm
Location: Santa Cruz CA
Contact:

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

Post by methods » Jun 02, 2016 3:19 pm

Erikjan wrote:Problem solved, i connect the 3 speed swich it have to be at speed 2
only then you can program it.

Now it works great on windows 10 you need to use old drivers for the usb cabele.

Thanks for the great software.

Yep - pins are multiplexed ;-)

And as for Windows 10 issues above... best advice is to uninstall and revert to Windows 7 Pro for all things good.
8 and 10 are a nightmare for nearly all work especially interfacing with peripherals
How does Microsoft totally biff it like every 3-5 years???? Amazing.

-methods
"One test is worth a thousand opinions"

User avatar
boisrondevens
100 W
100 W
Posts: 261
Joined: Jul 11, 2011 11:30 am
Location: Canada
Contact:

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

Post by boisrondevens » Jun 02, 2016 5:07 pm

I'm using this program on Windows 8 and it was a nightmare to install. If you ask me how: try and error...

masagero
1 W
1 W
Posts: 61
Joined: Aug 24, 2015 8:03 am

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

Post by masagero » Jun 03, 2016 1:35 am

Thank you all for the help. Cable has made the communication is better. I have questions about programming: Controller My Lyen 12fet motor is MHUS 3000 v2 battery has a nominal 82v which profile to use (the box says to use profile EB318) and a program is obtained discrepancy in the set parameters? Any ideological?

ejonesss
10 kW
10 kW
Posts: 798
Joined: Aug 31, 2008 4:21 pm

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

Post by ejonesss » Jul 23, 2016 1:19 pm

what if someone could write it in java so it can then be ran from any web browser or java runtime engine?
stuff for Even Newer 4 to 24-cell Battery Management System (BMS)
32 lifepo4 cells 16s2p 40138 green cells √
16s2p 40138 based pack built assembled (building electrical equiv to $2000 eonyx system.*

User avatar
Alan B
100 GW
100 GW
Posts: 7022
Joined: Sep 11, 2010 7:43 am
Location: San Francisco Bay Area, USA
Contact:

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

Post by Alan B » Jul 27, 2016 11:41 pm

It is already written in Python, which is free and can be run on just about anything. That does not appear to be the problem anyway.

Why would it be worthwhile to recode the software?

https://pythonconquerstheuniverse.wordp ... omparison/

That would be a waste of time and a step in the wrong direction, and would accomplish nothing in this case.

I don't know why there was trouble installing Python (if in fact there was), it is a simple install on any windows system, or most any system for that matter. There are a couple of other things going on here.

The difficulty with the three speed switch has nothing to do with Python. That's the design of the controller hardware and the speed switch interfering with programming. Java would be no different, the switch interferes with the programming regardless.

Or the problem with drivers for the serial cable. Again, that's not Python's problem and would be no different with Java. That's part of the war between manufacturers and cloners of the USB serial chip hardware. Python will use whatever driver you provide, but the driver and the hardware need to work. The sellers of the programming cables should provide drivers and instructions to follow, unfortunately the default drivers that windows loads were poisoned by the chip manufacturer to interfere with the cloned chips and this has hurt everyone with nasty driver compatibility problems. If anything we should blame them for unleashing code that was designed to interfere with proper driver operation. That was deliberate on their part. It was even worse, initially they actually prevented the correct drivers from ever installing or working, but they backed off on that, but they still left it in a state that is very disruptive to the user. Also, blame the cloners for stealing IP and copying chips.

Ride Safe,

Skrzypas
10 W
10 W
Posts: 65
Joined: Jun 16, 2014 3:08 pm
Location: Warsaw, Poland

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

Post by Skrzypas » Jul 30, 2016 3:37 am

Tiny little question.

Why there is no eb318 on the list in xpd 0.3.1/0.3.2/0.3.3 ?

User avatar
Arlo1
100 GW
100 GW
Posts: 8485
Joined: Apr 26, 2009 10:36 pm
Location: Nanaimo BC Canada
Contact:

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

Post by Arlo1 » Jul 30, 2016 10:20 am

Anyone know how to program these controllers? I have 6 of them and I don't know which wires I need to connect to what.

I have programed 100s of the older controllers.....
Attachments
031.jpg
031.jpg (76.92 KiB) Viewed 1948 times
030.jpg
030.jpg (100.37 KiB) Viewed 1948 times
My Leaf motor controller build. https://endless-sphere.com/forums/viewto ... 27#p963227
My YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
RC and most types of Lithium batteries you MUST know your individual cell voltages charging and discharging.
Don't keep them were you cant afford smoke or fire!
Never above 4.2v never below 2.7v EVER!!!
HI power controller design. Game Changer

User avatar
Arlo1
100 GW
100 GW
Posts: 8485
Joined: Apr 26, 2009 10:36 pm
Location: Nanaimo BC Canada
Contact:

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

Post by Arlo1 » Aug 04, 2016 11:50 am

Here is a couple more pictures.


I have programed the old controllers but I don't know what wires to use to program on this one and what files to program with.
Attachments
IMG_20160801_181152057[1] (800 x 450).jpg
IMG_20160801_181152057[1] (800 x 450).jpg (85.45 KiB) Viewed 1910 times
IMG_20160801_181201465[1] (800 x 450).jpg
IMG_20160801_181201465[1] (800 x 450).jpg (86.76 KiB) Viewed 1910 times
My Leaf motor controller build. https://endless-sphere.com/forums/viewto ... 27#p963227
My YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
RC and most types of Lithium batteries you MUST know your individual cell voltages charging and discharging.
Don't keep them were you cant afford smoke or fire!
Never above 4.2v never below 2.7v EVER!!!
HI power controller design. Game Changer

User avatar
fechter
100 GW
100 GW
Posts: 11811
Joined: Dec 31, 2006 3:23 pm
Location: California Bay Area, USA

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

Post by fechter » Aug 07, 2016 10:33 am

You might try asking Ed Lyen.
"One test is worth a thousand opinions"

Simple818
100 W
100 W
Posts: 230
Joined: Apr 17, 2014 6:25 pm
Location: Glendale,Ca. USA

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

Post by Simple818 » Aug 27, 2016 3:25 pm

I'm using a windows 10 hp notebook. I was able to get as far as downloading the program but as soon as I double click the file which says it is 4kb nothing happens. any suggestions?

Baron
100 W
100 W
Posts: 177
Joined: Jun 15, 2015 9:09 pm
Location: Philadelphia, PA

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

Post by Baron » Oct 05, 2016 2:43 am

Simple818 wrote:I'm using a windows 10 hp notebook. I was able to get as far as downloading the program but as soon as I double click the file which says it is 4kb nothing happens. any suggestions?
I'm stuck at the same point. Did all the following:
a) Download everything from the support directory (the files may be deleted after they are used):
* python-2.7.1.msi - This is Python interpreter, install it first.
* pygtk-all-in-one-2.22.6.win32-py2.7.msi - This is the GTK+ llibrary (the graphical user interface library) and the Python bindings for it, install this after Python.
* pyserial-2.5.win32.exe - Run this to install the PySerial library

downloaded snapshot from here https://sourceforge.net/p/xpd-ebike/cod ... ree/trunk/

Then I can't get anything to work. Windows 7 here

I can get 3.2 and 3.3 to work but apparently 4.0 is the latest version

User avatar
dozentrio
10 kW
10 kW
Posts: 517
Joined: May 26, 2009 5:51 pm
Location: Canada

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

Post by dozentrio » Oct 12, 2016 7:02 pm

according to the commit comments version 4.0 isn't working yet? definitely, not for windows.

User avatar
Samd
1.21 GW
1.21 GW
Posts: 3829
Joined: Jun 28, 2011 11:08 pm
Location: Ballarat, AU
Contact:

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

Post by Samd » Nov 01, 2016 2:52 am

Trying to get the new 6 series sine waves working but can't get the all in one installer to work. Can get version 3.3 to install.
Am hoping someone has version 4 as a standalone zip like the other versions rather than an all-in-one installer with python.
Anyone?
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.

User avatar
dozentrio
10 kW
10 kW
Posts: 517
Joined: May 26, 2009 5:51 pm
Location: Canada

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

Post by dozentrio » Nov 01, 2016 12:13 pm

it only works with linux
otherwise you need to use the other software. You can get it from powervelocity website I believe.

You can also use the android app but you'll need to install a bluetooth programming module in your controller. Powervelocity sells them. I think you could probably make one too, but that'd be a bit more involved.

User avatar
teslanv
100 MW
100 MW
Posts: 2813
Joined: Nov 03, 2013 8:42 pm
Location: Bellevue, WA - USA
Contact:

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

Post by teslanv » Apr 05, 2017 9:18 am

I'm adding this thread to the Sticky.
Also, there have been some good advancements with respect to the new version and compatibility with the new Sinusoidal "KH6" boards, (and clones).
Here is a download Link for XPD R4.8 (Most recent version as of April 5, 2017):
I build custom ebikes.
http://www.westcoastelectrics.com
West Coast Electric Cycles
Bellevue, WA
USA

Post Reply