Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Anybody wants a stepper motor analyzer?

    Scheduled Pinned Locked Moved
    General Discussion
    56
    281
    31.6k
    Loading More Posts
    • 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.
    • zaptaundefined
      zapta @rjenkinsgb
      last edited by

      @rjenkinsgb, that looks as a good price considering the current shortage.

      Please be aware that there are fake allegro ICs on the market. If you buy through Aliexpress they will give you a refund if you got faked. The signs of faked current sensors are

      1. Pins 1,2 are not shorted.
      2. Pins 2,4 are not shorted.
      3. The face is sanded (below the new marking) and the pin 1 dimple is shallow or non visible.
      1 Reply Last reply Reply Quote 2
      • wouldstainundefined
        wouldstain @Th0mpy
        last edited by

        @th0mpy definitely interested.

        1 Reply Last reply Reply Quote 0
        • jackantubisundefined
          jackantubis
          last edited by

          Someone have 2X spares ACS70331 to sell in europe ?, can't find them. Thanks

          PCRundefined 1 Reply Last reply Reply Quote 0
          • rjenkinsgbundefined
            rjenkinsgb
            last edited by

            Well, JLC are on excellent form as usual - the five PCBs arrived yesterday.

            The current sensors have been despatched, but I don't have a delivery date yet.

            I will post an update when they arrive.

            Robert J.

            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

            1 Reply Last reply Reply Quote 0
            • PCRundefined
              PCR @jackantubis
              last edited by

              @jackantubis here!

              .BTW. i now got boards and sensors

              you will only need the screen and the pico

              1 Reply Last reply Reply Quote 0
              • lbtqsbundefined
                lbtqsb
                last edited by lbtqsb

                @zapta

                Dear zapta, this is lb (deleted my account a few month back because of private/personal issues) but suddenly I recieved "my" stepper-analyzer (tried to cancel my order last minute before deleting my account in a private chat with you, but maybe it got also deleted when I deleted my account and you never had a chance to read the chat-message?). I bought an amazon gift card at a local shop here, and now would like to send all info related to it in a private message: But since this account is brand-new just for this purpose, I do not have enough rights/priviliges to start a private chat with you... Could you open a chat so I can send you the photos of the card with serial and bill and all of that? (Sorry to cause you so much trouble, I should have waited for a reply in the private chat for the cancelling of the order before deleting my account, so it is my fault. The stepper analyzer actually looks pretty cool! Congrats!)

                Best regards

                zaptaundefined 1 Reply Last reply Reply Quote 0
                • zaptaundefined
                  zapta @lbtqsb
                  last edited by

                  @lbtqsb, just sent you a direct message here. Hopefully the system will allow you to reply.

                  1 Reply Last reply Reply Quote 0
                  • o_lampeundefined
                    o_lampe
                    last edited by o_lampe

                    @zapta I'm late to the party and only came here, because you mentioned using the Pico state machine for the display.
                    What are the limits of screen size, colour depth? Which (TFT,HDMI?) screen do you recommend?

                    //edit I scrolled through the thread and github pages, but I'm more confused than before: I found different names for the TFT: ER-TFTM35-6 ? What's the order number for a bare TFT with touchpad (without breakout board)

                    @pcr @zapta I'd consider this board as a CAN-Hat candicate. Add Can FD chips instead of current sensors (or add both?) as a CAN-analyzer...

                    zaptaundefined 1 Reply Last reply Reply Quote 0
                    • zaptaundefined
                      zapta @o_lampe
                      last edited by

                      @o_lampe , the stepper analyzer uses a 3.5” 320x480, IL9488, capacitive touch FT6206 TFT display. The older design (legacy) used a PCB based unit buydisplay.com and the newer one uses a bare TFT module from AliExpress ('3.5 LCD CTP' option at https://www.aliexpress.com/item/32862869103.html).

                      For your design, a couple of questions about the requirements

                      1. What is the desired display size and resolution?
                      2. Is it a quick one-of or will it be produced in larger quantities (design effort vs unit price sensitivity).
                      3. What is the nature of the display update? E.g. text fields N times per second, rolling graphs, videos, etc. This may affect the choice of the display interface.
                      1 Reply Last reply Reply Quote 0
                      • o_lampeundefined
                        o_lampe
                        last edited by o_lampe

                        @zapta said in Anybody wants a stepper motor analyzer?:

                        For your design, a couple of questions about the requirements

                        What is the desired display size and resolution?
                        Is it a quick one-of or will it be produced in larger quantities (design effort vs unit price sensitivity).
                        What is the nature of the display update? E.g. text fields N times per second, rolling graphs, videos, etc. This may affect the choice of the display interface.

                        Thanks for the detailed TFT info.

                        There is no specific project behind my question, only the general idea of cobbling a RPi Zero, CAN-FD and a display together as CAN sniffer/analyzer or panelDue replacement. The touchpad could also work as macro-trigger buttons or CAD-pendant.
                        Our imagination is the limit!

                        zaptaundefined 1 Reply Last reply Reply Quote 0
                        • rjenkinsgbundefined
                          rjenkinsgb
                          last edited by

                          @jackantubis said in Anybody wants a stepper motor analyzer?:

                          ACS70331

                          Well, just received the pack of ten ICs.
                          No idea what they actually are [6C185A7], but they are definitely not ACS70331 current sensors!

                          Refund requested from the selling site..

                          Robert J.

                          Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                          zaptaundefined 1 Reply Last reply Reply Quote 0
                          • zaptaundefined
                            zapta @rjenkinsgb
                            last edited by

                            @rjenkinsgb said in Anybody wants a stepper motor analyzer?:

                            No idea what they actually are [6C185A7], but they are definitely not ACS70331 current sensors!

                            A quick elimination can be done by testing if pin 1, 2 are shorted internally. Same for pins 3, 4. If not, that's a wrong IC. If they are, they have the potential to be the right IC.

                            I have good experience with this one, never sent me bad sensors (last time I purchased was on May 2021 and they were $1.39 each)

                            https://www.aliexpress.com/item/4001123087424.html

                            1 Reply Last reply Reply Quote 0
                            • zaptaundefined
                              zapta @o_lampe
                              last edited by

                              @o_lampe said in Anybody wants a stepper motor analyzer?:

                              only the general idea of cobbling a RPi Zero

                              I see. Will you run linux on the RPI Zero or something more bare bones?

                              o_lampeundefined 1 Reply Last reply Reply Quote 0
                              • o_lampeundefined
                                o_lampe @zapta
                                last edited by

                                @zapta Sorry, my mistake. I meant Pico not Zero.
                                The PIO needs a special programming language, I currently try to llearn. Most code will be microPython I guess.

                                zaptaundefined 1 Reply Last reply Reply Quote 0
                                • zaptaundefined
                                  zapta @o_lampe
                                  last edited by

                                  @o_lampe , PIO programming is like solving a puzzle and can be fun because it has a lot of room for creativity, for example, the stepper analyzer uses three programs for the same state machine and switches between them as needed (see the start_* labels in the program below)

                                  https://github.com/zapta/simple_stepper_motor_analyzer/blob/main/platformio/src/display/tft_driver.pio

                                  VisualGDB (commercial) is supposed to have a good PIO debugger but never used it.

                                  I highly recommend platformio over the SDK.

                                  1 Reply Last reply Reply Quote 2
                                  • Dogma2kundefined
                                    Dogma2k
                                    last edited by

                                    @zapta
                                    Is there an alternative for the ACS70331EOLCTR-2P5B3 that can be used? They are not really available at the moment and if only extremely overpriced

                                    rjenkinsgbundefined 1 Reply Last reply Reply Quote 1
                                    • rjenkinsgbundefined
                                      rjenkinsgb @Dogma2k
                                      last edited by

                                      @dogma2k said in Anybody wants a stepper motor analyzer?:

                                      Is there an alternative for the ACS70331EOLCTR-2P5B3 that can be used?

                                      I've been looking for some as well, as I have all the other parts.

                                      The Broadcom ACHS-7191 appears to be pin compatible and available, though rather less sensitive (10A full scale) and lower frequency response, only up to near 80 KHz..

                                      https://docs.broadcom.com/docs/ACHS-719x-DS

                                      https://www.mouser.co.uk/ProductDetail/Broadcom-Limited/ACHS-7191-000E?qs=sGAEpiMZZMv0NwlthflBi7EEbbt72Wx0J1IUc%252BxIF%2Fg%3D

                                      I have no idea it they are usable in the design as it is, or if some software changes would be needed to adjust sensitivity.

                                      And I'm not sure what impact the lower frequency response would have?

                                      Robert J.

                                      Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                                      zaptaundefined 1 Reply Last reply Reply Quote 0
                                      • Th0mpyundefined
                                        Th0mpy
                                        last edited by Th0mpy

                                        HELLO everyone!

                                        I've finally gotten a few more analyzers completed. I swapped out the current sensor with a TI TMCS1101, which is pin compatible and works with the correct voltages. Additionally, it's available 🙂

                                        I've modified the code to accept the new sensor, and made a couple modifications to the board. should more sensors be needed in the future.

                                        I will sell them for $65 a piece. The cost went up a bit due to the cost of the current sensors.

                                        If needed, I can include jumpers for a 5+ mini or 6hc (connect between the analyzer and the duet board). Prices for the 5+ is $5 (only 1 is needed) or $8 for the 6hc (two needed)

                                        Send me a private message if you want one. If you need jumpers please indicate that and what kind (5+ or 6hc). I accept payments only via PayPal and will give you my info when you message me.

                                        In total I have 8 available. There are a few who already asked in my messages so I will hit them up first and in the order they requested.

                                        The picture below is one of the actual units.

                                        54fad5e1-1387-45d1-91ec-ffda0cea651e-2ABD09C9-5CA4-4BE0-BDBD-5E475409DC17_1_105_c.jpeg

                                        Usually the team that scores the most points wins the game.

                                        PCRundefined zaptaundefined 3 Replies Last reply Reply Quote 1
                                        • PCRundefined
                                          PCR @Th0mpy
                                          last edited by

                                          @th0mpy

                                          i have 6 boards here aswell. But without sensors... can i get your code?

                                          BEst

                                          Th0mpyundefined 1 Reply Last reply Reply Quote 0
                                          • PCRundefined
                                            PCR @Th0mpy
                                            last edited by

                                            @th0mpy said in Anybody wants a stepper motor analyzer?:

                                            TI TMCS1101

                                            and every site i search they are not avaible ;(

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA