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 @jackantubis
      last edited by

      The current sensors that used to cost $1.39 each are now $6.12, from the same vendor, due to the global semiconductor shortage.

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

      zaptaundefined rjenkinsgbundefined 2 Replies Last reply Reply Quote 0
      • zaptaundefined
        zapta @zapta
        last edited by zapta

        A side note, if you want to make a stepper extension cable or need for any other reason connectors that mate with the Duet's 4 pin kk connectors, these DigiKey part numbers seems to fit

        WM13471-ND ; housing
        WM2330CT-ND ; pins

        da835ed3-2f58-43ad-a666-705bfda849f8-image.png

        JoergS5undefined 1 Reply Last reply Reply Quote 3
        • JoergS5undefined
          JoergS5 @zapta
          last edited by JoergS5

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • rjenkinsgbundefined
            rjenkinsgb @zapta
            last edited by

            @zapta
            The current sensors are £3.35 each, if you buy ten, from the same supplier via this site:
            https://gbr.grandado.com/products/10pcs-lot-acs70331eolctr-2p5b3-acs70331-a70331-70331-sop-8-ic-chip-original?gclid=Cj0KCQjwtrSLBhCLARIsACh6Rmi87C-4ieahOuPrFe5HqIFy459C3PG6qSX53DwHaApaXtR0o5t1YjEaAsZZEALw_wcB&variant=UHJvZHVjdFZhcmlhbnQ6MjUzMzY3MTI3

            I've just ordered five PCBs and ten sensors; I'll probably build two units myself so if anyone in the UK wants a board or sensors (at cost) let me know.

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

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • 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.

                      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..

                                    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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA