Anybody wants a stepper motor analyzer?
-
@lbtqsb, just sent you a direct message here. Hopefully the system will allow you to reply.
-
@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...
-
@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
- 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.
-
@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! -
@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..
-
@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)
-
@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?
-
@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. -
@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)
VisualGDB (commercial) is supposed to have a good PIO debugger but never used it.
I highly recommend platformio over the SDK.
-
@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 -
@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
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?
-
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.
-
-
@th0mpy said in Anybody wants a stepper motor analyzer?:
TI TMCS1101
and every site i search they are not avaible ;(
-
-
@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 ?
-
@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.
-
@zapta Yep, I'll reach out to you separately (this weekend) and go over my changes.
-
-
@dogma2k I had to re-use some of the code for the jumper. You can pull the option pin high, low, or float to get an option. I re-used the high option to add the TMCS1101. I did update the board to add 2 more option pins this way you could conceivably have up to 27 options for sensors, but the code hasn't been completely updated.
This is the one I'm using: TMCS1101A2BQDRQ1 which now when I look doesn't show stock until January I still have a few and have 10 more boards coming so my next batch will likely hit sometime in January.