Current ADC and more - #18
Conversation
Trip1 reset
…act@v4 actions/upload-artifact@v4
esp_idf_version
esp_idf_version_5.5.1
spiffsToLittlefs
ADCOptimization
spiffsToLittlefs
|
I think I merged all your previous PRs, which probably includes everything in here? You're probably better off creating a new branch and checking if there's anything missing, adding that on top again :) If you look at the files changes in this specific PR, according to GitHub, it's very messy now, and lots of stuff that doesn't make sense. Also I think it's confused about the history and misreporting what it would actually create as PR merge. |
|
this is much more than what you have. but it is what I use for my LIFEPO4 bikes and not generic. You can't just merge it. |
|
Ok, the GitHub PR doesn't show any changes I don't already have :) |
|
What I do have already from you is:
|
|
Here is says that 30 files changed. Most important change is Current ADC next to voltage. So the display shows Ah used in stead of an estimate based on voltage. |
|
Yes, 30 files here too, actually, it might be mostly actual differences, just also reverts several changes that should stay :) Ok, for current, I guess it's the config: Some changes in display.h, just for CU2: #if CONFIG_ION_CU2 And a new charge.h and charge.cpp Some changes in main.cpp also, and in bat.cpp / bat.h And some other smaller calls, a cu2 update in calibration it seems And I see 3 new sdkconfigs I think :) What is needed on the circuit side? I see it uses a second ADC channel/pin :) I think it could be included, but it would take some time to do it cleanly, and I will never have the hardware to test it :) |
|
It needs a powermodule like this: https://nl.aliexpress.com/item/1005005831224524.html To make it generic will take some efford still. It works on my bicycles. To make it generic some configuration stuff needs to be added. Not to much I think but requires some insight on how whings are made configurable now. |
Current ADC and more, NOT GENERIC.