Date   

Re: FYSETC E4

Michael Ring
 

My board came pre-configured with 24V on +fan. It is at least another good chance to accidentially burn a board.

I just realized that z-diag can be used as an universal pin, one side of the jumper seems to be directly connected to GPIO15 which can be I/O. so that one copuld be a nice one for software serial.


Michael


Am 18.05.22 um 23:07 schrieb Howard Dutton:

On Wed, May 18, 2022 at 02:05 PM, Howard Dutton wrote:
On Wed, May 18, 2022 at 01:45 PM, Michael Ring wrote:
fan-e0 is perhaps not an ideal choice as it is either 24V or 5V level, likely way to much for the TMC2209 serial input
You can jump Vcc in.
P15 pin2 to P16 pin 2.


Re: FYSETC E4

Howard Dutton
 
Edited

In operation the logic high will be pulled up via the 2.2k resistor and led though.  Hope pulls up fast enough else one would have to use a lower resistance, but that can be done too if needed.


Re: FYSETC E4

Howard Dutton
 

On Wed, May 18, 2022 at 02:05 PM, Howard Dutton wrote:
On Wed, May 18, 2022 at 01:45 PM, Michael Ring wrote:
fan-e0 is perhaps not an ideal choice as it is either 24V or 5V level, likely way to much for the TMC2209 serial input
You can jump Vcc in.
P15 pin2 to P16 pin 2.


Re: FYSETC E4

Howard Dutton
 

On Wed, May 18, 2022 at 01:45 PM, Michael Ring wrote:
fan-e0 is perhaps not an ideal choice as it is either 24V or 5V level, likely way to much for the TMC2209 serial input
You can jump Vcc in.


Re: FYSETC E4

Howard Dutton
 

On Wed, May 18, 2022 at 01:33 PM, Robert Benward wrote:
It is attractive, but a lot of SMT.  I've trashed an ESP32, and others have trashed stepper drivers.  Regulators are always on the sacrificial list.  There is something to be said for plug in modules and thruhole. 
I see this as a replacement for the ESP32/CNC3 (mostly) and often the S6.

A lot of the pain is associated with plugging in stepper drivers (and other components) incorrectly, soldering mistakes, and quality problems.

I just feel the complexity here is much less than with something like an S6 or even the D1R32/CNC3, there is just not as much to go wrong.  Really with luck one wire needs to be run from that FAN pin the M-TX pin and that's it.  Hopefully the quality will be better than a D1R32/CNC3, that doesn't seem too difficult to do.

With that said, it is smaller @90x67mm vs 120x95mm for the MaxESP.  Can you run the program from the SD card?  Does the SD card solve the star map memory space problems?
I wouldn't use the SD Card.  I've thought about it and putting the catalogs in OnStep has a certain appeal, but at the end of the day I'm opposed to it.


Re: FYSETC E4

Michael Ring
 

Think I found my Error, the SDA/SCL Pins must be set to OFF

// SDA/SCL pins. 21/22 are the default values
#define SDA_PIN                 OFF
#define SCL_PIN                 OFF

Am 18.05.22 um 22:45 schrieb Michael Ring:

Seems you were reading my mind, I am have just today tried to make OnStepX work on the E4.

As I am fairly new to OnStepX I have not yet found the need for all the interfaces so what I did was this:

Keep SDA/SCL Pins jumpered to be tx/rx for the tmc2209

configure x-min and y-min so that they can be used with real limit switches or can be connected to the DIAG outputs of the tmc2209 for sensorless homing.

unfortunately z-min cannot be used as an output but if x-min or y-min are not used for endstops they could perhaps be used as tx pin for the tmc2209, then a simple jumper wire could be used to make the connection, no soldering required.

fan-e0 is perhaps not an ideal choice as it is either 24V or 5V level, likely way to much for the TMC2209 serial input

I have attached a new pinmaps file for the E4 but something is not correct, my steppers do not yet move when I connect everything to Nina.

I have set this in extended config:

#define DRIVER_UART_HARDWARE_SERIAL   ON //    OFF, Uses SoftwareSerial (transmit only) or ON for hardware serial.           Option

and have set driver model in config.h:

#define AXIS1_DRIVER_MODEL            TMC2209U //    OFF, Enter motor driver model (above) in both axes to activate the mount.    <-Often

Michael

