Jump to content

Stargazers Lounge Uses Cookies

Like most websites, SGL uses cookies in order to deliver a secure, personalised service, to provide social media functions and to analyse our traffic. Continued use of SGL indicates your acceptance of our cookie policy.

SteveBz

Python control of SynScan handset

Recommended Posts

Hi Guys,

I'm trying to automate my scope and I've upgraded from a Skywatcher Enhanced handset controlled by an Arduino to a goto Synscan controlled by a Raspberry Pi with Python. I have control of the handset now, but I'm having difficulty interpreting the manual. It says send the slew command (eg 'P' +chr(2)+chr(16)+chr(36)+chr(rate))or something like that. Rate is supposed to be 1-9 or zero for stop, but there are 10 rates with 0 =. 5x. How does that work? Does it mean 0.5x is not available? I'm a bit thrown.

Regards,

Steve.

 

Share this post


Link to post
Share on other sites
18 minutes ago, SteveBz said:

Hi Guys,

I'm trying to automate my scope and I've upgraded from a Skywatcher Enhanced handset controlled by an Arduino to a goto Synscan controlled by a Raspberry Pi with Python. I have control of the handset now, but I'm having difficulty interpreting the manual. It says send the slew command (eg 'P' +chr(2)+chr(16)+chr(36)+chr(rate))or something like that. Rate is supposed to be 1-9 or zero for stop, but there are 10 rates with 0 =. 5x. How does that work? Does it mean 0.5x is not available? I'm a bit thrown.

What do the rest of the slew command parameters do?  Tell it how much to move?  If so then presumably having 0 for "stop" is meaningless?  Or is it "slew until I tell you to stop"?

James

  • Like 1

Share this post


Link to post
Share on other sites
8 hours ago, Dr_Ju_ju said:

Why not lose the handset & drive the mount directly ?? 

Hi Dr Juju,

You said that before, and I'd love to. It just a long process. I think you saw my previous attempt, but it's on pause until I can get something working to look upwards. Then I'll have some spare time.

Regards,

Steve

 

Share this post


Link to post
Share on other sites
9 hours ago, JamesF said:

What do the rest of the slew command parameters do?  Tell it how much to move?  If so then presumably having 0 for "stop" is meaningless?  Or is it "slew until I tell you to stop"?

James

As I read it, it's slew until I tell you to stop. 

I've attached the full protocol, but as I understand it, the first three parameters are "fixed rate slew", "positive or negative" and "RA/DEC", not necessarily in that order.  Then you give it a rate.  Like this:

1794116135_Screenshotfrom2019-09-1920-27-42.png.02d710d43f6f74f27d4722f85720abda.png

The text says:

For fixed rates, simply use a value from 1-9 (or 0 to stop) to mimic the equivalent hand control rates.
Note: in most configurations, issuing the slew commands will override (or conflict with) the tracking mode of the
mount. Hence it is always best to disable tracking first using the Tracking Commands, issue the slew command,
and then re-enable tracking. The main exception to this is when tracking equatorially - the fixed rate slews at 1 or 2
will not override tracking. This can be useful to simulate auto-guiding.

But the rates are:

681815276_Screenshotfrom2019-09-1920-23-38.png.dc244c76b7762ca3f72c78fcfac2496d.png

So there seems to be a tension between the two definitions over what happens for zero.

I may just test it, but it's hard to measure rates like .5x and 1x, without a vernier calliper.

Regards

Steve

synscanserialcommunicationprotocol_version33.pdf

Share this post


Link to post
Share on other sites
9 hours ago, Dr_Ju_ju said:

Why not lose the handset & drive the mount directly ?? 

Have you done this? 

You've got quite a lot of Newtonians.  Is there much difference between them?  I have a 114 mm and 200 mm and the difference is so huge I only use the smaller one for outreach and testing.

Steve.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.