Date   

Re: No Com port after flashing FYSETC S6 V2

Ken Hunter
 

I'd tru shutting down OnStep, remove the USB connector.Power cycle the PC and start over. I see this at times when I am flashing multiple ESP32's.
Typical WINDOZE behaviour.


Re: FYSETC S6 V2 compilation errors #S6

fred1984
 

I did the whole process:

"Also, on Windows, you need to use STM32CubeProgrammer in DFU mode, as described on this page. Important: On Windows, the STM32Duino package uses a script to call the STM32CubeProgrammer in command-line mode to perform the actual upload. This script contains an incorrect address for the code segment start address (its probably correct for some boards but not the FYSETC S6). Currently the only way to change this to the correct value is to edit the script according to these instructions: locate the file stm32CubeProg.bat. It should be at ~AppData\Local\Arduino15\Packages\STM32\Tools\STM32tools\1.4.0\tools\win\STM32CubeProg.bat but if the location changes in the future due to package updates you may need to search for it starting at ~\AppData\Local\Arduino15.

Open the file in your favorite editor Change the value on the 'SET ADDRESS' line from 0x8000000 to 0x8010000 Save and exit"


Re: FYSETC S6 V2 compilation errors #S6

fred1984
 


I can open STM32CUBE and connect with the board.


Re: FYSETC S6 V2 compilation errors #S6

fred1984
 

Yes. the jumper is set to DFU mode. the STM32CUBE and connect with the board


Re: FYSETC S6 V2 compilation errors #S6

fred1984
 

Yes. the jumper is set to DFU mode. I can't open the STM32CUBE and connect with the board.


Best available steppers, boards, controllers, etc?

Guy Brandenburg
 

We have a venerable but beefy and smooth university-grade German equatorial mount from the 1970s, whose “dumb” electro mechanical drive has clutches and variable-speed controls that have been an intermittent problem from Day 1. The RA drive is currently on my desk; the old clutch pads had come off. Adjusting the new pads and gears and solenoids is not trivial!

We are therefore looking seriously into converting to an OnStep drive. One major problem: the various boards, controllers, etc recommended on various parts of the OnStep wiki either seem to have compatibility issues or else are not in stock and/or not being produced.


we are neophytes at building anything this complex.

I have the RPM measurements for the various gears. For example, tracking speed on the worm gear that sticks out in that photo is 5 rpm with no load. The synchronous motor that drives all this is rated at 60 rpm with a torque of 1/900 HP. 

So does that mean that the worm gear would need a torque of 12 times 1/900 horsepower? And we could use a belt with two sheaves of equal size, and a geared stepper mostly running at 5 rpm, or a 1:2 pulley ratio with 10 rpm?

what are the current driver and controller and board recommendations for something like this?

thanks so much.

Guy Brandenburg
Hopewell Observatory


Re: Slew speed weirdness

Khalid Baheyeldin
 

Any easy way to generate a new Config.h, is using the OCG.
After you do this, change the IRUN and IGOTO per the formula on the stepper adjustment page that Howard linked to.
Then test and see how it goes.


Re: Slew speed weirdness

Martin Chapman
 

Thanks, Dave, yes, my bad, Typo on my end, they are indeed Bigtreetech TMC 5160s
Thanks for pointing that out.
KR.
Mart.


Re: Slew speed weirdness

Dave Schwartz
 

Those are 5160 drivers - I can see the discrete MOSFETs under the bottom end of the heatsink on the upper module. These modules come with that long heatsink that sticks onto the MOSFETs at either end because that is where the heat is produced, not in the 5160 chip itself. These modules have no Vref trimpot, as stated in the 'adjustment' link Howard provided, and must be done using the configuration settings (AXIS[1|2]_DRIVER_IRUN, AXIS[1|2]_DRIVER_IGOTO, AXIS[1|2]_DRIVER_IHOLD). Also use the correct AXIS[1|2]_DRIVER_MODEL.

On 2021-10-12 9:14 a.m., Martin Chapman wrote:
Thanks Howard, Vref is not adjustable on these drivers. Balance is okay, everything seems to move freely and I'm using 24V. I'm baffled by why I can only do the alignment at the slowest setting but after that can crank it right up with no problems?
Can I use the same config file for the latest version?
Thanks again.
Mart.
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Re: Slew speed weirdness

Martin Chapman
 

Thanks, Howard, I will look into this.
KR.
Mart.


Re: Slew speed weirdness

Howard Dutton
 

On Tue, Oct 12, 2021 at 06:42 AM, Martin Chapman wrote:
Er, okay, where would that be then, if it's not too much trouble to ask?
Stepper Driver Adjustment


Re: No Com port after flashing FYSETC S6 V2

Dave Schwartz
 

'Port' does not show up for the S6 when it is in DFU mode. It shows up as a Universal Serial Bus Device in the Device Manager and the STM32CubeProgrammer knows how to find it by name - there is no user selection required.

That still doesn't explain why the COM port does not show up when not in DFU mode. I still think its some local problem. As I said, I hadn't previously connected to this new laptop but when I did, Windows 10 PnP detected the new device and installed a proper driver for it from its own resources - nothing special with a third-party website was required.

