Search found 375 matches

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: 4374
Views: 428069

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: 4374
Views: 428069

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: 4374
Views: 428069

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: 4374
Views: 428069

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: 4374
Views: 428069

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: 4374
Views: 428069

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.. :)
by geofft
Sep 06 2018 5:52am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Stancecoke, reading from the German forum, could Romantas' problem be related to the zero point adjustment you talked about lower down this page of the thread..? https://endless-sphere.com/forums/viewtopic.php?f=30&t=87870&hilit=pushing&start=2850 ..I always now change this to 3 (from 1)...
by geofft
Sep 06 2018 5:04am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I always looked for motor pushing at standstill and that is only possible with torque sensors... also, now my kid is bigger but I remember 2 and 1 year ago where he could not push the bicycle from standstill (yes, it is a kid of city that uses to much time sit down watching TV and being transported...
by geofft
Sep 05 2018 9:21am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Configurator now working very nicely, thanks to Xnyle for all his work on that.. :) On a slightly different subject, I've recently received another torque sensor (sempu gen3, one that actually works this time..!) and after a few config tweaks is now working well on stancecoke's fw. It's a great feel...
by geofft
Sep 04 2018 6:47am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

or automatically load the newest... ...that would be my preference. There is also a small issue, my display type is 'KT-LCD3', but it always reloads from the .ini as 'none'. Also thanks to Xnyle, it's good to see you're getting some help.. :D Edit: I see the display options are now different, I pro...
by geofft
Sep 04 2018 6:08am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Romantas wrote:
Sep 04 2018 5:38am
Big request to stancecoke:
Fix to the configurator tool "OSEC Parameter Configurator.jar" to read the last recorded values from config.h
every time you run the configurator, it reads its default values.
+1 for this change, the current system is driving me mad.. :wink:
by geofft
Sep 04 2018 5:30am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

After today's tests, it was possible to start the engine from the handle on the steering wheel. While getting a speed of more than 25 km.ch did not work. and I try to make a smooth throttle adjustment Аnd who will explain to me how to use cheat code? and does it work or not? Romantas, you'll find a...
by geofft
Sep 03 2018 9:40am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

has anyone had success with the PAS working in only one direction, any guidance gratefully received. thanks Yes! Have you experimented with 'PAS Threshold' in the configurator? On my setup any value outside the range 1.7 - 2.1 gave this sort of issue, I settled on 1.9 but yours may be different. Fi...
by geofft
Sep 03 2018 7:44am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Hi I'm trying to understand the delay in motor starting, just wondered if anyone has encountered it? thanks ...I have noticed this on a couple of occasions, in both cases I 'fiddled' with the throttle connector which seemed to fix it. Looking back though I guess it could have been fw related. In bo...
by geofft
Aug 31 2018 6:53am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

As last option: swap through all possible Hall- and Phasewire combinations (36! :-)) ....having done this exercise recently I can confirm that all 36 combinations of phase/hall connection give some response from the motor. Even the 'wrong' combinations will give a juddering or stuttering action or ...
by geofft
Aug 30 2018 7:25am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

reset wrote:
Aug 30 2018 5:29am
I'm based in the UK if anyone wants to take a crack at the controller I have I'm more than happy to post and provide beer tokens.... :D
If it comes to that I'll do what I can to help but in the meantime let stancecoke work his magic, I'm sure he'll get you up and running.... :wink:
by geofft
Aug 29 2018 7:02am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I was hoping to use this controller with an 5s battery so it sounds like its not going to be possible.
...you could probably use 5s if you removed (and shorted) the dropper resistor.

Easy to do, must be worth a try. Then follow the other advice given and you should be good to go.. :)
by geofft
Aug 29 2018 5:32am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Hi this is the screen shot of the settings I'm using a q100 hub so I used that template as a starting point. I've managed to get the battery displaying the voltage by setting the controller C5 set to 0 so it tracks the incoming voltage. I've taken the throttle out of the equation as I can't seem to...
by geofft
Aug 27 2018 4:54pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I did a calibration of the wattmeter recently and found that my motor has actually been drawing a max in excess of 1kw. Sorry, we can't improwe that, as we use the filtered battery current signal and do the current control in the slow loop. For this specific issue the implementation of casainho is ...
by geofft
Aug 27 2018 2:05pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I just found and fixed a bug in the firmware. The UART-interrupt-routine was not declared, if no display was selected. Now it works without the pullup resistor at the rx-line in diagnostics mode. Good find! It seems that you're still happy to fix bugs with your fw, so maybe I should mention somethi...
by geofft
Aug 27 2018 5:00am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I think you need to pull the RX to VCC, not GND. (as uart is active low signalling)
Just retested diagnostics with RX pulled up to VCC (via a 1k pullup), can confirm it now works just fine with no restarts.. :)
by geofft
Aug 24 2018 12:18pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

I've updated the firmware at github to improve the speed signal reading with the external sensor. I found some spikes in the signal in a log while regenerating. The speed counter showed values about 1000 - 1250 (means speed greater than 100 km/h on an 28" wheel) for the spikes. With this infor...
by geofft
Aug 22 2018 3:17am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

OK, I am now officially senile or maybe just retarded. I went back and looked at the listings for the S12S comtrollers I bought from BMSB. These are 36 or 48 volt controllers. There is another model that is 72 volts. The reason my controllers don't like 56 volts and above is because they weren't me...
by geofft
Aug 20 2018 2:52am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

So, Honya96 you were right. The experiment did not make any difference. So tell me, how would someone like me who is basicly clueless when it comes to programing or coding, what ever it is called, be able to take advantage of this custom firm ware? I'm wondering if your best option would be to reco...
by geofft
Aug 19 2018 10:38am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 4374
Views: 428069

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

Both motors seem to drop out at the same time. I think this must be the big clue here, if both drop at the same time it must be something common to both motors and controllers. This points towards the battery, is it fitted with a BMS (battery management system)? If it is, then logically this is the...