Date   

Re: FYSETC S6 Motor Lock up

George Cushing
 

I don't think there are many sources of inexpensive NEMA 17 step motors. The red, green, blue & black color scheme seems to be universal among them.

The motor manufacturers are fairly consistent There is an A coil and a B coil. The coils are polarized so one end is "+" and the other is "-." Thus you will see this symbol which gives you most of the information you need.
image.png
Add a little color and it tells you all you need to know.

image.png
The problem arises with the driver carrier manufacturers. They can't seem to decide on a standard coding or which way is up!

image.png

Regardless of the inscriptions the hookups are all the same except the ST820. Some use the letter for the coil designation others the numeral. 

Most of the time, one of these will work.
image.png



Re: android app menu button

drathomas
 

Dave, right, might be a software problem. I'll check if there's a chance to update the OS. Maybe that helps.


Re: Initial OnstepX download error

Robert Benward
 

Howard,
Disabling status worked.  I do not have jumpers on my board, MISO has dedicated pins, but I will go over the pinmap to see if here any conflicts.  If this helps, the same board has status and drives working on 4.24C.

Bob


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Howard Dutton
 
Edited

I examined it and It has significant drawbacks.

From what I recall the stepper drivers sockets have no mode switching at all not even SPI.

It uses 3x 74HC595 SSR's (to make 24 output pins from 3 MCU pins) which X does in theory support.  I think it would work and if you use TMC2209's and jumper lead the serial interfaces could be ok.

Seems like a lot of hassle though.


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

George Cushing
 

Take a look at the under $20 Makerbase MKS TinyBee: w/ESP32 MCU & Wifi WEB Control. Support for 5 external drivers. The layout looks less constrained.



GitHub page.


Re: Plug-in interface for External stepper Drivers

mario rocha
 

Maybe I should change the values of the resistors (12k,8.1k,3.3k,100k) to have a proper digital level.

Why does it use Schottky diodes, shouldn't they be zener diodes, to protect against voltage peak?




El lun, 20 jun 2022 a las 15:39, Robert Benward via groups.io (<rbenward=verizon.net@groups.io>) escribió:
Yup.  0.75 x Vdd=~2.4V


Re: Initial OnstepX download error

Howard Dutton
 

On Thu, Jun 23, 2022 at 11:40 AM, Robert Benward wrote:
Any clue you can give me on the drive comms faults?
I assume you have the jumper that enables MISO comms positioned properly and that nothing else is enabled that would try to use that same pin (AUX2 aka GPIO4.)

Otherwise you could really disable driver status and see if it works.

I made some changes recently so will test with 5160's tonight to see that its still working.


Re: Initial OnstepX download error

Robert Benward
 

Any clue you can give me on the drive comms faults?


Re: Initial OnstepX download error

Howard Dutton
 
Edited

On Thu, Jun 23, 2022 at 11:05 AM, Robert Benward wrote:
  • When I add a second MCP23017, does the addressing continue to GPIO (16...31)? How do I guarantee the correct order between the two devices?
You don't, one GPIO device is supported.

  • When there is a conflict in "#define" between the config.h and the pinmap file, which takes precedence?
Depends... but common settings are #ifndef bracketed so that Config.h takes precedence, for others it could go the other way


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

George Cushing
 

And then there's this FYSETC SD-WIFI with Card-Reader


Re: Initial OnstepX download error

Robert Benward
 

Hi Howard,
That was an improvement,  I now get no errors when upload/compiling. All my Aux highside/lowside drivers show up in the "aux" tab.   Making progress! 

But, I still have the axis1&2 communications error, as show in the previous post..  Drivers are not working.   I am using the QHV5160, but I don't believe there is any difference from the TMC5160 communications wise, I believe it's a VM voltage rating thing.  It works fine with the 4.24C SW load.  I am looking in the config file but I can't find anything that might be causing the failure.

Also, The hand controller pops up in the 10x mode, but that is probably my fault, I customized the guide "speeds" in the SHC SW.

