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

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

                  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.

                  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
                          • undefined
                            Dogma2k
                            last edited by 17 Nov 2021, 11:03

                            @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

                            undefined 1 Reply Last reply 17 Nov 2021, 11:33 Reply Quote 1
                            • undefined
                              rjenkinsgb @Dogma2k
                              last edited by 17 Nov 2021, 11:33

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

                              undefined 1 Reply Last reply 18 Nov 2021, 07:05 Reply Quote 0
                              • Th0mpyundefined
                                Th0mpy
                                last edited by Th0mpy 18 Nov 2021, 03:23

                                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.

                                undefined undefined 3 Replies Last reply 18 Nov 2021, 05:56 Reply Quote 1
                                • undefined
                                  PCR @Th0mpy
                                  last edited by 18 Nov 2021, 05:56

                                  @th0mpy

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

                                  BEst

                                  Th0mpyundefined 1 Reply Last reply 18 Nov 2021, 17:51 Reply Quote 0
                                  • undefined
                                    PCR @Th0mpy
                                    last edited by 18 Nov 2021, 05:57

                                    @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
                                    • undefined
                                      Dogma2k
                                      last edited by 18 Nov 2021, 06:34

                                      Hi @Th0mpy,

                                      i also have 5 boards here without sensors and would also be interested in the adapted code like @PCR .

                                      P.S. what is the exact name of the TMCS1101? (TMCS1101A3UQDRQ1 or TMCS1101A4UQDRQ1 etc.)

                                      P.S. Which jumpers do you think are still needed? Do you mean the connections at J1 + J2?

                                      Th0mpyundefined 1 Reply Last reply 18 Nov 2021, 17:56 Reply Quote 0
                                      • undefined
                                        zapta @rjenkinsgb
                                        last edited by 18 Nov 2021, 07:05

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

                                        The Broadcom ACHS-7191 appears to be pin compatible and available

                                        The stock board assumes current sensors that operates on 3.3V. The ACHS-7191 seems to require 5V so will need some design changes.

                                        Have you seen the recent post here that mentioned the TI TMCS1101 ?

                                        undefined 1 Reply Last reply 19 Nov 2021, 15:28 Reply Quote 0
                                        • undefined
                                          zapta @Th0mpy
                                          last edited by 18 Nov 2021, 07:07

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

                                          and made a couple modifications to the board. should more sensors be needed in the future.

                                          Can you release these modifications? It will be useful if we will 'standardize' the configuration such that we can share firmware between boards.

                                          Th0mpyundefined 1 Reply Last reply 18 Nov 2021, 17:24 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA