• General
  • Uploading the PowerFeather-Demo Code from GitHub

Error Message:
/Users/anthonysullivan/Dropbox/Arduino/libraries/ESPAsyncWebServer/src/WebAuthentication.cpp:76:3: error: 'mbedtls_md5_finish_ret' was not declared in this scope; did you mean 'mbedtls_md5_finish'?

"mbedtls_md5_finish_ret" is not part of the code so I assume it is in one of the libraries? In any case can you fix this problem so that I can upload the code from GitHub to my PowerFeather board.
Many thanks

Please refer to my reply to your comment on the ESP32-S3 PowerFeather showcase video.

Many thanks but so far there is no reply under my comment on the video. Please help; I must get this working.

    AnthonySullivan I see. Sorry, I'm not too familar with the workings of Youtube comments, on my end the reply is visible. However, I will repeat the answer here.

    The issue is with the EspAsyncWebServer not being fully compatible with arduino-esp32 v3.x, see here. You can use v2.x as a workaround.

    Many thanks for the advice. Could you tell me how to revert back to v2 please?

    Ok thanks; I went to the Boards Manager in Arduino IDE and searched for "arduino-esp32". The current version is 3.0.7 but I reinstalled version 2.0.17 and it uploads fine now. Great piece of software and your video is excellent.

    One more issue. I would like to use this to send data to an IOT like Arduino. Do you have a sketch showing how to read the relevant variables so I can print them to the serial monitor and send them to an IOT?
    Many thanks in advance.

    Great piece of software and your video is excellent.

    Thank you for the kind words!

    Do you have a sketch showing how to read the relevant variables so I can print them to the serial monitor and send them to an IOT?

    There is a more basic example here which does what you want (query some information, print to serial monitor): https://github.com/PowerFeather/powerfeather-sdk/blob/main/examples/SupplyAndBatteryInfo/SupplyAndBatteryInfo.ino

    However, it just demonstrates how to get just the battery and supply voltage/current. You can read more about the available functions here: https://docs.powerfeather.dev/sdk/api/mainboard

    Could I just confirm that '#define BATTERY_CAPACITY 3600' is for one 18650 cell and should be increased for each additional cell being charged at the same time?

    Also is there a maximum number of 18650 cells that can be charged simultaneously?

    Also can we determine the power being consumed by the PowerFeather itself each day? I want to know how much spare power will be available for other purposes.

    Could I just confirm that '#define BATTERY_CAPACITY 3600' is for one 18650 cell and should be increased for each additional cell being charged at the same time?

    If using parallel cells, the capacity defined should that of a single cell, as per the capacity argument description: https://docs.powerfeather.dev/sdk/api/mainboard#parameters

    There isn't really a limit for parallel, but personally I'm not comfortable with more than 3. But if you are going to do more, it's best if you can add protections for each cell like a fuse. Also, the cells should be as close to age, make, model, initial voltage/charge etc. as possible.

    Also can we determine the power being consumed by the PowerFeather itself each day?

    There isn't really a way to isolate the power consumption of the PowerFeather just by itself, I'm afraid. The figures reported are for the board itself and connected loads.