SUPERJC said:The ESP32 calculate the Wh with current and volt
these values (V and A) can be retrieved by any protocol (Uart, Can, ADC, other…)
On the Uart Bafang BBS protocol we only have steps current of about 0.25A or 0.5A
On the canbus M600-500 -> I dont know what are the steps of the current?
For me it's read by ESP32 with ADS1115 (for precision)
ESP32 send only Wh to Garmin wirelessly (BLE)
The Garmin having the km and the elevation can calculate Wh/km and the estimates itself
you can do your data field and your calculation by Garmin itself
app for that already exists -> Garmin IQ AppBuilder 5+
https://apps.garmin.com/en-US/apps/394941a6-4e73-4843-820b-fdcfbc877f3a
…and if you have memory
you can recording
ONLY if you have their battery with their proprietary BMS.CiDi said:With Can protocol, the controller sends current, voltage, speed, battery voltage, battery %, controller temperature and motor temperature in real time.
casainho said:ONLY if you have their battery with their proprietary BMS.CiDi said:With Can protocol, the controller sends current, voltage, speed, battery voltage, battery %, controller temperature and motor temperature in real time.
Really? than can you please point to where the CAN commands are documented? because I could not understand that looking at our current notes: https://github.com/OpenSourceEBike/Bafang_M500_M600/tree/main/CANBUSCiDi said:casainho said:ONLY if you have their battery with their proprietary BMS.CiDi said:With Can protocol, the controller sends current, voltage, speed, battery voltage, battery %, controller temperature and motor temperature in real time.
With any battery
This all the information needed to implement the EBike ANT+ LEV wireless standard!!CiDi said:With Can protocol, the controller sends current, voltage, speed, battery voltage, battery %, controller temperature and motor temperature in real time.
casainho said:Really? than can you please point to where the CAN commands are documented? because I could not understand that looking at our current notes: https://github.com/OpenSourceEBike/Bafang_M500_M600/tree/main/CANBUSCiDi said:casainho said:ONLY if you have their battery with their proprietary BMS.CiDi said:With Can protocol, the controller sends current, voltage, speed, battery voltage, battery %, controller temperature and motor temperature in real time.
With any battery
Thanks!!
mirkoser100 said:Hi Besst User,
I want to get updates via the beest software. But if I click * get a file from cloud* then a popular appears with „there is no history software in besst“
Any ideas to solve this problem? Using newest software 1.2.26 and newest hardware Uc 3.0.5
Or does this mean that a newer software isn’t available?
Thanks
Gesendet von iPhone mit Tapatalk
mirkoser100 said:Hmm strange, because my besst hardware tool got the update when I plugged it in and started the besst software tool. And in the changelog of the software rhey are also taking about updates?
Gesendet von iPhone mit Tapatalk
AppBuilder is a flexible app for Garmincasainho said:@SUPERJC, if you move to the NRF52840, you can still drive any display, continue to have the Bluetooth communication with Garmin Edge, and, with added feature of changing the Garmin page directly from the same remote you use to change the assist level of your motor. Garmin page change uses ANT+ Controls profile. We already have this implemented. You can get the source code on the GitHub.
You can program the NRF52840 in C/C++ or Python!!
And very good that Garmin customized data field, I was not aware of such tool!!
Yes, for Bafang M500/M600 will be easy as the CAN commands are already documented and tested by the developers!! And on the display side, it is like just another similar motor, sending and receiving the same data, as also display to user, as also the configurations as wheel size or max speed.SUPERJC said:I hope that the work done by all of you will also be useful with Can protocol Bafang engines
when the protocol is known we can do everything we want easily
If you want to reuse our code, it is in C and makes sense only if you use the same display. Yes, Arduino also works on the NRF52840.SUPERJC said:for NRF52840, I need to find a tutorial for beginners with Arduino (C++)
but for the moment I have not the time to beging from scratch
I will look later if really it is necessary.
Yes it is!! and if your are not sure, you can always "paint" the 3D printed parts with the glue or silicone.SUPERJC said:is 3d printing good for waterproofing ?
casainho said:I need to buy extra connectors for the motor and I found on Aliexpress a shop selling them: https://pt.aliexpress.com/item/1005003656557018.html
Can someone please say how many pins are on the left connector?? Here is the picture:
And I also would like to know which other connectors (pin number) are used, like the one for speed sensor, battery, throttle, etc. Thank you. If I get this information, later I will write on the wiki for everyone.
Thanks. Although the files were there, they were not mentioned on the notes.CiDi said:Look on GitHub, there is all the information we know.
I have some important news!!casainho said:Can someone say what is the function of this magnet in the system??
[youtube]69MAw89i7e8[/youtube]
Thanks.4πr^2 said:So far as I can tell it is for speed (at a minimum) or angle/position(most likely) of the motor.
The offset value of the angle of the magnet should be saved somewhere. Maybe that value is preserved over firmware updates. And since the boards are similar, may not male a big difference - the magnetic sensor may be slightly soldered offset between boards and even when of screw the motor case where the board is -- still all this are very small values, should not make big difference for startup torque but my reduce a bit the motor efficiency and increase slightly the motor noise.Kyokushin said:So that would mean the calibration is not needed after each firmware change (i never did calibration) or even controller change (i mean by replacement or swap M600 controller to M500). That suggest the calibration may be only required when engine is reassembled.
Thanks and this information could go to the maintenance and repair page.patdam said:Great job casainho. just one recomendation. Try to have crankcases gasket in store before opening the motor, ofen it 's brokening when you open the motor.