Programming ESP32 & inbuilt module programmer (DIYBMS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 42

  • @AdamWelchUK
    @AdamWelchUK 3 ปีที่แล้ว +7

    Super neat. The internal programmer is such a good idea.

  • @Jttorbey
    @Jttorbey 3 ปีที่แล้ว +2

    I love the iterations of this project. Everytime I go to order boards, there's always 5 or so parts out of stock but I'm looking forward to finally trying it, especially once you get the shunt added in! I plan to build a fairly large battery bank setup, so I'm definitely looking forward to some of these newer features.

  • @IronXSide
    @IronXSide 3 ปีที่แล้ว +2

    Flash mode is not active on some Chinese ESP32 development boards. The board is recognized but cannot establish a connection to the NodeMCU PyFlasher.
    First option:
    If the program tries to flash the ESP32 board, you have to briefly press the "EN" button and the "Boot" button. Then the board is in flash mode.
    Second option:
    To make your ESP32 board go into flashing / uploading mode automatically, you can connect a 10 uF electrolytic capacitor between the EN pin and GND.

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      Thanks for the info, I've not come across one of those types yet, must be lucky

  • @gjsxnobody7534
    @gjsxnobody7534 10 หลายเดือนก่อน

    where is the video about how to connect the v4.90 boards

  • @adewaledipo
    @adewaledipo 3 ปีที่แล้ว +1

    Hello stuart. Thanks for all you do. Is there somewhere we can buy the fully assembled and fully programmed module

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว

      No sorry, fully completed modules are not available to purchase

    • @zzzdgr
      @zzzdgr 3 ปีที่แล้ว +1

      I am also interested in a fully assembled system. If this becomes an option please let me know.

  • @KarlMiller
    @KarlMiller 3 ปีที่แล้ว

    @Stuart Pittaway - Could the controller module run esphome firmware or be migrated to esphome so it could be used as part of home assistant?

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      It already speaks Mqtt so could integrate using that?

  • @edwardcriscuolo5845
    @edwardcriscuolo5845 3 ปีที่แล้ว

    Tried getting a JLCPCB quote, and two parts are coming up "No part selected": U1 (TJA1051T/3) and U11 (MicroSD_SPI_CD). They seem to be gone from the JLCPCB catalog (not just out-of-stock).

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว

      The microsd has never been a part that can be placed by jlc automatically, so this needs to be soldered on manually afterwards. The TJA part, can also be added later and it's not critical to add that at the start, the controller works without it.

  • @machka3850
    @machka3850 3 ปีที่แล้ว

    Hello stuart, is there way to connect only esp32 to modules to program modules istead of using avr programming usb? Can i transform a esp32 into a modules programmer?

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว

      You should be able to - google "ESP32 IVR programmer"

  • @arhitektche
    @arhitektche 3 ปีที่แล้ว +1

    excellent stuff

  • @FrancescoOliveri
    @FrancescoOliveri 3 ปีที่แล้ว

    I have a question. Can one controller handle 3 battery packs? I have 3 6s packs in parallel and it would be awesome if only one controller controlled charge and discharge cicle.

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      As long as the packs are in parallel and connected together, then only 1 controller is needed.

    • @edwardcriscuolo5845
      @edwardcriscuolo5845 3 ปีที่แล้ว

      @@StuartPittaway As a complementary question, I'm planning on building two 4s packs in parallel, and would like to use separate controller boards for redundancy/reliability purposes. Are there any isues, such as WiFi name/sddress classhes, when using two separate controllers?

  • @4444voort
    @4444voort 3 ปีที่แล้ว +1

    Great stuff! Although my setup is not super fancy or complicated i think i will switch to this controler also keeping in mind a possible future shuntmonitor ;)

  • @ktacatalin3715
    @ktacatalin3715 3 ปีที่แล้ว

    Hello Stuart, can your entire system be aquired as an "plug and play" BMS? Or I just need to buy it separately and buils it afterwards ? 10X

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      You need to build it !

    • @ktacatalin3715
      @ktacatalin3715 3 ปีที่แล้ว

      @@StuartPittaway I've ordered it ;). Thanks. Shouldn't it help to add an active cooling sistem on each bank for the future or maybe Peliter ?

  • @marcelantunes
    @marcelantunes 3 ปีที่แล้ว

    Hello. I have tried to program several ESP's using this method and with platform Io, but I always get errors . I am trying to get familiar and figure out how it works so that in some case I can give feedback. I am already a BMS user Batrium, but folowed your project since early times. The erros are:
    file: "src/HAL_ESP32.cpp" line 54
    func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
    expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
    ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4009121f
    file: "src/HAL_ESP32.cpp" line 107
    func: void HAL_ESP32::Led(uint8_t)
    expression: writeByte(I2C_NUM_0, TCA9534APWR_ADDRESS, TCA9534APWR_OUTPUT, TCA9534APWR_Value)
    ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4009121f

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +2

      Ok, it looks like the code has programmed ok. The error relates to communications with the PCA chip. I suspect a bad solder joint or chip in this case

    • @marcelantunes
      @marcelantunes 3 ปีที่แล้ว

      @@StuartPittaway Thanks. So that means that this version unlike the previous it wont run standalone on the esp32, without being connected to the controler board!? I will get a controller board one of these days fort testing. Congratulations for the excelent work.

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      @@marcelantunes no, the first thing it does is attempt to configure the external chips, if that fails, it stops.

  • @ParagonDIY
    @ParagonDIY 3 ปีที่แล้ว

    Stuart you deleted my comment?, it was just a question because I don't know if I ordered a good ESP module?

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      I've not deleted anything! What was the question?

    • @ParagonDIY
      @ParagonDIY 3 ปีที่แล้ว

      @@StuartPittaway something is up, I wrote again and the comment disappeared, I wonder if this one will not disappear :) , I wrote to you on FB

    • @StuartPittaway
      @StuartPittaway  3 ปีที่แล้ว +1

      @@ParagonDIY I can see this one! For help you are best contacting me via the openenergymonitor forum. I can't easily reply to TH-cam comments

    • @ParagonDIY
      @ParagonDIY 3 ปีที่แล้ว

      @@StuartPittaway yes, something is wrong now that my cometars are disappearing hehe, you have stories from strangers on FB in the other folder

    • @ParagonDIY
      @ParagonDIY 3 ปีที่แล้ว

      @@StuartPittaway So again, in the movie you have the ESP32-WROOM-32U controller, but the links you give to the ESP32-WROOM-32D version are you sure it is ok?