Am 18.05.22 um 22:19 schrieb Howard Dutton:
A while back Chris Whitener and Serge CLAUS pointed out this board: https://wiki.fysetc.com/E4/

Now that OnStepX can control TMC2209 UART drivers and do basic WiFi internally I've been thinking about it more deeply...

It's fairly cheap, comes with some nice stepper drivers, and looking over the schematic it should generally work with OnStepX:

The good:
  • Inexpensive considering what you get.
  • It seems to have the usual setup for flashing across USB/Serial.
  • You'd have control of 2 or 3 dew heaters.
  • The 4 TMC2209 stepper drivers are ready to go and configured to use one ESP32 UART.
  • It has protected/conditioned inputs for home sense (X_MIN, Y_MIN) and Limit Sense (Z_MIN) and PEC (TE), plus a spare (TB.)

The bad:
  1. There is no way to effectively have an ST4 port (not enough pins.)
    • Probably most can live with this limitation, especially with the wireless SHC option we have now.
  2. There are several "wasted" pins devoted to the SD card that we don't use, shame, no easy way to access those that I see.
  3. Only (reasonably easy) way to attach an SWS would be to use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
    • Easier to take since OnStepX can at least provide the WiFi command channels without doing that.
  4. The TMC2209 needs a hardware serial port.
    • The primary option is to use the I2C pins (as a serial port.)
    • The secondary option is to use the use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
  5. No free pin for 1-Wire DS18B20 point temperature sensing (for dew heaters.)

...nothing is a show stopper there, but not ideal.

Ideas:
  • I wonder if the FAN-E0 output could serve as the Serial TX (perhaps TX only and no RX) going to the TMC2209 drivers.  You can setup an ESP32 Serial interface to invert the output (would be needed since the MOSFET inverts) but would it be fast enough for say >= 115200 baud?
    • That would free both the I2C and the Serial USB interfaces at the same time and still leave two dew heaters.
    • If one really wanted the SWS they could make one tradeoff (giving up Serial USB) instead of being backed into a corner.
    • There are other ways but they involve modifying the board and fine soldering... a poor option for most users looking at this.
  • I don't see any way to use 1-Wire that doesn't involve some tradeoffs but probably thermistors could be made to work for point temperature measurement (dew heaters) instead.
    • The spare TB pin should be good for that.
    • In exchange for the PEC pin you could have another if really needed.
    • This isn't always required anyway.


Re: FYSETC E4

Michael Ring
 

Seems you were reading my mind, I am have just today tried to make OnStepX work on the E4.

As I am fairly new to OnStepX I have not yet found the need for all the interfaces so what I did was this:

Keep SDA/SCL Pins jumpered to be tx/rx for the tmc2209

configure x-min and y-min so that they can be used with real limit switches or can be connected to the DIAG outputs of the tmc2209 for sensorless homing.

unfortunately z-min cannot be used as an output but if x-min or y-min are not used for endstops they could perhaps be used as tx pin for the tmc2209, then a simple jumper wire could be used to make the connection, no soldering required.

fan-e0 is perhaps not an ideal choice as it is either 24V or 5V level, likely way to much for the TMC2209 serial input

I have attached a new pinmaps file for the E4 but something is not correct, my steppers do not yet move when I connect everything to Nina.

I have set this in extended config:

#define DRIVER_UART_HARDWARE_SERIAL   ON //    OFF, Uses SoftwareSerial (transmit only) or ON for hardware serial.           Option

and have set driver model in config.h:

#define AXIS1_DRIVER_MODEL            TMC2209U //    OFF, Enter motor driver model (above) in both axes to activate the mount.    <-Often

Michael

Am 18.05.22 um 22:19 schrieb Howard Dutton:

A while back Chris Whitener and Serge CLAUS pointed out this board: https://wiki.fysetc.com/E4/

Now that OnStepX can control TMC2209 UART drivers and do basic WiFi internally I've been thinking about it more deeply...

It's fairly cheap, comes with some nice stepper drivers, and looking over the schematic it should generally work with OnStepX:

The good:
  • Inexpensive considering what you get.
  • It seems to have the usual setup for flashing across USB/Serial.
  • You'd have control of 2 or 3 dew heaters.
  • The 4 TMC2209 stepper drivers are ready to go and configured to use one ESP32 UART.
  • It has protected/conditioned inputs for home sense (X_MIN, Y_MIN) and Limit Sense (Z_MIN) and PEC (TE), plus a spare (TB.)

