Good you could build the firmware -- and I just tested and added battery voltage max protection while regen.dkmorb said:Yes sir! It works now!
I've to buy the controller nowHow long does it take the controller to arrive from bmsbattery.com?
That's great and should protect the hardware of battery and controller!casainho said:I added to the master the battery max voltage protection while regen and it works as expected.
I'm not planning to implement all that stuff in my fork, as my aim is still to close my fork. I can't afford to spend much time in our project at the moment.casainho said:(I don't remember if you added already this feature to your fork).
dkmorb said:I've to buy the controller now![]()
Can you please share with us some information, so we can understand better your needs:dkmorb said:Hi all, I'm new here.
I'm trying to compile your code (...)
I'm interested in electric motor and so now I want to experiment, but i'm a professional programmer (db layer C#, almost)1. can you please tell us why are you interested to use the firmware?
I haven't a bike, but I would go to work by bike2. what bicycle type do you have, what is the kind of usage?
I would like to buy and drive a big motor (1500W / 2000W)3. which motor, battery pack voltage?
Well...i don't know4. do you use throttle, PAS, torque sensor, regen brakes?
I thought that making a generic motor controller using S series controller that can be controlled by UART and Arduino, could be interesting for playing with brushless motors using Arduino.dkmorb said:I'm interested in electric motor and so now I want to experiment, but i'm a professional programmer (db layer C#, almost)1. can you please tell us why are you interested to use the firmware?
Simdkmorb said:So we are tuned on the same subject! o mundo é pequeno...
42 kh/h !!! WTH!!! May be this is too dangerous for a bike! Or not? Is this q11 a 500W motor?42 Kh/h
Well, at the moment, I would build a "simple" little bike like this one:For what kind of application wold you use the motor for?
// see if CRC is ok
if (((ui8_crc ^ 10) == ui8_rx_buffer [7]) || // some versions of CRC LCD5 (??)
((ui8_crc ^ 9) == ui8_rx_buffer [7]) || // CRC LCD5
((ui8_crc ^ 2) == ui8_rx_buffer [7])) // CRC LCD3
{
Yes, maybe not for everyone. For ones like me, that live on flat lands and have some background on fixed bikes, this is nice. Or maybe the ones that are used to coast brakes.honya96 said:I think that its not a good way of applying regen for most users. Try variable regen with something like this http://s.aliexpress.com/FnQJ7f6F if the controller cant see analog voltage input, then this module will convert output voltage of brake lever (hall thumb throttle as brake) to pwm.
What about the torque controll throttle? Is it implemented?
This solution is already implemented in the torque-simulation fork.honya96 said:(hall thumb throttle as brake)
casainho said:- when ebike rider want to ebrake for reducing speed (without using mechanical brakes), needs to rotate backwards the pedals
Yes, thanks for sharing that info about X4 -- and I used it as a digital input pin. I also put your info on the notes.stancecoke said:As I see in the code, you have used the pad X4 also!
But I can't find a direction detection for PAS2 in the code. Has the additional PAS an internal direction detection?
Thanks for the feedback.1N4001 said:I've been following this project for a dew days now and I must say that I'm impressed. You guys are doing a great job!
The idea of doing regen when pedaling backwards is great. Add a bit of a delay until the regen sets in you you have a great solution that doesn't need additional hardware.
I have a question of my own. I am planning on running a S12SN (possibly even the 72V variant) with this firmware. Since it was only tested on the S6 and S12S, I am wondering if it can work. I can tweak and play around some (Linux dev environment is available), but I am no match for your programming skills. So do you think it might be possible and worth a try?
I am not aware that anyone had implement this idea before. But this is very similar to coast brakes. Also near the fixed gear bikes.daffy99 said:casainho said:- when ebike rider want to ebrake for reducing speed (without using mechanical brakes), needs to rotate backwards the pedals
That's a very interesting idea! Has this ever been used before?