Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo that says

Flow Battery Research Collective

  1. Home
  2. General Discussion
  3. My build (very slowly progressing)

My build (very slowly progressing)

Scheduled Pinned Locked Moved General Discussion
47 Posts 4 Posters 480 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sepiS Online
    sepiS Online
    sepi
    wrote last edited by
    #36

    Yay, I got my MyStat working (a least to some extent). After fiddeling a bit with the yucky Microchip ISP software of which I had to install an outdated version (3.20 afaik) because they removed PicKit3 support, I finally managed to program Kirk's firmware on the device. Getting to run the python host software was fortunately pretty easy.

    At first I was a bit stumped by an error message about an out of range current which I tried to calibrate away. It only occurred to me a bit later to connect the main PSU, which corrected the issue

    Unfortunately I have some issues with commands that don't go through like the one for saving calibration to the device returning '?' instead of 'OK'.

    Any Idea @kirk ?

    1 Reply Last reply
    1
    • kirkK Offline
      kirkK Offline
      kirk
      wrote last edited by
      #37

      I am less familiar with the MYSTAT hardware/firmware, that repository is a fork and you can see the original developers efforts much before mine! Just to say I'm not super familiar, @danielfp248 programed mine and sent it to me in the mail 😅

      Yes, the main PSU needs to be connected for current measurents to function.

      Also a warning, make sure the MYSTAT is completely powered off and unplugged before inserting/removing the measurement cable to the MYSTAT, otherwise there is a risk of damage.

      Are you following the calibration procedure from the original paper with a (IIRC) 1k resistor?

      kirkK 1 Reply Last reply
      0
      • kirkK kirk

        I am less familiar with the MYSTAT hardware/firmware, that repository is a fork and you can see the original developers efforts much before mine! Just to say I'm not super familiar, @danielfp248 programed mine and sent it to me in the mail 😅

        Yes, the main PSU needs to be connected for current measurents to function.

        Also a warning, make sure the MYSTAT is completely powered off and unplugged before inserting/removing the measurement cable to the MYSTAT, otherwise there is a risk of damage.

        Are you following the calibration procedure from the original paper with a (IIRC) 1k resistor?

        kirkK Offline
        kirkK Offline
        kirk
        wrote last edited by
        #38

        Also actually @danielfp248 made all the code improvements to the repository for MYSTAT, he just dislikes Git and so I'm the one who uploads them 😅

        C 1 Reply Last reply
        0
        • kirkK kirk

          Also actually @danielfp248 made all the code improvements to the repository for MYSTAT, he just dislikes Git and so I'm the one who uploads them 😅

          C Online
          C Online
          czahl
          wrote last edited by
          #39

          @kirk Is there an updated version of the firmware available? The mystat repo includes the changes of the python UI only, but e.g. not the ones for the 4 instead of 3 range switches.

          kirkK D 2 Replies Last reply
          0
          • C czahl

            @kirk Is there an updated version of the firmware available? The mystat repo includes the changes of the python UI only, but e.g. not the ones for the 4 instead of 3 range switches.

            kirkK Offline
            kirkK Offline
            kirk
            wrote last edited by
            #40

            @czahl ah I think @danielfp248 would know this answer, he has flashed most of the firmware but I don't remember him saying he made any changes. He is traveling right now so it may take him a bit to get back to us. I have only used the MYSTAT, I haven't dealt with the firmware myself. If he made any changes then we can push them to the repo ASAP.

            1 Reply Last reply
            0
            • C czahl

              @kirk Is there an updated version of the firmware available? The mystat repo includes the changes of the python UI only, but e.g. not the ones for the 4 instead of 3 range switches.

              D Offline
              D Offline
              danielfp248
              wrote last edited by
              #41

              @czahl We have never updated the firmware, we use the same one as the original mystat paper. Errors when saving calibration are often related with the calibration parameters being of the incorrect numerical type or the values being too large. There might be a bug in the UI around this. I'll check when I'm back from my traveling, however I dont remember having issues saving these values when calibrating successfully with the 1k ohm resistors.

              C sepiS 2 Replies Last reply
              0
              • D danielfp248

                @czahl We have never updated the firmware, we use the same one as the original mystat paper. Errors when saving calibration are often related with the calibration parameters being of the incorrect numerical type or the values being too large. There might be a bug in the UI around this. I'll check when I'm back from my traveling, however I dont remember having issues saving these values when calibrating successfully with the 1k ohm resistors.

                C Online
                C Online
                czahl
                wrote last edited by
                #42

                @danielfp248 said in My build (very slowly progressing):

                We have never updated the firmware, we use the same one as the original mystat paper

                Are we talking about the same mystat repo? Again in my understanding this paper reflects the PCB from PcbWay, und this has the 4 reed relais (on top of the picture) for the 4 current ranges. In the main.c only the original 3 are handled.

                Somewhere there is a mismatch, or am I'm looking into the wrong repo?

                D 1 Reply Last reply
                0
                • C czahl

                  @danielfp248 said in My build (very slowly progressing):

                  We have never updated the firmware, we use the same one as the original mystat paper

                  Are we talking about the same mystat repo? Again in my understanding this paper reflects the PCB from PcbWay, und this has the 4 reed relais (on top of the picture) for the 4 current ranges. In the main.c only the original 3 are handled.

                  Somewhere there is a mismatch, or am I'm looking into the wrong repo?

                  D Offline
                  D Offline
                  danielfp248
                  wrote last edited by
                  #43

                  @czahl I dont know which files kirk used to create that repo. I use the firmware directly from the repo linked on the mystat paper.

                  C 1 Reply Last reply
                  0
                  • D danielfp248

                    @czahl I dont know which files kirk used to create that repo. I use the firmware directly from the repo linked on the mystat paper.

                    C Online
                    C Online
                    czahl
                    wrote last edited by
                    #44

                    @danielfp248 Thanks for the hint this is the reason. In the version referenced in the paper, the firmware is extended to support the 4 current ranges.

                    1 Reply Last reply
                    0
                    • D danielfp248

                      @czahl We have never updated the firmware, we use the same one as the original mystat paper. Errors when saving calibration are often related with the calibration parameters being of the incorrect numerical type or the values being too large. There might be a bug in the UI around this. I'll check when I'm back from my traveling, however I dont remember having issues saving these values when calibrating successfully with the 1k ohm resistors.

                      sepiS Online
                      sepiS Online
                      sepi
                      wrote last edited by
                      #45

                      @danielfp248 said in My build (very slowly progressing):

                      however I dont remember having issues saving these values when calibrating successfully with the 1k ohm resistors.

                      I need to actually do the real calibration when I find the time. I'l report back then.

                      1 Reply Last reply
                      0
                      • sepiS Online
                        sepiS Online
                        sepi
                        wrote last edited by
                        #46

                        @danielfp248 I managed to get the mystat working correctly and calibrate it too. The problem was the firmware. I was using the one from @kirk's repo but that's the one working for only 3 current ranges. https://github.com/matthew-yates/MYSTAT/blob/main/firmware/firmware.hex is the correct one to use with the updated board. Should I create a pull request?

                        D 1 Reply Last reply
                        1
                        • sepiS sepi

                          @danielfp248 I managed to get the mystat working correctly and calibrate it too. The problem was the firmware. I was using the one from @kirk's repo but that's the one working for only 3 current ranges. https://github.com/matthew-yates/MYSTAT/blob/main/firmware/firmware.hex is the correct one to use with the updated board. Should I create a pull request?

                          D Offline
                          D Offline
                          danielfp248
                          wrote last edited by
                          #47

                          @sepi yes, please do.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          2

                          Online

                          64

                          Users

                          33

                          Topics

                          395

                          Posts
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups