AndZab said:Hope I can keep the DPC18, and somebody can help me to fix this bike?
Corrida victim said:AndZab said:Hope I can keep the DPC18, and somebody can help me to fix this bike?
I would try fixing the issues with your current controller instead of buying into a new system. There are loads of threads about you bafang system, and from experience, I can tell you it's pretty neat!
If you really want to throw another 80$ into your low power setup, you could buy any kunteng controller. Just check aliexpress for anything with the same amp rating (22A) or more! You can always limit the output. That display won't work, kunteng lcd3/5/6 will.
AndZab said:But this time I want it fully programmable, this is why I ask compatibility with this open software.
Corrida victim said:AndZab said:But this time I want it fully programmable, this is why I ask compatibility with this open software.
This firmware runs on all kunteng controllers. I think they all feature the same microprocessor (STM8S105C6T6?)
I don't think lcd8 is supported, but if you're not new to programming you could probably add support![]()
bj97301 said:I have a kt controller(https://a.aliexpress.com/_dUn7d5Y) and am wondering if I should use this firmware or the tsdz one because this one is no longer maintained and they use the same micro processors as stated in the wikis.
AndZab said:If you can point me to the Bafang serial protocol specs, I can think about it.
This project is alive, only casainhos fork is inactive. See my signature!bj97301 said:wondering if I should use this firmware or the tsdz one because this one is no longer maintained
stancecoke said:AndZab said:If you can point me to the Bafang serial protocol specs, I can think about it.
For my Lishui-Project, I took the code from the "Forumscontroller", see the display_bafang.cpp and the display_bafang.h
The Bafangs work with 1200 BAUD, you have to change this in the UART init function.
This project is alive, only casainhos fork is inactive. See my signature!bj97301 said:wondering if I should use this firmware or the tsdz one because this one is no longer maintained
regards
stancecoke
bj97301 said:opened a pr
According to the wiki I should have calA at 'something around 100'... A little ambiguous.wiki said:Battery Current cal a: Factor a in the calibration function.
ADC value = calA * battery current + calB.
calB is measured automatically at starup.
Required for internal calculation of the current from the 10bit ADC value.
For a 6FET and 12FET controller the value has to be something around 100, for the 18FET about 50.
Marctwo said:ADC value = calA * battery current + calB.
Marctwo said:Hi all and thanks to everyone involved in this project.
I flashed my old bmsbattery s12s with the fw and I'm using it with a bbs02 at 36v. I'm also using an hc-05 with the bluosec app. After a bit of initial fiddling, everything seems to be working quite well.
Hmm... ok, thanks.stancecoke said:Edit: the wiki was right !Marctwo said:ADC value = calA * battery current + calB.
Yes.geofft said:I'm presuming you're using an external Kunteng S12S controller hooked up to the BBS02 hall and motor phase connections?
Yeah, it's just another motor. I'm currently using a motor angle of 246 but that may change over the coming days as I fine tune it.geofft said:Was it just a case of getting the phases correct to match the Kunteng?
geofft said:Was it just a case of getting the phases correct to match the Kunteng?
Yeah, it's just another motor. I'm currently using a motor angle of 246 but that may change over the coming days as I fine tune it.
Hall sensors:
Where the bafang controller had:
Red, Black, Grey, White, Blue
The s12s has:
Red, Black, Yellow, Blue, Green