A couple of questions:
  • When I add a second MCP23017, does the addressing continue to GPIO (16...31)? How do I guarantee the correct order between the two devices?
  • When there is a conflict in "#define" between the config.h and the pinmap file, which takes precedence?

Regards,
Bob


EQM35 Pro - replace gears with pulleys and belts #EQ5 #backlash #mount

stelaras1@...
 

Hello,

i have an eqm 35 pro and planning to replace the gears with pulleys and belts.
How can i choose the correct pulleys taking into account the existing ones? what do i have to check?
if there a guide or something to read please send the link :)

thanks


Re: android app menu button

Dave Schwartz
 

It's also possible that the Android screen class interface used to create the submenu icon/callback that is used currently in the app just isn't compatible with 4.4.4, which was released on Halloween over 8 years ago. These things happen.


Re: android app menu button

drathomas
 

Did you increase or decrease the resolution? I tried both size and resolution changes but so far I see no effect whatever I try.


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Howard Dutton
 

On Thu, Jun 23, 2022 at 03:31 AM, Howard Dutton wrote:
On Thu, Jun 23, 2022 at 03:26 AM, Michael Ring wrote:

Perhaps this adapter can free up the extra SDCard pins:

https://www.aliexpress.com/item/1005002624888242.html

I was wondering the same but thought "no way" and didn't look, amazing what is out there in the world!
That should give you access to 4 unused pins...

I guess the thing to do would be to use 2 of the four for SERIAL_B (SWS) then the other 2 for PEC and Limit (freeing up the TE and TB for thermistors) any objections to changing the pinmap to enable this?


Re: FYSETC S6 Motor Lock up

adraasch
 

Jak,

To determine which wires make up the two phases on a four wire stepper motor you could use an ohmmeter but lacking that, here is a foolproof method:

Unplug your stepper motor 

Rotate the motor by hand noting the amount of torque required.

Short the black and blue wires on the stepper using a paper clip, short wire, small length of solder, etc.  With the wires shorted, note the torque required to rotate the stepper.  If it is larger than that of the unshorted torque, then black and blue are a phase.  The red and green are another.  

If no change in torque is detected, then short the black to the green.  If the torque is higher than the unshorted torque then black and green are one phase, red and blue are the other.

And finally, when you actually get the motors spinning, you may notice the motors are rotating in the opposite direction you desire.

You can change this in the config, or in hardware.  Take the wires on ONE PHASE of the stepper and reverse the connections to the driver.  The stepper direction will now be the opposite of before.

If you have an ohmmeter, look for continuity between the black and blue, with the red and green disconnected.  If you have continuity then black and blue are one phase, red and green are the other.

If not, check for continuity between black and red with blue and green disconnected.  If you have continuity, then black and red make one phase, blue and green are another.

This technique works as a stepper motor acts as a generator when rotated.  If you short a phase, a high current will flow in that phase which will resist your attempts to rotate the motor.

Hope this is helpful.

Best regards,

Arlen

On Thu, Jun 23, 2022, 5:52 AM Howard Dutton <hjd1964@...> wrote:
Yes use the latest SWS, and making sure the serial ports you are using are enabled and baud rates selected properly on both sides.


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Howard Dutton
 

On Thu, Jun 23, 2022 at 03:26 AM, Michael Ring wrote:

How are the command channels enabled in STA mode with DHCP? Like this in config.h??:

#define SERIAL_IP_MODE    STATION
#define STA_SSID          "Home"
#define STA_PASSWORD      "TopSecret"
#define STA_DHCP_ENABLED  true

or is something missing?

I think that is correct.  The Config.defaults.h file has a section that shows all the options (the underlying WiFi code is identical between SWS, OCS, and OnStepX):


// ESP32 virtual serial IP command channels
#ifndef SERIAL_IP_MODE
#define SERIAL_IP_MODE                OFF                         // use ACCESS_POINT or STATION to enable the interface (ESP32 only)
#endif
#ifndef SERIAL_SERVER
#define SERIAL_SERVER                 BOTH                        // STANDARD (port 9999) or PERSISTENT (ports 9996 to 9998)
#endif

