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
|
|
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
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:Makings of a software nightmare. |
|
Re: New controller design
Howard Dutton
On Tue, Nov 29, 2022 at 07:39 AM, Howard Dutton wrote:
MaxPCB2It's well ahead of the MaxPCB2 in features really. |
|
Re: New controller design
On Tue, Nov 29, 2022 at 07:30 AM, Howard Dutton wrote:
On Tue, Nov 29, 2022 at 07:28 AM, Drew ππ·π΄ββοΈ wrote: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
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
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
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
On Tue, Nov 29, 2022 at 06:57 AM, Drew ππ·π΄ββοΈ wrote:
On Tue, Nov 29, 2022 at 09:16 AM, Howard Dutton wrote: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
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 panelWouldn't flash thru Serial_B be the way to go, like the ESP8266? |
|
Re: New controller design
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.
|
|