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

Anybody wants a stepper motor analyzer?

Scheduled Pinned Locked Moved
General Discussion
56
281
31.5k
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.
  • undefined
    zapta @jackantubis
    last edited by 7 Oct 2021, 15:46

    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

    undefined undefined 2 Replies Last reply 16 Oct 2021, 20:04 Reply Quote 0
    • undefined
      zapta @zapta
      last edited by zapta 16 Oct 2021, 20:04

      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

      undefined 1 Reply Last reply 17 Oct 2021, 15:12 Reply Quote 3
      • undefined
        JoergS5 @zapta
        last edited by JoergS5 17 Oct 2021, 15:12

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • undefined
          rjenkinsgb @zapta
          last edited by 18 Oct 2021, 09:33

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

          undefined 1 Reply Last reply 18 Oct 2021, 17:30 Reply Quote 0
          • undefined
            rjenkinsgb
            last edited by rjenkinsgb 18 Oct 2021, 10:05

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • undefined
              zapta @rjenkinsgb
              last edited by 18 Oct 2021, 17:30

              @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
              • undefined
                wouldstain @Th0mpy
                last edited by 19 Oct 2021, 20:33

                @th0mpy definitely interested.

                1 Reply Last reply Reply Quote 0
                • undefined
                  jackantubis
                  last edited by 25 Oct 2021, 08:47

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

                  undefined 1 Reply Last reply 26 Oct 2021, 15:46 Reply Quote 0
                  • undefined
                    rjenkinsgb
                    last edited by 26 Oct 2021, 11:10

                    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
                    • undefined
                      PCR @jackantubis
                      last edited by 26 Oct 2021, 15:46

                      @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
                      • undefined
                        lbtqsb
                        last edited by lbtqsb 31 Oct 2021, 11:53

                        @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

                        undefined 1 Reply Last reply 31 Oct 2021, 22:00 Reply Quote 0
                        • undefined
                          zapta @lbtqsb
                          last edited by 31 Oct 2021, 22:00

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

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            o_lampe
                            last edited by o_lampe 11 Apr 2021, 08:16 4 Nov 2021, 07:22

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

                            undefined 1 Reply Last reply 4 Nov 2021, 14:35 Reply Quote 0
                            • undefined
                              zapta @o_lampe
                              last edited by 4 Nov 2021, 14:35

                              @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
                              • undefined
                                o_lampe
                                last edited by o_lampe 11 May 2021, 11:39 5 Nov 2021, 11:36

                                @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!

                                undefined 1 Reply Last reply 5 Nov 2021, 14:54 Reply Quote 0
                                • undefined
                                  rjenkinsgb
                                  last edited by 5 Nov 2021, 11:59

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

                                  undefined 1 Reply Last reply 5 Nov 2021, 14:53 Reply Quote 0
                                  • undefined
                                    zapta @rjenkinsgb
                                    last edited by 5 Nov 2021, 14:53

                                    @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
                                    • undefined
                                      zapta @o_lampe
                                      last edited by 5 Nov 2021, 14:54

                                      @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?

                                      undefined 1 Reply Last reply 5 Nov 2021, 15:22 Reply Quote 0
                                      • undefined
                                        o_lampe @zapta
                                        last edited by 5 Nov 2021, 15:22

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

                                        undefined 1 Reply Last reply 5 Nov 2021, 16:12 Reply Quote 0
                                        • undefined
                                          zapta @o_lampe
                                          last edited by 5 Nov 2021, 16:12

                                          @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