×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Maximum focus Position

  • Posts: 21
  • Thank you received: 1
Is there a limit on the focuser max position ?
I can't set mine high enough?
My focus position is around the 1 million steps mark
I can't set my "desired focus position" above 200,000?
I can manually click the focuser  in / out buttons for above the 200,000,  but can't set a position manually or use autofocus
I've checked the config page for my sesto senso focuser and it has a max. position of 1270000 steps, so that's high enough.
Is there some settings or options page I've missed?

Thanks, Darren
1 year 5 months ago #69706

Please Log in or Create an account to join the conversation.

  • Posts: 1273
  • Thank you received: 221

Replied by Andrew on topic Maximum focus Position

The maximum absolute focus position is defined in the sesto senso driver as 200,000. If you require more steps, you can edit this value and compile a customized version for yourself.
159     FocusAbsPosN[0].max = 200000.;
github.com/indilib/indi/blob/master/driv...cuser/sestosenso.cpp

The reason you can use the buttons to go higher is because the Max focus position is 2,097,152.
163     FocusMaxPosN[0].value = 2097152;
 
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 1 year 5 months ago by Andrew.
1 year 5 months ago #69924

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 1

Replied by Darren on topic Maximum focus Position

Hi, Thanks for that info,
Seems a bit strange to have a focuser that can go to 2,097,152
but then only allow the Maximum absolute focus position to go to 200,000?

Thanks, i'll try and edit the file

Thanks, Darren
1 year 5 months ago #70336

Please Log in or Create an account to join the conversation.

  • Posts: 1273
  • Thank you received: 221

Replied by Andrew on topic Maximum focus Position

I'm no expert. It's just how I interpreted the code.
Now, it's not just a matter of editing the file. You will have to install the tools for compiling INDI drivers. Download the source code, make the edit, build the driver and have the compiled driver installed in the right place.
Hope it helps.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
1 year 5 months ago #70337

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 1

Replied by Darren on topic Maximum focus Position

Hi, yes all that is way beyond my computer skills 
I'll ask jasem if he can help?

thanks for the info, Darren
1 year 5 months ago #70338

Please Log in or Create an account to join the conversation.

  • Posts: 1273
  • Thank you received: 221

Replied by Andrew on topic Maximum focus Position

I don't know the details about your system. But I compiled a custom version of the SestoSenso drivers on a Raspberry Pi 4 (32bit). It might work for you if you have a similar system.
Copy them into /usr/bin/
To copy it you will have to use sudo cp command in the the terminal.
<strong>I HIGHLY recommend you make a backup copy of the original files first.</strong>


Hold up. I may have been quite mistaken about your situation.
Open the INDI driver. Under the Main Control tab there is a box for Max Position. My guess is it is set to 200,000 but can be increased.
d
 
 
 
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 1 year 5 months ago by Andrew.
1 year 5 months ago #70340
Attachments:

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Maximum focus Position

You can increase it directly in the INDI Control Panel, or calibrate again and it would be set automatically for you.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 5 months ago #70357

Please Log in or Create an account to join the conversation.

  • Posts: 1117
  • Thank you received: 182

Replied by Jose Corazon on topic Maximum focus Position

I had a similar problem with MyFocuserPro, which uses the MoonLite Indi Driver. Although the Control Panel allowed me to change the maximum position to 100,000, the actual focuser would not move past 10,000. I had to modify the actual Arduino code to change the maximal allowed value there. The change in the control panel was not translated into the Arduino code.

I don't know how the Sesto Senso focuser works, but it is possible that the maximal focus position is similarly set in its microcontroller. If the driver cannot modify that value, changing the value in the Control Panel may similarly have no effect in that case.
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
1 year 5 months ago #70362

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 1

Replied by Darren on topic Maximum focus Position

Hi, it can't be increased above 200,000 from the control panel.
I have the panel open now, 
you can't increase it and you can't set a focus position manually above 200,000
whoever wrote the sesto senso driver code, could they just not put another '0' on the max focus position
The sesto senso focuser goes to just over 2 million steps but the driver won't allow above 200,000 steps
the problem I have, is that I'm using a 10 to 1 focuser, so 10 times as many steps as normal.

even if I recalibrated my focuser from all the way in to all the way out, there close to 2million steps and I still won't be able to input a step above 200,000 because that's the maximum limit

I could fake the min/max position and just move my focuser in/out by a set amount, but on a RASA and a EdgeHD, but I have no idea how far in and out is? there are no markings or scales to work off
if I tell my focuser to go all the way in/out,  it takes about 10 or 20 minutes, so it's not an easy task,
I'd rather not damage my scope or focuser waiting for the motor to make a lovely grinding noise when it hits a hard stop.

The Kstars focus calibration routine is useless for my setup, it starts with 'find the middle position' yep good luck finding that on an SCT or RASA ;) 
are you supposed to watch the mirror move and hope you know where the middle is?

Here's Sesto Senso RASA/EdgeHD focuser calibration routine, 
1, Remove Sesto Senso
2, Hand wind it all the way in clockwise, 
3, re-fit Sesto Senso focuser,
4, hit calibrate as That's now Zero
1 year 5 months ago #70369

Please Log in or Create an account to join the conversation.

  • Posts: 1117
  • Thank you received: 182

Replied by Jose Corazon on topic Maximum focus Position

This seems to be set in the firmware of the focuser, just as in the MyFocuserPro code. Fortunately, that is open source, so I could edit it and reload it into the Arduino.

You may be able solve your problem by changing the procedure somewhat:

1, Remove Sesto Senso
2, Hand wind it all the way in clockwise,
3, hit calibrate as That's now Zero
4. Now set the focuser position to 100,000 (i.e. the middle between 0 and max travel)
5, re-fit Sesto Senso focuser ONTO TELESCOPE THAT ALREADY IS NEAR PERFECT FOCUS,

That should give you enough room (+/- 100,000 steps).
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
1 year 5 months ago #70370

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 1

Replied by Darren on topic Maximum focus Position

Yep, I have no idea where the middle is,
when using the focus routine it doesn't give you any numbers, so you have no idea how far its moved, 

I used to be able to set the focus position above 200,000
I've definately manually entered 1,000,000 on a earlier version of kstars

I've been using my scopes with Kstars for over a year without this focus limit problem
this is a new problem after the last Kstars Update
I suppose I could try and downgrade Kstars.
I'll google how to do it.

Thanks for the help everyone,
I'll update if I find a fix that works.

Anyone know how to edit/build/install INDI Drivers
1 year 5 months ago #70371

Please Log in or Create an account to join the conversation.

  • Posts: 1117
  • Thank you received: 182

Replied by Jose Corazon on topic Maximum focus Position


The way I read this, the problem lies in the Indi driver.  It seems to overwrite any input and sets the maximum position to 200,000.  
I think you could just add a 0 to that, so now the maximum position would be 2,000,000 and then recompile, as Andrew suggested.
Jasem, am I interpreting this code correctly?  I had to change the Arduino MoonLite code at the equivalent position to solve my problem with the max position.

 


 
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
1 year 5 months ago #70372
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.308 seconds