Search found 82 matches

by geeksville
Mar 09 2020 3:29pm
Forum: General Discussion
Topic: New opensource project: battery powered long distance mesh radios
Replies: 2
Views: 1123

Re: New opensource project: battery powered long distance mesh radios

A minor update: It seems to be working pretty well, about 80 users and not too many crashes ;-). Would love more users or co-developers.
by geeksville
Feb 20 2020 4:38pm
Forum: General Discussion
Topic: New opensource project: battery powered long distance mesh radios
Replies: 2
Views: 1123

New opensource project: battery powered long distance mesh radios

Hi ya'll, So I helped out a bit on Casainho's cool open-source ebike project. But recently I've been working on a new project that might be useful for some of ya'll. It is a software stack that runs on low end ESP32 GPS+LORA radios from China. It is like those closed source 'digital/pager/GPS gizmos...
by geeksville
Nov 10 2019 1:20am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

I tried to open the sw102 cutting the glue at sides of the keypad and I killed the down button contact. It was my fault, instructions are good. Is it possible to use the display without the down button? The Down button is critical for the configuration process, as well as adjusting the Assist Level...
by geeksville
Nov 10 2019 1:18am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

alas - the bootloaders that we have out in the field now can't go backwards (there are various pros cons to letting that happen). So I can't change that choice we made without pushing out new bootloaders (which I'm loathe to do without a really good reason). Historically our releases have been prett...
by geeksville
Nov 09 2019 9:54pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

New SW102 release 0.5.0-beta4

Hi ya'll, The 0.19.17 was pretty solid, but I released it for the gang before I was on a long hiking trip. This new release pulls in the great work by @casainho and @lowPerformer. Note: I've switched to the naming system they constructed for versions, so this new version is 0.5.0-beta-4. It is what ...
by geeksville
Nov 01 2019 9:48pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Btw I made this article into a tool I used when I was doing the solderless update work: https://github.com/geeksville/nrf51-extractor Hello, As mentioned in the early posts of this thread, there is a way to backup the original firmware before tinkering with the device. The method (also described her...
by geeksville
Oct 27 2019 7:16am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Yes that is correct. The red wire scared me also but it is correct.
by geeksville
Oct 21 2019 6:18pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

The the latest sw102 firmware is here. You want 0.19.17: https://github.com/OpenSource-EBike-firmware/Color_LCD/releases It has many improvements vs that old tree. And you may be using a 0.19 version of the motor firmware. If you are using 0.20 motor firmware all of the current sw102 releases will s...
by geeksville
Oct 16 2019 5:03pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Thanks! The SOC thing I think shares a common bug with the 850C version. So when we fix it it will work for both devices.
by geeksville
Oct 11 2019 2:42am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

I use the startup power option also with my sw102. However to get it to respond quickly you need to also turn on the option to not require cadence before starting (ie just pedal pressure is sufficient). This is a trait of the 0.19 tsdz2 code - not the display code. Unfortunately I don't remember the...
by geeksville
Oct 10 2019 3:50pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

If you hold down the power button the not screen will stay on. Also, it takes a long time for the
Unit to power down after the battery is disconnected, maybe even 30 seconds.
by geeksville
Oct 10 2019 2:15pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Please try nrf connect. The updater in nrf toolbox seems flaky to me.
by geeksville
Oct 10 2019 11:12am
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Hmm. Were you using the nrf connect app to do the upgrade? (I updated two bikes here and my dev SW102 without problem)
by geeksville
Oct 09 2019 5:54pm
Forum: E-Bike Build Threads / Photos & Video
Topic: Custom 3d printed battery mount
Replies: 0
Views: 764

Custom 3d printed battery mount

Hi ya'll, I recently decided to upgrade from my old recumbent to a new recumbent (one with a shock, because on a recumbent almost all the weight of the rider+battery is on the rear wheel). And finding mounting locations for the battery is challenging. So I cadded up and printed this: https://i.imgur...
by geeksville
Oct 09 2019 4:51pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

0.19.17 released - please try soon

Hi ya'll, The 0.19.15 had a serious bug with saving settings. This release fixes that, it also returns the M/ONOFF key usage to the more popular choices. New features (full changelist [here](https://github.com/OpenSource-EBike-firmware/Color_LCD/pull/27)): * Fix settings saving * Change back to usin...
by geeksville
Oct 09 2019 4:51pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

If anyone is planning on flashing the to a fresh device, I'd appreciate if you could try grabbing a copy of the existing factory firmware off the device using the method suggested on the first page of this thread. Thanks! You can't copy the factory firmware off normally (because it is read protecte...
by geeksville
Oct 01 2019 6:41pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Interesting! Tomorrow night I'll do two things: Repro the problem you describe and then push out s new version. Push out a version of the classic 0.19.13 build with a special flag set that tells the bootloader to ignore the version info. From now on I'll always set this flag. Sorry about these recen...
by geeksville
Sep 29 2019 7:35pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Thanks for the tips! ooh - I thought some more about the problem downgrading. Yep: Our bootloader is set to only allow version numbers to increase, never decrease. We might fix it at some point - there are subtle reasons we might not want to. new github issue with details: https://github.com/OpenSo...
by geeksville
Sep 29 2019 7:29pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

isiorg wrote:
Sep 29 2019 7:02pm
Please use M Key!!! You use M also for edit Parameters, please use it also for leaving edit mode. Thanks!
ok - will do.
by geeksville
Sep 29 2019 5:37pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

Sorry - I was offline a few days. ;-) re: motor temp warnings The reason warnings now occur is that previous releases (both on the SW102 and 850C) didn't have code to display warning messages. Now they do. The warning indicates that your motor temp is above the lower threshold you have set in the se...
by geeksville
Sep 29 2019 5:33pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

new 0.19.15 release!

Hi ya'll, The 0.16.14 release had 'problems' ;-). This one should do better. Note: we now use simultaneous pushes of UP+DOWN to go between screens (and fields on screens can be customized based on your preference) - similar to the other device. Please give feedback if you prefer this or using the M ...
by geeksville
Sep 21 2019 12:55pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

ooh - interesting. I'll try to repro. Thanks for the report. NOTE to others: for the time being you might want to avoid this release.
by geeksville
Sep 20 2019 10:01pm
Forum: Motor Technology
Topic: Bafang SW102 Bluetooth LCD - OpenSource firmware and mobile app
Replies: 417
Views: 49430

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

I forgot to mention - this upgrade will discard your old eeprom settings. Sorry about that. All future versions should preserve settings.
by geeksville
Sep 20 2019 4:29pm
Forum: E-Bike Technical
Topic: Bafang 850C color LCD, currently working for TSDZ2 motor -- Flexible OpenSource firmware
Replies: 188
Views: 23119

Re: Bafang 850C color LCD -- Flexible OpenSource firmware

Hello, I tried flashing the latest firmware on my 850C last night but got the white screen issue. Is the recent fix merged in? if so, sounds like there may be more versions out there that aren't covered by the fix Yes, it was merged into master on 9/18: https://github.com/OpenSource-EBike-firmware/...