XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
randysway   100 µW

100 µW
Posts: 8
Joined: Sep 11 2018 11:00am
Location: Chicago
Contact:

Re: Upload failed XPD Version 0.4.1a

Post by randysway » Oct 14 2019 4:12pm

Steve65 wrote:
Jun 24 2019 3:33pm
Has anyone tried the Download and Upload functionality in XPD Version 0.4.1a with a 124110ST-MII-LYEN EDITION controller ?

I've been able to Download the parameters OK but when try to upload the same values (no changes) I get :-

"Upload failed: byte must be in range(0, 256)"
It looks like the default PySerial version in pip breaks XPD at the moment (v 3.4).

Uninstall PySerial v3.4 and install version 2.5

On Linux:
pip2 uninstall --user pyserial
pip2 install --user pyserial==2.5

(Not sure how python packages are handled on windows, don't need that kind of negativity in my life, frankly. :P )

Cheers.

Felan128   1 µW

1 µW
Posts: 1
Joined: Aug 30 2019 10:06am

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

Post by Felan128 » Feb 10 2020 3:00pm

Hi people.
The other day I finished (almost finished) a small device on Arduino that allows you to program the controller in the field.
It is a little damp, but it works.
If anyone is interested, here is the link: https://github.com/Felan412/AVR_arduno_ ... ike_based-

If something is wrong with copyright, let me know I will fix it.

User avatar
pwd   1 kW

1 kW
Posts: 326
Joined: Oct 11 2011 12:01pm
Location: Ontario, Canada

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

Post by pwd » Feb 25 2020 9:55am

Very interesting device ^^, thanks for posting
Commuter/Street Build viewtopic.php?f=6&t=98286:
Rocky Mountain Element
Magic Pie 4 front + Leafmotor 1500 rear w/ WCEC 18fet
em3ev 14S5P 30Q + 14S6P 25R pack

Offroad Build viewtopic.php?f=6&t=102195:
2019 Rocky Mountain Blizzard 20
Cyclone "3kw" 13T motor to 36T chain ring then 32T chain ring to 11T-46T Cassette
em3ev 14S5P 30Q or 14S6P 25R pack

User avatar
zeccato   100 W

100 W
Posts: 165
Joined: Jan 17 2019 8:16am

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

Post by zeccato » Mar 17 2020 7:45am

Thanks for your contribution, today I installed xpd, that is the 3 programs (as specified) and it worked well with window 10.
I put the defaut on the 2, 100%, and the 3 position switch on the 2.
my 2018 cable usb already had the bridge,
(EB3 12 FET cellman).
I've made some adjustments, nothing else.
The Pas now works better, it stops almost immediately.
Full susp. folding 20 swxh r. (2011),. 02 2020 MacT8. batt. 48v. 25A Life (2012), and 48 7,5A a123 (2018?). Controller programmable EB3 12 FET. Charger Balancer 14s: TP1430C. Gophert CPS-6011 60V 11A. Mercury (rarely). Buzzer. https://www.google.com/url?sa=t&source= ... 6dXxc9-lNW

Post Reply