Search found 319 matches

by geofft
Dec 16 2018 6:21am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Hi, the motor didnot run smoothly when the motor was overspeed.[youtube]https://youtu.be/FXm6dFyo3hI[/youtube] maybe it is strange when i ride the bicycle. so i want to keep the speed(the limit speed) as the default speed ,when the motor is overspeed,the speed is still keep as the limit speed. whic...
by geofft
Nov 29 2018 3:15pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Status of the OpenSource firmware for Bafang 850C color LCD The configuration menu is now fully implemented and is well structured that is easy and fast to add/remove items to the menu. This LCD would be a good tool for KT motor controllers, for the ones that do prefer an LCD. In future I want to i...
by geofft
Oct 21 2018 9:02am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

I've been having a play with the 'streetmode' (i.e. non-offroad) speed limits but seem to be struggling to get them to work correctly. With Speed sensor 'external' selected (my normal setting) neither the 6kph (non pas) or the legal 25kph limits are applied and the motor runs up to it's natural maxi...
by geofft
Oct 05 2018 9:20am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

OK, thank you for testing! A value of 2.1 for threshold should work. I checked Xnyles code again. He processes the direction signal different now. The motor is not stopped when pedaling in reverse, but the speed limit is set to 6 km/h. Can you confirm this behaviour? I think this is not a good solu...
by geofft
Oct 05 2018 6:43am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

It would appear that this setting is being totally ignored by the firmware....? Hm, it should work in the same way as in the older commits... if (ui8_PAS_Flag == 1) { ui8_PAS_Flag = 0; //reset interrupt flag ui16_time_ticks_between_pas_interrupt = ui16_time_ticks_for_pas_calculation; //save recent ...
by geofft
Oct 04 2018 10:37am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

It would appear that this setting is being totally ignored by the firmware....? Hm, it should work in the same way as in the older commits... Very strange, I rechecked the previous commit I was using (downloaded 5th Sept), the PAS detection with this works just fine. Please install the BluOsec app ...
by geofft
Oct 04 2018 7:17am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Not sure, if 2.8 is enough. For me it's 3.2 when pedalling normal. Although my sensor does not send any signal when pedaling backwards so I can't test that detection functionality at all. Ok, I'll try some higher values tomorrow. It seems that whatever value is entered for 'Pas Threshold' has no ef...
by geofft
Oct 03 2018 4:02pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Xnyle wrote:
Oct 03 2018 3:18pm
Not sure, if 2.8 is enough.

For me it's 3.2 when pedalling normal. Although my sensor does not send any signal when pedaling backwards so I can't test that detection functionality at all.
Ok, I'll try some higher values tomorrow.
by geofft
Oct 03 2018 2:31pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Changing the 'PAS Threshold' setting seemed to have no effect whatsoever. Have you tried the android app already? ..not yet, but will do soon. You can get the PAS ratio displayed there, so can see the values for foreward and reverse pedaling. I tried values from 1.0 to 2.8 for 'PAS Threshold' - str...
by geofft
Oct 03 2018 10:49am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Had some time spare today so gave the latest master branch a try. On first testing I shot up the road like a scalded cat, then realised that Battery and Phase Current max are now calculated differently and need much lower numbers than before. After putting this right everything calmed down and seeme...
by geofft
Sep 23 2018 6:32am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Nice work! Xnyle and me, we both have replaced the resistor and the LM317 by a DC/DC converter and both have trouble with them... I burned 4! :shock: converters while experimenting with switching off the PWM while no power is wanted and switching it on again when power is needed while the bike is m...
by geofft
Sep 22 2018 2:11pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Just thought I'd show you my latest attempt at taming the simmering series resistor and LM317:- Bought a couple of these:- https://www.ebay.co.uk/itm/Through-Hole-Resistor-270-ohm-350-V-TO-220-20-W-1-WMHP-Series/391793017422?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 ...unfortunately...
by geofft
Sep 21 2018 11:51am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

I've welded the shaft and I hope this will work until I receive my new Sempu 3rd gen. :shock:
Glad to see I'm not the only one with a mig welder amongst his toys..

Decent looking weld but it will get a stern test in that location... :shock:
by geofft
Sep 15 2018 1:49pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Xnyle was very hardworking during the last weeks, we are very proud to present the beta release of the Android app now! We are looking for betatesters, if interested please contact Xnyle via PM or just here in the thread! More good work from Xnyle.... 8) Unfortunately I'm having to catch up on some...
by geofft
Sep 13 2018 2:52pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

It looks like you're really out of luck with your torquesensors :( Partly unlucky and also a large dose of stupidity on my part. The first one I received had the torque o/p stuck on 3.0v (should be 1.5v) with no reaction to pedal torque - but it was over 3 months after purchase before I tested it, ...
by geofft
Sep 13 2018 6:50am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

I've not tested the "Torque-Override" in torquesensor-mode on the street yet, only with my testbench. geofft, perhaps you can try it and give feedback. stancecoke, I seem to be having all sorts of torque sensor issues at the moment, all hardware related I think. I'm giving up with this for the time...
by geofft
Sep 13 2018 3:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

I thought about the "Throttle and PAS" option and decided to quickly try the Torque-Simulation and ta-da, it's alive! You see, the bike with the factory parts never required me to hit the throttle before pedaling so that's what threw me off the trail. This is just beautiful and it seems to run with...
by geofft
Sep 09 2018 4:21pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

So it seems to be a enhanced release of the first generation, where the torque-signal is generated by measuring the bending of the shaft... Is the zero value appearing, if you are pedaling forwards, too? Perhaps it's a kind of direction detection signal. The quarter turn dead spot (zero value) occu...
by geofft
Sep 09 2018 2:28pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Sorry, yours seems to be a Sempu of the first generation , as you are using a normal chainwheel with crank. The third generation has a spider (I don't know if this part is called spider in english... ) where the chainwheel is fixed, the crank has to be an extra part. Ah..ok. The seller called it th...
by geofft
Sep 09 2018 12:16pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Just thought I'd see what you guys make of this. Just recently received a new Sempu torque sensor (Gen1) and have noticed some erratic behaviour from it. Eventually decided to monitor the torque sensor o/p and realised that there was no signal o/p for a quarter turn of the pedal shaft. What you're s...
by geofft
Sep 07 2018 1:55pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

You need to do this: void throttle_read (void) { // read torque sensor signal ui8_throttle_value = UI8_ADC_THROTTLE; // map throttle value from 0 up to 255 ui8_throttle_value = (uint8_t) (map ( ui8_throttle_value, (uint8_t) 77, (uint8_t) 204, (uint8_t) 0, (uint8_t) 255)); I deleted throttle_value_r...
by geofft
Sep 07 2018 9:38am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Casainho, I'm struggling to find those precise line of code - which file are they located in..? ebike_app.c file ..odd, we seem to be looking at different ebike_app.c files. The nearest I can find to the code you have quoted is:- void throttle_read (void) { // read torque sensor signal ui8_throttle...
by geofft
Sep 07 2018 7:38am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

void torque_sensor_read (void) { // map value from 0 up to 255 // map value from 0 up to 255 ui8_torque_sensor_raw = (uint8_t) (map ( UI8_ADC_TORQUE_SENSOR, (uint8_t) ui8_adc_torque_sensor_min_value, (uint8_t) ui8_adc_torque_sensor_max_value, (uint8_t) 0, (uint8_t) 255)); Exchange ui8_adc_torque_se...
by geofft
Sep 06 2018 5:54am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3330
Views: 142711

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

casainho wrote:
Sep 06 2018 5:35am


Exchange ui8_adc_torque_sensor_min_value and ui8_adc_torque_sensor_max_value for the fixed values you need.
Thanks! Will try tomorrow.. :)