On 2021-10-12 8:12 a.m., Gerry Byrne wrote:
I believe I had the correct flashing options. However the No Com Port problem appears to have been present even before I attempted flashing the board. The attached snapshot of my flashing parameters shows the Com port is greyed out even before I start. and I cannot get board information.
Gerry

On 12/10/2021 00:19, Khalid Baheyeldin wrote:
You don't know which version of the bootloader was on your board.
So assume that it needs 0x801000, flash that bootloader, then flash OnStep.

The other important point is that if you don't get the USB device, you most
likely did not use the right flashing options that ensure the software defined
USB port works as it should. Refer to the Wiki page, and make sure the options
are the right ones.

--
*Copernicus*
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Re: Slew speed weirdness

Martin Chapman
 

Er, okay, where would that be then, if it's not too much trouble to ask?
KR.
Mart.


Re: Slew speed weirdness

Howard Dutton
 

On Tue, Oct 12, 2021 at 06:14 AM, Martin Chapman wrote:
Thanks Howard, Vref is not adjustable on these drivers.
Either you're setting the current with Vref or in software.  If in software change it there.


Re: Slew speed weirdness

Howard Dutton
 

On Tue, Oct 12, 2021 at 06:14 AM, Martin Chapman wrote:
Can I use the same config file for the latest version?
Probably but not 100% sure, I just don't keep exact tabs on every minor change to development versions.

Best to make a new one.


Re: Slew speed weirdness

Martin Chapman
 

Thanks Howard, Vref is not adjustable on these drivers. Balance is okay, everything seems to move freely and I'm using 24V. I'm baffled by why I can only do the alignment at the slowest setting but after that can crank it right up with no problems?
Can I use the same config file for the latest version?
Thanks again.
Mart.


Re: Slew speed weirdness

Howard Dutton
 

1. You really should be using the latest release of OnStep: https://github.com/hjd1964/OnStep

2. Sounds like the motors are stalling (suddenly stop with vibration/whining noise,) and as expected slowing down helps. Be sure Vref is set at about 50% of the motors rating as a starting point and feel free to experiment with about +/- 25% from there to see if slews are faster.  Make sure the worms are not binding and axes of mount move freely.  Make sure your balance is decent.  Use 24V not 12V if possible.

3. There is really no difference between being aligned or not as far as moving the motors.  I expect it's just randomness being misinterpreted.


Re: No Com port after flashing FYSETC S6 V2

Gerry Byrne
 

I believe I had the correct flashing options. However the No Com Port problem appears to have been present even before I attempted flashing the board. The attached snapshot of my flashing parameters shows the Com port is greyed out even before I start. and I cannot get board information.
Gerry

On 12/10/2021 00:19, Khalid Baheyeldin wrote:
You don't know which version of the bootloader was on your board.
So assume that it needs 0x801000, flash that bootloader, then flash OnStep.

The other important point is that if you don't get the USB device, you most
likely did not use the right flashing options that ensure the software defined
USB port works as it should. Refer to the Wiki page, and make sure the options
are the right ones.


--
Copernicus


Slew speed weirdness

Martin Chapman
 
Edited

Morning all, I need the help of the team please.
I built a system using the MKS Gen 2 board TMC2160 drivers and 400 step motors, to convert my G11
Everything seemed to be going well but I have not had much chance to use it. When I put my bigger scope on, occasionally the motors would be noisy, after a while I figured it might be a power issue so I switched to 24V,(two old leisure batts.) This seemed to work okay but for other reasons I switched back to my WO Z71. Everything seemed okay until the first time I tried to use it at night. When I start to align, the DEC motor would make a horrible noise and stop moving, RA would be fine. Much checking of worm engagement etc. later I swopped the leads over and this time it was RA that played up. Okay I thought, maybe I have damaged the driver when I increased the load with my bigger scope. Not  having the funds to replace the driver just now, I spent some time yesterday fiddling around with it and discovered something odd. It will work okay, as long as select the lowest slew rate, (1 deg/sec), anything over that causes the fault, now, just from curiosity yesterday I discovered that I can do the star alignment, at the slowest slew rate, but, once the alignment is done, I can turn the slew rate back up, all the way to it's max, (4 deg/sec). no joy until alignment is complete, but works as it should once alignment is complete. i guess I have something wrong somewhere, but cannot imagine what it could be, especially as it all seemed to be fine when I first built it.
On Another matter, I have seen that spiral search is available, on version 4.7 onwards, I cannot find any links to anything later than V 4.3, any clues please.
Any help is much appreciated.








Re: RJ45 socket suitable for panel mount

Prasad
 

This lead is also great. I have not bought anything from Aliexpress though. 

-Prasad

On Tuesday, October 12, 2021, 03:27:57 AM EDT, Marco Lorenzi <lorenzi70@...> wrote:


On Mon, Oct 11, 2021 at 11:11 AM, Prasad wrote:

Is there a source that sells panel mount variety female RJ45 connectors?
Cheap solutions are available on aliexpress:
https://www.aliexpress.com/item/4000222076243.html
https://www.aliexpress.com/item/32814557079.html
I buy most of the stuff I need on this platform and found generally the quality to be quite good and cheaper than ebay.
Marco

Marco

8421 - 8440 of 45742