Date   

Re: Configuration Calculator 1.19+ and Driver Microsteps

George Cushing
 

These are the driver control connections for the TMC5160

EN GND=on, VIO=off
M0-SDI SPI data input
M1- SCK SPI serial clock input
M2-CSN SPI chip select input (negative active)
M3-SDO SPI data output (tristate) Optional
M4-CLK  N/C
STEP  (1x,2x,4x,8x,16x,32x,128x,256x)
DIR
The µstep/full step options are 1x,2x,4x,8x,16x,32x. 128x and 256x are interpolated by the driver. And are not effected by the limitations of the controller's MCU. Neither of these µstep rates contributes significantly to tracking resolution. They are used to reduce the noise made by the motors. They are engaged by the SPI chip select function. This called by using the TMC5160_QUIET driver specification and selecting one µstep rate from 1x,2x,4x,8x,16x or 32x. See: https://onstep.groups.io/g/main/wiki/26586#AXIS1

  • AXIS1_DRIVER_MODEL
    • Default Value: OFF
    • Other ValuesOFF,
      A4988, DRV8825, LV8729, RAPS128, S109, ST820, TMC2100,TMC2208,
      TMC2209, 
      TMC2209_QUIET, TMC2209_VQUIET,
      TMC2130, 
      TMC2130_QUIET, TMC2130_VQUIET,
      TMC5160, TMC5160_QUIET, TMC5160_VQUIET,
      GENERIC, GENERIC1, GENERIC2, GENERIC3,
      SERVO, SERVO1, SERVO2, SERVO3
    • Notes: This is the step/dir (stepper) driver model.
    • Reminder:
      • See the Stepper Driver Summary to learn more about the commonly used drivers.
      • SSS TMC2130 if you choose to set stepper driver current (in mA) with AXISn_TMC_IRUN (IHOLD, etc.) set the Vref pot. at 2.5V instead of by motor current as usual.
      • SSS TMC5160 you must set stepper driver current (in mA) with AXISn_TMC_IRUN (IHOLD, etc.)
      • The _VQUIET suffix (if available) causes the driver to run in stealthChop (silent) mode during tracking and slews.  StealthChop mode is not suitable for reaching high motor RPM's.
      • The _QUIET suffix (if available) causes the driver to run in stealthChop (silent) mode during tracking and spreadCycle during slews.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 08:28 AM, Drew 🔭📷🚴‍♂️ wrote:
How do you mean? The wireless SHC commands are already ported through it. Are you referring to the ST4 port itself? I would think processing the data stream and sending it to the OnStep processor would not be that complicated.
Seems pretty complicated to me and it seems like "feature creep" too, so... not going there.


Webmos d1 pro

reddish7575@...
 

I see a lot of these very cheap, from China and one from a reputable source. Is there a recommended place to buy these from?


Re: New controller design

Drew 🔭📷🚴‍♂️
 

On Tue, Nov 29, 2022 at 11:24 AM, Howard Dutton wrote:
Makings of a software nightmare.
How do you mean? The wireless SHC commands are already ported through it. Are you referring to the ST4 port itself? I would think processing the data stream and sending it to the OnStep processor would not be that complicated.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:29 AM, Howard Dutton wrote:
On Tue, Nov 29, 2022 at 07:28 AM, Drew 🔭📷🚴‍♂️ wrote:
How about moving the ST4 to the second ESP32? Seems as though this would help the pinmap.
No way would I do that.
Makings of a software nightmare.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:39 AM, Howard Dutton wrote:
MaxPCB2
It's well ahead of the MaxPCB2 in features really.


Re: New controller design

Howard Dutton
 
Edited

On Tue, Nov 29, 2022 at 07:30 AM, Howard Dutton wrote:
On Tue, Nov 29, 2022 at 07:28 AM, Drew 🔭📷🚴‍♂️ wrote:
Seems as though this would help the pinmap.
A solution in search of a problem.
This has a nearly complete set of "Max" series features, It really doesn't fall far short of the MaxPCB2/4... not like the MaxESP3 did.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:28 AM, Drew 🔭📷🚴‍♂️ wrote:
Seems as though this would help the pinmap.
A solution in search of a problem.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:28 AM, Drew 🔭📷🚴‍♂️ wrote:
How about moving the ST4 to the second ESP32? Seems as though this would help the pinmap.
No way would I do that.