The bad:
  1. There is no way to effectively have an ST4 port (not enough pins.)
    • Probably most can live with this limitation, especially with the wireless SHC option we have now.
  2. There are several "wasted" pins devoted to the SD card that we don't use, shame, no easy way to access those that I see.
  3. Only (reasonably easy) way to attach an SWS would be to use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
    • Easier to take since OnStepX can at least provide the WiFi command channels without doing that.
  4. The TMC2209 needs a hardware serial port.
    • The primary option is to use the I2C pins (as a serial port.)
    • The secondary option is to use the use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
  5. No free pin for 1-Wire DS18B20 point temperature sensing (for dew heaters.)

...nothing is a show stopper there, but not ideal.

Ideas:
  • I wonder if the FAN-E0 output could serve as the Serial TX (perhaps TX only and no RX) going to the TMC2209 drivers.  You can setup an ESP32 Serial interface to invert the output (would be needed since the MOSFET inverts) but would it be fast enough for say >= 115200 baud?
    • That would free both the I2C and the Serial USB interfaces at the same time and still leave two dew heaters.
    • If one really wanted the SWS they could make one tradeoff (giving up Serial USB) instead of being backed into a corner.
    • There are other ways but they involve modifying the board and fine soldering... a poor option for most users looking at this.
  • I don't see any way to use 1-Wire that doesn't involve some tradeoffs but probably thermistors could be made to work for point temperature measurement (dew heaters) instead.
    • The spare TB pin should be good for that.
    • In exchange for the PEC pin you could have another if really needed.
    • This isn't always required anyway.


Re: FYSETC E4

Robert Benward
 

It is attractive, but a lot of SMT.  I've trashed an ESP32, and others have trashed stepper drivers.  Regulators are always on the sacrificial list.  There is something to be said for plug in modules and thruhole. 

With that said, it is smaller @90x67mm vs 120x95mm for the MaxESP.  Can you run the program from the SD card?  Does the SD card solve the star map memory space problems?

Bob


FYSETC E4

Howard Dutton
 
Edited

A while back Chris Whitener and Serge CLAUS pointed out this board: https://wiki.fysetc.com/E4/

Now that OnStepX can control TMC2209 UART drivers and do basic WiFi internally I've been thinking about it more deeply...

It's fairly cheap, comes with some nice stepper drivers, and looking over the schematic it should generally work with OnStepX:

The good:
  • Inexpensive considering what you get.
  • It seems to have the usual setup for flashing across USB/Serial.
  • You'd have control of 2 or 3 dew heaters.
  • The 4 TMC2209 stepper drivers are ready to go and configured to use one ESP32 UART.
  • It has protected/conditioned inputs for home sense (X_MIN, Y_MIN) and Limit Sense (Z_MIN) and PEC (TE), plus a spare (TB.)

The bad:
  1. There is no way to effectively have an ST4 port (not enough pins.)
    • Probably most can live with this limitation, especially with the wireless SHC option we have now.
  2. There are several "wasted" pins devoted to the SD card that we don't use, shame, no easy way to access those that I see.
  3. Only (reasonably easy) way to attach an SWS would be to use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
    • Easier to take since OnStepX can at least provide the WiFi command channels without doing that.
  4. The TMC2209 needs a hardware serial port.
    • The primary option is to use the I2C pins (as a serial port.)
    • The secondary option is to use the use the RX/TX pins going to the USB serial bridge chip (would need to be disconnected to flash OnStepX.)
  5. No free pin for 1-Wire DS18B20 point temperature sensing (for dew heaters.)
  6. No pin for a buzzer.
    • Could be added on a GPIO or in exchange for a dew-heater.
  7. No pin for the status LED.
    • Could be added on a GPIO or in exchange for a dew-heater.

...nothing is a show stopper there, but not ideal.

Ideas:
  • I wonder if the FAN-E0 output could serve as the Serial TX (perhaps TX only and no RX) going to the TMC2209 drivers.  You can setup an ESP32 Serial interface to invert the output (would be needed since the MOSFET inverts) but would it be fast enough for say >= 115200 baud?
    • That would free both the I2C and the Serial USB interfaces at the same time and still leave two dew heaters.
    • If one really wanted the SWS they could make one tradeoff (giving up Serial USB) instead of being backed into a corner.
    • There are other ways but they involve modifying the board and fine soldering... a poor option for most users looking at this.
  • I don't see any way to use 1-Wire that doesn't involve some tradeoffs but probably thermistors could be made to work for point temperature measurement (dew heaters) instead.
    • The spare TB pin should be good for that.
    • In exchange for the PEC pin you could have another if really needed.
    • This isn't always required anyway.


Re: DEC home switch

Chad Gray
 

:)  What if a black hole gets near the light in the Fiber?


On Wed, May 18, 2022 at 2:54 PM Howard Dutton <hjd1964@...> wrote:
On Wed, May 18, 2022 at 07:32 AM, Chad Gray wrote:
There has to be some shielding/faraday cage like material I can add to my DEC Home Switch wires.
Fiber optic all the way to the controller.


Re: RA axis move too little when aligning to 1 star

Nino Garcia
 

Many thanks Howard, 

I am a beginner and was not correctly understanding the graduated RA circles on my mount.

From the starting position (the graduated RA circles point to 0h) and I was expecting the circles to point to the RA of the target star when aligning and this was never going to happen, the RA circle was pointing to 1h hence my confusion i think
 
I think it is a problem of my initial configuration (home position) of my scope, I am performing more tests.


SWS Flashing to a New WeMos D1 mini

Ed Eastburn
 

From reading the Wiki on SWS and Onstep it appears that one just needs to flash SWS to the WeMos D1 mini (brand new right out of the package), and not both the WeMos firmware and the SWS firmware.  Is that correct? 
My Onstep system is controlled by the Blue Bill STM32 unit. Using Onstep 4.24.


Re: Help for wiring up CNCv3 - DRV8825 -R32 - D1 #esp32 #wemos #250p #arduino #d1

Fernando Nino Sr
 

Stefan, On the Wemos/CNC wiki page, way down the bottom, have to add the extra pins on the Wemos D1 to use Ic2 devices. So you would need the four pins, SCL, SDA, GRD and V5 or V3 depends on the module power requirement.

https://onstep.groups.io/g/main/wiki/19670


Re: DEC home switch

Howard Dutton
 

On Wed, May 18, 2022 at 07:32 AM, Chad Gray wrote:
There has to be some shielding/faraday cage like material I can add to my DEC Home Switch wires.
Fiber optic all the way to the controller.


Re: Sudden dead stop while slewing

Robert Benward
 

Peter,
Is your SPI driver status enabled?  If it is, check the webserver for status info.  It might give you a clue as to what is happening.  7deg/sec is pretty fast, maybe you are getting a fault?  Are the motors whining or are they quite after they stop?  I would also go to 24V, if they are stalling or not meeting your current target, it might help.

Bob


Re: Sudden dead stop while slewing

George Cushing
 

Regulator thermal protection?


Re: Mks gen l v20

George Cushing
 

Yes, it says, 
  • Allows driver setup (microstep mode, current, etc.) at runtime for all axes.
I assume this implies setting by the Android app or SHC.

Current is not optional. If not limited by this setting you will be using the driver's max current (3A) which will make short work of your motor's coils unless they are close to 3A max or 1.2A RMS. 


Re: DEC home switch

Chad Gray
 

Thanks Chris.  Maybe I should develop dedicated pathways in my boxes to keep everything the same and consistent.  I am using the same wires and gauges each time.

There has to be some shielding/faraday cage like material I can add to my DEC Home Switch wires.

Chad

On Wed, May 18, 2022 at 9:42 AM Chris Whitener <chris.whitener@...> wrote:
Mine works fine.  
Also look how you dress the leads inside each box.  Try not to run the sense wires across the wemos for example.


Re: DEC home switch

Chris Whitener
 

Mine works fine.  
Also look how you dress the leads inside each box.  Try not to run the sense wires across the wemos for example.


Re: MaxSTM(SMT) Overheating | Roman Hujer, Не могли бы вы помочь? Или поделиться своей электронной почтой?

George Cushing
 

Sounds like a short. The regulator's short/thermal protection is kicking in soon after power up. Even the cheap high frequency DC-DC buck converters seem to have there safeguards.

Start with all the modules pulled and just the regulator and the power LED connected. If the reg. doesn't shut down, start adding modules until you find the fault. It may be in the module or in its header. I've found that excess solder can short adjacent female header pins under the plastic covers.

2741 - 2760 of 46388