Date   

Re: auto meridian flip

Howard Dutton
 

On Wed, Apr 7, 2021 at 02:20 PM, chris jones wrote:
Saves time trying to fix it, I will wait for Onstepx and see what happens.
The feature changed slightly in the master, perhaps it was broken?  I doubt it.  Irrelevant as the master is being dropped.
It has always worked in 3.16 and the beta AFAIK.

More likely you have settings such that the meridian limit is never reached to trigger the flip (ran into overhead limit first) or the destination coordinates are outside of limits (no meridian limit overlap region) so the flip is blocked.

Use Sky Planetarium if you'd like to see what the limits look like on a map.


Re: MKS Gen-L v2.1- setting microstep jumpers for LV8729

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 05:53 PM, W Maxwell wrote:
Which jumpers do I use to get 128 microsteps on a Mks genl v 2.1 (using LV 8729 drivers)?
Note that with the LV8729, you do not get MICROSTEPS_GOTO, which translates into possibly slow slewing speeds.
Only the TMC2130 and TMC5160 can do that on this board.

But if you don't want to use either, here is a video showing how to do it. It shows the extruder motor, but you do the same to RA and DEC.

https://www.youtube.com/watch?v=RhlTdTLfaQ0

Does it matter where I put the drivers on the MKS (I'm using two : Ra and Dec)?
Yes, it matters.

X must be RA
Y must be DEC

Also, probably a dumb question, but which of the 3 pins do the jumpers go on (assuming I'm understanding correctly that the pins are actually under where the drivers would be on the board)?
Watch the video. If it is still not clear, ask away ...


MKS Gen-L v2.1- setting microstep jumpers for LV8729

W Maxwell
 

Which jumpers do I use to get 128 microsteps on a Mks genl v 2.1 (using LV 8729 drivers)? Does it matter where I put the drivers on the MKS (I'm using two : Ra and Dec)?

Also, probably a dumb question, but which of the 3 pins do the jumpers go on (assuming I'm understanding correctly that the pins are actually under where the drivers would be on the board)?

(and no, I do not want to use TMC drivers...)


Re: auto meridian flip

 

Thanks Kalhid
Saves time trying to fix it, I will wait for Onstepx and see what happens.
Thanks chris

On Thu, 8 Apr 2021, 6:23 am Khalid Baheyeldin, <kbahey@...> wrote:
On Wed, Apr 7, 2021 at 01:01 AM, chris jones wrote:
I have downloaded 3.16 and it will not compile  for the f3 boards ,I seem to remember it saying to use the blackpill it had to be the latest or master version .
That is correct, the F303CC board has support in beta (4.x) and master only.

I don't use meridian flips, so someone else has to answer that part.


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 04:58 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
How do I know if the motors don't work well? 
Trial and error.
You start with 40% of the max current, then test, and see if slewing works well, or motors stall, ...etc.
If there is a problem, you increase to 50% and test again.
Usually 40% works fine, but you never know for sure without actually testing ...

A board wired for spi... I was planning to use the Wemos + cnc shield with the protection devices. Besides the resistor cut, do I need to do anything else? I believe that I've read that is enough to plug in the drivers and take out all the jumpers. Am I missing anything?
I don't use that board.
Someone who does should share their experience, specifically with SPI drivers.


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

GuitsBoy
 

I'm running some 65 oz in 2.0A 400 step motors (KL17H248-20-4A) in my heavy old LXD650 mount.  They seem to run just fine on LV2987s at .60 vref (1.2A).  They actually ran fine at 1.0A, but I upped the current because I run some heavy imaging rigs, and the drivers are still cool to the touch.  They didnt get warm until 1.3-1.4 amp, and then get smoking hot very quickly, so be careful.  The drivers may have reduced life running at 1.2A, but they're cheap, and I have extras on hand.  So far I have not had any problems pushing them hard, and the mount guides very well when conditions permit.

I also tried some S109s thinking they would handle the higher current better.  I found them to be jittery and noisy no matter where the vref was set.  I was not impressed at all, and very quickly returned to the LV8729s.

If you have the stuff ordered already, why not give it a try?  IMO the LV8729s are cheap enough not to worry about if you cant use 'em.



On 4/7/2021 4:40 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
On Wed, Apr 7, 2021 at 08:39 PM, Khalid Baheyeldin wrote:
You are much better using TMC5160, TMC2130 or LV8729 (depending on your motor current, and board you are using).
OK, Got it about the 8825.

Regarding motor current, is that an issue using 2.5A motors with the 2130? Or limiting the current on the driver is enough? 
I bought some 400 step motors just now realized that they are 2.4A


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Howard Dutton
 

On Wed, Apr 7, 2021 at 01:49 PM, Khalid Baheyeldin wrote:
Here it says it can do 1A with heat sinks only, and 1.5A (implies heat sinks not enough? I don't know).
https://onstep.groups.io/g/main/wiki/4464
To maintain 1.5A think giant heatsink (possibly above and below the chip) and fan.  A my Max designs with the entire (fairly large) aluminum case as a passive heat-sink is good for about 1.4A, and heat doesn't scale linearly so another 0.1A is a fair bit more heat to deal with.


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Wed, Apr 7, 2021 at 09:49 PM, Khalid Baheyeldin wrote:
If the motors don't work well at that current, and you need to increase it to 60% or more, the TMC2130 are not suitable.

The TMC5160 does not have heat dissipation issues, and can handle any current, but is more expensive.

Again, both the TMC5160 and TMC2130 need a board that is wired for SPI.
How do I know if the motors don't work well? 
A board wired for spi... I was planning to use the Wemos + cnc shield with the protection devices. Besides the resistor cut, do I need to do anything else? I believe that I've read that is enough to plug in the drivers and take out all the jumpers. Am I missing anything?


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 04:40 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
Regarding motor current, is that an issue using 2.5A motors with the 2130? Or limiting the current on the driver is enough? 
I bought some 400 step motors just now realized that they are 2.4A

The starting current value that you should use for the motors will be (40% of maximum):

2.4A x 1.41 x 0.4 = 1.35A

That should work with the TMC2130, since it can do 1.5A, but may need a fan.

Here it says it can do 1A with heat sinks only, and 1.5A (implies heat sinks not enough? I don't know).
https://onstep.groups.io/g/main/wiki/4464

If the motors don't work well at that current, and you need to increase it to 60% or more, the TMC2130 are not suitable.

The TMC5160 does not have heat dissipation issues, and can handle any current, but is more expensive.

Again, both the TMC5160 and TMC2130 need a board that is wired for SPI.

That is why the 0.9A or 1.7A motors are preferred.


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Howard Dutton
 

On Wed, Apr 7, 2021 at 01:40 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
OK, Got it about the 8825.
To see what a DRV8825 can look like relative to some of the older better drivers (which are all inferior to a TMC anything) look at this...

https://hackaday.com/2016/08/29/how-accurate-is-microstepping-really/


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Wed, Apr 7, 2021 at 08:39 PM, Khalid Baheyeldin wrote:
You are much better using TMC5160, TMC2130 or LV8729 (depending on your motor current, and board you are using).
OK, Got it about the 8825.

Regarding motor current, is that an issue using 2.5A motors with the 2130? Or limiting the current on the driver is enough? 
I bought some 400 step motors just now realized that they are 2.4A


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 03:34 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
Just thinking, with 1/32 microsteps a simple DRV8825 would suffice right?
Why use others then?
Because of all the supported drivers, it is the least accurate one, and even prone to vibration.
We don't recommend it at all.

You are much better using TMC5160, TMC2130 or LV8729 (depending on your motor current, and board you are using).

Usually the DRV8825 is not an issue for visual observing, but definitely makes a difference when imaging.


Re: Where to put the "resolution"? Pulleys, motors, drivers.. ?

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Thu, Apr 1, 2021 at 08:09 PM, Khalid Baheyeldin wrote:
400 Step motor
4:1 pulleys, if you can fit them, otherwise 3:1
1/32 microsteps
Just thinking, with 1/32 microsteps a simple DRV8825 would suffice right?
Why use others then?


Re: Meridian flip/NINA and Onstep STM32

helmutliebenau@...
 

Thanks for the explanation. Great support again!!!


Re: auto meridian flip

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 01:01 AM, chris jones wrote:
I have downloaded 3.16 and it will not compile  for the f3 boards ,I seem to remember it saying to use the blackpill it had to be the latest or master version .
That is correct, the F303CC board has support in beta (4.x) and master only.

I don't use meridian flips, so someone else has to answer that part.


Re: Meridian flip/NINA and Onstep STM32

Dave Schwartz
 
Edited

The "SerialGPS" and "SerialGPSBaud" definitions aren't present in the 4.x configuration file, commented out or not, so it must have been something you did to  get them there. No matter, now that it works since you have commented them out, its all good.

However it is good to know that having the GPS lines defined interferes with getting the time from the DS3231 even when the TIME_LOCATION_SOURCE is not GPS but is DS3231. Perhaps that's something Howard can look into because it does not seem like that would have been the intent.

The focuser initialization gets OnStep synchronized with the mechanical position of the focuser. As I said, the reset of the NV memory which would have happened automatically during the first-time startup of the upgraded software, would have set the current focuser position to zero and it then would not have allowed you to focus inward (into negative numbers) from there. Outward focusing should have worked.

Setting the physical position of the focuser to the halfway position AND using the 'set to half travel' function (an explicit menu entry in the SHC from the same 4.x repository or a long-press on the focuser number
selection buttons in the app) lets OnStep calculate, using LIMIT_MIN and LIMIT_MAX, the number of microns from fully 'in' to fully 'out'. It then sets the current position to the midpoint of that and then knows, using STEPS_PER_MICRON, how many steps it can make in the 'in' or 'out' direction so it never tries to drive your focuser beyond its physical limits.

On 2021-04-07 10:53 a.m., helmutliebenau@web.de wrote:
The GPS parameters I didn't set consciously. They was as default. After deactivate by "//",  DS3231 works.
//#define SerialGPS                         Serial3
//#define SerialGPSBaud                 9600
Maybe I delete this lines complete.

Regarding the focuser I do not unterstand complete. How a new initialization is doing? For testing I set AXIS4_SLEW_RATE_DESIRED at 500 and
AXIS4_LIMIT_MAX  at 200. Now the focuser moving.


Re: Meridian flip/NINA and Onstep STM32

Khalid Baheyeldin
 

On Wed, Apr 7, 2021 at 02:23 AM, <helmutliebenau@...> wrote:
I am trying to update to 4.x (beta). The STM32 board manager I changed.
Is this the right link for the software 4.x (beta)? https://github.com/hjd1964/OnStep/tree/beta
You can download it using this link to the .zip file.

What happens with the source code in v2.22 for the ESP8266 WiFi and Smart Hand Controller?
I also have to flash them again?
The addons directory in the .zip file has a WiFi directory and a smart controller one too.
Yes, it is best to flash them both, as certain things may have changed.


Re: Meridian flip/NINA and Onstep STM32

helmutliebenau@...
 

The GPS parameters I didn't set consciously. They was as default. After deactivate by "//",  DS3231 works.
//#define SerialGPS                         Serial3
//#define SerialGPSBaud                 9600
Maybe I delete this lines complete.

Regarding the focuser I do not unterstand complete. How a new initialization is doing? For testing I set AXIS4_SLEW_RATE_DESIRED at 500 and
AXIS4_LIMIT_MAX  at 200. Now the focuser moving.


Re: Meridian flip/NINA and Onstep STM32

Dave Schwartz
 

I'm curious why you have the GPS parameters set. I don't know for sure but its possible that having those set is overriding the time setting from the DS3231 and waiting for it from the GPS. The interface to the module with the DS3231 (the ZS-04 module) is working because without it OnStep would not be able to access the EEPROM device and OnStep would not start.

From your previous email, you may not have to update your SHC and WiFi software because there is fairly wide version compatibility between OnStep and these remote modules that communicate only over the stable LX200 protocol. However, with such a big version update, it won't hurt and, especially with the SHC, you will get new menu functions that allow you to access things like the spiral search and temperature-compensated focuser.

Your focuser issue could have to do with your AXIS4_SLEW_RATE_DESIRED being setting being quite low. The focuser maybe moving so slowly you just can't see it. I have mine set at 500.

Also, on the version upgrade the NV memory would have been reset and thus the focuser position set to zero. If you were trying to focus in, OnStep would have prevented that because it won't let you go below the minimum. You should do the initialization procedure again to set the focuser in the center of its range and also use the 'set half travel' function to let OnStep know that that is where it is now.

On 2021-04-07 9:09 a.m., helmutliebenau@web.de wrote:
So, the update was the solution for my meridian flip problem with NINA.
Now the process works fine in NINA (dry test at home).

But now the focuser and the DS3231 doesn't work anymore.

Focuser stepper has no reaction. The driver I use is DRV8825. The parameters which are set:
#define ST4_INTERFACE                                    ON_PULLUP //    OFF, ON, ON_PULLUP enables interface. <= 1X guides unless hand control mode.  Option
                               //         During goto btn press: aborts slew or continue meridian flip pause home
#define ST4_HAND_CONTROL                           ON //    OFF, ON for hand controller special features and SHC support.                 Option
                //         Hold [E]+[W] btns >2s: Guide rate [E]-  [W]+  [N] trk on/off [S] sync
               //         Hold [N]+[S] btns >2s: Usr cat item [E]-  [W]+  [N] goto [S] snd on/off
#define ST4_HAND_CONTROL_FOCUSER        ON //    OFF, ON alternate to above: Focuser move [E]f1 [W]f2 [N]-     [S]+            Option

#define FOCUSER1                                    ON //    OFF, ON to enable this focuser.                                               Option
#define AXIS4_STEPS_PER_MICRON        1.2 //    0.5, n. Steps per micrometer. Figure this out by testing or other means.      Adjust
#define AXIS4_SLEW_RATE_DESIRED       200 //    500, n, Where n=200..5000 (um/s.) Max microns/second. In DC mode, max pwr % Adjust

#define AXIS4_DRIVER_MODEL                 OFF //    OFF, TMC2130, TMC5160. Leave OFF for all drivers models except these. Option
#define AXIS4_DRIVER_MICROSTEPS       OFF //    OFF, n. Microstep mode when tracking.                   For TMC2130, TMC5160. Option
#define AXIS4_DRIVER_IHOLD                   OFF //    OFF, n, (mA.) Current standstill. OFF uses IRUN/2.0. "       Option
#define AXIS4_DRIVER_IRUN                      OFF //    OFF, n, (mA.) Current tracking, appropriate for stepper/driver/etc. "       Option
#define AXIS4_DRIVER_POWER_DOWN    ON //    OFF, ON Powers off the motor at stand-still.                                  Option
#define AXIS4_DRIVER_REVERSE              OFF //    OFF, ON Reverses movement direction, or reverse wiring instead to correct.    Option
#define AXIS4_DRIVER_DC_MODE             OFF //    OFF, DRV8825 for pwm dc motor control on stepper driver outputs. Option

#define AXIS4_LIMIT_MIN_RATE           50 //     50, n. Where n=1..1000 (um/s.) Minimum microns/second. In DC mode, min pwr. Adjust
#define AXIS4_LIMIT_MIN                      0 //      0, n. Where n=0..500 (millimeters.) Minimum allowed position. Adjust
#define AXIS4_LIMIT_MAX                    50 //     50, n. Where n=0..500 (millimeters.) Maximum allowed position. Adjust



DS3231 shows no data about altitude and latitude. This are the settings:

#define TIME_LOCATION_SOURCE          DS3231 //    OFF, DS3231 (I2c,) DS3234 (Spi,) TEENSY (T3.2 internal,) or GPS source. Option
            //         Provides Date/Time, and if available, PPS & Lat/Long also.
#define SerialGPS                                      Serial3
#define SerialGPSBaud                              9600

Any ideas?

1101 - 1120 of 33158