// translate Config.h IP settings into low level library settings
#if SERIAL_IP_MODE == ACCESS_POINT
#define OPERATIONAL_MODE WIFI
#define AP_ENABLED true
#endif
#if SERIAL_IP_MODE == STATION
#define OPERATIONAL_MODE WIFI
#define STA_ENABLED true
#endif
#if SERIAL_IP_MODE == BOTH
#define OPERATIONAL_MODE WIFI
#define AP_ENABLED true
#define STA_ENABLED true
#endif

#ifndef AP_SSID
#define AP_SSID                       "OnStepX"                   // Wifi Access Point SSID
#endif
#ifndef AP_PASSWORD
#define AP_PASSWORD                   "password"                  // Wifi Access Point password
#endif
#ifndef AP_CHANNEL
#define AP_CHANNEL                    7                           // Wifi Access Point channel
#endif
#ifndef AP_IP_ADDR
#define AP_IP_ADDR                    {192,168,0,1}               // Wifi Access Point IP Address
#endif
#ifndef AP_GW_ADDR
#define AP_GW_ADDR                    {192,168,0,1}               // Wifi Access Point GATEWAY Address
#endif
#ifndef AP_SN_MASK
#define AP_SN_MASK                    {255,255,255,0}             // Wifi Access Point SUBNET Mask
#endif

#ifndef STA_AP_FALLBACK
#define STA_AP_FALLBACK               true                        // activate SoftAP if station fails to connect
#endif
#ifndef STA_SSID
#define STA_SSID                      "Home"                      // Station SSID to connnect to
#endif
#ifndef STA_PASSWORD
#define STA_PASSWORD                  "password"                  // Wifi Station mode password
#endif
#ifndef STA_DHCP_ENABLED
#define STA_DHCP_ENABLED              false                       // true to use LAN DHCP addresses
#endif
#ifndef STA_IP_ADDR
#define STA_IP_ADDR                   {192,168,0,2}               // Wifi Station IP Address
#endif
#ifndef STA_GW_ADDR
#define STA_GW_ADDR                   {192,168,0,1}               // Wifi Station GATEWAY Address
#endif
#ifndef STA_SN_MASK
#define STA_SN_MASK                   {255,255,255,0}             // Wifi Station SUBNET Mask
#endif



Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Howard Dutton
 

On Thu, Jun 23, 2022 at 03:26 AM, Michael Ring wrote:

Perhaps this adapter can free up the extra SDCard pins:

https://www.aliexpress.com/item/1005002624888242.html

I was wondering the same but thought "no way" and didn't look, amazing what is out there in the world!


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Michael Ring
 

Perhaps this adapter can free up the extra SDCard pins:

https://www.aliexpress.com/item/1005002624888242.html

How are the command channels enabled in STA mode with DHCP? Like this in config.h??:

#define SERIAL_IP_MODE    STATION
#define STA_SSID          "Home"
#define STA_PASSWORD      "TopSecret"
#define STA_DHCP_ENABLED  true

or is something missing?

Thank you,

Michael


Am 23.06.22 um 11:38 schrieb Howard Dutton:

On Thu, Jun 23, 2022 at 01:11 AM, Michael Ring wrote:
However, you can connect a board flashed with SWS to the E4, haven't tried it as I do not need SWS.
The E4 unfortunately "wastes" already scarce ESP32 pins on the (unused) sdcard...

What it comes down to is there is only one serial port interface and normally it's used to provide the USB connection.  You can override that and add an SWS though.
What the E4 also doesn't have is an ST4 port.

What OnStepX has on the ESP32 that OnStep does not is WiFi IP command channels like an SWS provides; it does NOT have the WebSite, or support Encoders, Game Pad, etc. built in though.

Still those WiFi IP command channels can do a lot.  Android App, the Wireless SHC, ASCOM, INDI, etc.


Re: Initial OnstepX download error

Howard Dutton
 
Edited

Keep your configuration files (everything except OnStepX.ino from the OnStepX directory) but delete all other OnStepX files.

Download and unzip again (into an /OnStepX directory) and copy the configuration files back into the /OnStepX directory.

1061 - 1080 of 45742