Re: New controller design

Drew 🔭📷🚴‍♂️
 

How about moving the ST4 to the second ESP32? Seems as though this would help the pinmap.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:19 AM, Drew 🔭📷🚴‍♂️ wrote:
Would this design use two external antennas?
Yes, you many note however that the ESP32 module is positioned back away from the PCB edge so if NOT putting this in the intended aluminum case one could swap the ESP32 module for one with an antenna onboard.  I'll do the same for the other ESP32 module on the opposite side (MaxESP4I.)  I'll also remove the ground planes under those areas where an antenna might be present.


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:17 AM, Chad Gray wrote:
I have gotten the Ethernet W5500 to work with the ESP 8266.  Why keep using teensy?
It's well tested with Ethernet, the ESP8266 is not.
If going with the Ethernet option I'm thinking the user cares about performance...
Not having Teensy 4.0 support means high resolution A/B (CW/CCW, etc.) encoders are not an option, the ESP32 or ESP8266 are too slow.


Re: New controller design

Drew 🔭📷🚴‍♂️
 

On Tue, Nov 29, 2022 at 10:10 AM, Howard Dutton wrote:
it's so much cheaper than the EasyEDA alternative, not using that (DS3231MZ+)
I agree, this chip was also part of the SMT issue, making its use questionable at best.

Would this design use two external antennas?


Re: New controller design

Howard Dutton
 

On Tue, Nov 29, 2022 at 07:10 AM, Howard Dutton wrote:
I still leave the big eBay DS3231 module as it's so much cheaper than the EasyEDA alternative, not using that (DS3231MZ+) pays for the whole second ESP32 and CP2102 right there.
Well, not quite but it's close.  A single DS3231 ZS04 costs $2 including shipping.  The DS3231MZ+ costs $5.13 at Qty10 and they'll hit you for a little more as it's an extended component.  But say $3.13 more expensive.  The ESP32 costs $2.70 and the CP2102 is $1.78.


Re: New controller design

Chad Gray
 

I have gotten the Ethernet W5500 to work with the ESP 8266.  Why keep using teensy?

I know you ran into a stability problem and may have reverted some code.

Chad

On Tue, Nov 29, 2022 at 10:10 AM Howard Dutton <hjd1964@...> wrote:
I still leave the big eBay DS3231 module as it's so much cheaper than the EasyEDA alternative, not using that pays for the whole second ESP32 and CP2102 right there.


--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/


Re: New controller design

Howard Dutton
 
Edited

I still leave the big eBay DS3231 module as it's so much cheaper than the EasyEDA alternative, not using that (DS3231MZ+) pays for the whole second ESP32 and CP2102 right there.


Re: New controller design

Howard Dutton
 
Edited

On Tue, Nov 29, 2022 at 06:57 AM, Drew 🔭📷🚴‍♂️ wrote:
On Tue, Nov 29, 2022 at 09:16 AM, Howard Dutton wrote:
a second micro-usb for it so you can flash the SWS from the front panel
Wouldn't flash thru Serial_B be the way to go, like the ESP8266?
Requires sacrificing an ESP32 pin to do the RST and the whole process is difficult for users, so I'd rather throw a few $ at it and make those downsides go away.


Re: New controller design

Wieslaw Stawiski
 

On Sat, Nov 26, 2022 at 05:21 PM, Howard Dutton wrote:
Never built but since the new SHC controller with integrated ESP32 seems to work I also might replace my EM10 controller at some point...
A really nice one.   :-)
I am thinking of replacing original board of my iEXOS-100 mount.
But unfortunately, mine has sockets on the side...   :-(

W


Re: New controller design

Drew 🔭📷🚴‍♂️
 

On Tue, Nov 29, 2022 at 09:16 AM, Howard Dutton wrote:
a second micro-usb for it so you can flash the SWS from the front panel
Wouldn't flash thru Serial_B be the way to go, like the ESP8266?


Re: New controller design

Howard Dutton
 
Edited

Cost with all SMT is $11.7 each (+shipping) at Quantity 10... adding the second ESP32 and its associated second CP2102 will push the cost up to about $17 each I'd guess.