Search found 90 matches

by bart1006
Aug 28 2019 6:57am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Looking for an alpha tester for "totally bluetooth"

So, Thanks to eyebysickle talking to the mfg and getting us some key data we've now made changes that have a pretty good shot of allowing 'solderless/no need to even open the SW102' bluetooth initial installation. However, in making these changes I've now changed the device eyebysickle gifted me wi...
by bart1006
Aug 14 2019 3:45pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

Good work guys!! Can’t wait to find some time to try it out.
by bart1006
May 26 2019 1:22am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

I made a light icon in gimp and then tried to vectorize and scale (12x18) it with inkscape but no good results. Probably to small?
I just upload it here so if somebody else want to try or use it for other displays.

example:
light4.png
light4.png (8.4 KiB) Viewed 1933 times
gimp file:
light.zip
(15.27 KiB) Downloaded 53 times
by bart1006
May 25 2019 4:21am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

@casainho Do you really want a graph on that tiny display? I think we can use the space better for some more infos or to make some fonts even bigger. Barts layout uses the display quite nice, IMHO. About the fonts to use: I have no special plans. We can create just what we want, so just go ahead an...
by bart1006
May 22 2019 12:47pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

Hello guys,

just did some work on the layout for the lcd.
Nothing is working with real data yet but just playing around with some info on the lcd.
IMG_9399 (1).jpg
IMG_9399 (1).jpg (73.46 KiB) Viewed 1704 times
by bart1006
May 15 2019 1:43pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

I think we also need a standalone version (of openOCD) to flash the bootloader/softdevice hexfile to the chip for all people who just want to flash (with ST-Link clones) and don't need the whole Eclipse install/GIT cloning/Tools install procedure for that! Any volunteers for that? I think writing a...
by bart1006
May 12 2019 12:44pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

Error: init mode failed (unable to connect to the target) Seems your OpenOCD is working correctly however the communication to the target is failing. Check the wiring. Also I think the nrf51 is locked/write protected and usually there are some commands to unprotect the first time before get it read...
by bart1006
May 12 2019 4:47am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

I am trying to get my sw102 up and running. I connect the sw102 to my stlinkv2 and setup my Eclipse env. I try to flash something tho the sw102 but I am pretty new to this so I have some issues. I tried to flash_program and my stlink was blinking red and blue and no errors. I tried again and ran int...
by bart1006
May 08 2019 11:31am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

Bluetooth license fee $4000 ... What should we do?... 1) Don't panic! :wink: This project is open source none commercial. We are no company and do not sell any products. It will never happen that the Bluetooth SIG rings the door bell of end users to collect some license fees! Those fees are for com...
by bart1006
May 05 2019 12:23pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

DFU is working! Normal Startup (SW102 advertising UART over BLE): normal_start.png Bootloader Mode (Hold Power + M for >5 seconds) bootloader.png Transfer of new firmware: transfer.png Vervy very nice and good work Nick!! I hope to receive my sw102 in the upcoming days. Hopefully i can help on some...
by bart1006
May 05 2019 10:31am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

I have been trying to contact electrifybike about buying one of their female 1 to 4 cables, but I'm not getting a reply from them. Anyone know of any other places where I can buy the 1 to 4 female cable, as I would rather not cut the cable on the TSDZ2. I'm thinking that I could also get a cable fr...
by bart1006
Apr 27 2019 3:28am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

Maybe this questions is asked before but can't find it somewhere:

Does the "chinese" sw102 (say around 50-60 dollar) also have the Nordic microcontroller with Bluetooth (nRF52)?
by bart1006
Apr 27 2019 2:33am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 422
Views: 54475

Re: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app

You can flash the code with the openOCD configuration. You just need a ST-Link v2 clone for this. The "official" way (Makefile targets) uses nrfjprog from Nordic but this program needs a Segger J-Link probe. Do you have a picture of how your lcd is connect to pins on the stlink clone? I couldn't fi...
by bart1006
Oct 21 2018 12:54pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

EC I wast to upgrade to 14.2 but I want to include my changes for high cadence. How do I compile it for no throttle version after I make the changes ? Little question maybe it has been asked before but I can't find it. How does PAS max cadence exactly work? By default it is 110 but what if I put it...
by bart1006
Oct 21 2018 11:18am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

EC I wast to upgrade to 14.2 but I want to include my changes for high cadence. How do I compile it for no throttle version after I make the changes ? Little question maybe it has been asked before but I can't find it. How does PAS max cadence exactly work? By default it is 110 but what if I put it...
by bart1006
Oct 06 2018 9:50am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Installed v0.13.1. this morning and did some testing this afternoon. It worked perfect for me!
I have the same about the watts It is very hard to get it above 500 watts.
by bart1006
Oct 03 2018 9:32am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7279
Views: 759958

Re: New "TSDZ2 Torque Sensor Central Motor"

Does anyone have a .hex file of the original 36v Firmware for the TSDZ2 that they can send me ? Or know of another way to get the standard firmware back onto the motor ? I stupidly did not save a copy and want to do some faultfinding/diagnostics using the standard firmware. Thanks I'm not sure but ...
by bart1006
Oct 03 2018 9:01am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

The defaults should work fine. To get the defaults you have three options: 1. Reset to defaults using the display, but casainho reports this isn't working? 2. Using ST Visual Programmer, directly program the data memory after opening STVP without reading the data memory tab (basically writing all z...
by bart1006
Oct 03 2018 4:13am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hey guys I rode to work today on version 0.12. I had a headwind so I bumped it up to level 9 but still arrived very sweaty. I adjusted the power to 500w but I could rarely get above 350w. Yesterday I did a longer ride and I have more or less the same experience. Is it because we're both using a 36V...
by bart1006
Oct 02 2018 7:16am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

We've already discussed these items during the development of offroad mode. Simply disable offroad feature and you're not bothered by the blinking assist symbol and the UP + ON/OFF combination works for the max battery power screen as it was previously. I am not an user of offroad mode, I always dr...
by bart1006
Sep 14 2018 2:34am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

... I would like to encourage other beta testers as well! Let me know what you think of the offroad feature! ... Super EndlessCadence!!! This feature has been on my wishlist for a long time. I will try to test it this weekend if I have the time. Thanks for this feature and i will let you know how i...
by bart1006
Sep 09 2018 4:29am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7279
Views: 759958

Re: New "TSDZ2 Torque Sensor Central Motor"

Hi Guys, I got TSDZ2 750w 48v with vlcd5. All was excellent until 150 km. Now at low speed (smaller than 10km/h), I get 99km/h speed error and the engine disconnects. The engine gets connected back when hitting 10km/h+ and all is good. This very bad because I can no longer climb hard slopes. I do n...
by bart1006
Sep 01 2018 12:32am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5746
Views: 387936

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Maybe I just go back to the previous version of the firmware, but programming the LCD3 again is a major pain :( Leave the programming header connected on LCD3. Yes, try the version that was working until we figure out what is happening to you. I just drilled a little hole in case of the lcd and sol...
by bart1006
Aug 26 2018 3:05am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7279
Views: 759958

Re: New "TSDZ2 Torque Sensor Central Motor"

I just had my first test ride with the opensource firmware. Jiiihhaaa!! :D :D :D Way and way better than I expected. I wouldn't change a bit to improve driving experience. How it picks up the power support is really super. I also have a bosch motor and this comes pretty close. The info which the ope...