×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Maximum focus Position

  • Posts: 24
  • Thank you received: 2

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
2 years 11 months ago #70336

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

  • Posts: 1309
  • Thank you received: 226

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.
2 years 11 months ago #70337

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

  • Posts: 24
  • Thank you received: 2

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
2 years 11 months ago #70338

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

  • Posts: 1309
  • Thank you received: 226

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
 
 
 
Last edit: 2 years 11 months ago by Andrew.
2 years 11 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.
2 years 11 months ago #70357

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

  • Posts: 1119
  • 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.
2 years 11 months ago #70362

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

  • Posts: 24
  • Thank you received: 2

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
2 years 11 months ago #70369

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

  • Posts: 1119
  • 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).
2 years 11 months ago #70370

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

  • Posts: 24
  • Thank you received: 2

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
2 years 11 months ago #70371

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

  • Posts: 1119
  • 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.

 


 
2 years 11 months ago #70372
Attachments:

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Maximum focus Position

In my earlier post, that I mostly retracted with a strike through, I did exactly that. Added a zero to make it 2,000,000 and compiled a version that should work on a raspberry pi 4, 32 bit system and attached it for him.
I'm not sure if it is compatible though, so he should backup the original driver first..
2 years 11 months ago #70373

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

  • Posts: 24
  • Thank you received: 2

Replied by Darren on topic Maximum focus Position

Hi, Thanks for the driver, I just tried it, but my OS is 64Bit Ubuntu, so it didn't work, what software do you use edit the driver files?

Thanks, Darren
2 years 11 months ago #70378

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

Time to create page: 0.342 seconds