Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AstroEQ doesn't work with EQMOD 2.xx #24

Closed
petrilakm opened this issue Jun 23, 2018 · 7 comments
Closed

AstroEQ doesn't work with EQMOD 2.xx #24

petrilakm opened this issue Jun 23, 2018 · 7 comments
Assignees
Labels
bug implemented-fix Implemented fixes/changes

Comments

@petrilakm
Copy link

EQMOD send to device on initialisation commands ":O10" fillowed by ":O11". Because you use "O" as progmode select command, AstroEQ is switched to programmin mode and stop responding to normal commands. EQMOD then hangs-up.
Solution is to move "progmode" command to other letter as "O".

@TCWORLD
Copy link
Owner

TCWORLD commented Jun 23, 2018

Which version of EQMOD?

I've not ever seen EQMOD send the :O command, and have never had the problem you describe. Could you provide more details.

@petrilakm
Copy link
Author

petrilakm commented Jun 23, 2018

EQASCOM_V200k
Also there is listed "O" as standart Sky-watcher commad:
https://github.com/skywatcher-pacific/skywatcher_open/wiki/Skywatcher-Protocol

I haven't original synscan, so I know only information published on web.

I change in both, firmware and java software progmode command to ")" and now. Everything is working.

@TCWORLD
Copy link
Owner

TCWORLD commented Jun 23, 2018

Interesting.

Seems there have been some changes to EQMOD since AstroEQ was first developed, and new commands added by Skywatcher.

I'm looking in to the issue.

@TCWORLD TCWORLD added the bug label Jun 23, 2018
@TCWORLD TCWORLD self-assigned this Jun 23, 2018
@TCWORLD TCWORLD changed the title AstroQE don'd work with EQMOD AstroEQ doesn't work with EQMOD 2.xx Jun 23, 2018
TCWORLD added a commit that referenced this issue Jun 23, 2018
Since EQMOD V2.00, the :Oxx is issued as part of run time. This caused AstroEQ to spuriously enter programming mode causing connection issues.

To combat the problem, programming mode entry now requires 20 successive :O1x commands with no other commands in between.

It is highly unlikely EQMOD will ever issue this many :O1x commands without other commands interleaved. EQMOD always appears to send :O1x commands together with a companion :O2x command. This is enough to prevent entry as only an :O1x command is considered.
TCWORLD added a commit that referenced this issue Jun 23, 2018
The purpose of EQMOD using the :Oxx command has become clearer. This is used to control up to two GPIO pins, for example to trigger a camera shutter.

The :O1x command in AstroEQ is used to enter programming mode, so in order to tell EQMOD not to use the SNAP1 interface, AstroEQ now reports an error packet when :O1x is issued in run-mode. The configuration utility knows to expect this error packet. On the 20th time of writing :O1x, AstroEQ enters programming mode and sends a success packet.

This should provide a secure way of fixing issue #24.

AstroEQ V4.6 and newer, as well as Mega variants, have a spare GPIO pin not used for standalone mode. To still allow a feature rich experience in AstroEQ, the :O2x command is now used to control this GPIO pin.

By adding a simple transistor or optocoupler, the GPIO1 pin can now be used as SNAP2 in EQMOD.
TCWORLD added a commit that referenced this issue Jun 23, 2018
Compile Release Version of Firmware V8.12 and Configuration Utility V3.9.0.

This Fixes Issue #24.
@TCWORLD
Copy link
Owner

TCWORLD commented Jun 23, 2018

I've pushed a new version of the config utility and firmware.

I believe this should solve the issue - seems to on my end.

@TCWORLD TCWORLD added the implemented-fix Implemented fixes/changes label Jun 23, 2018
@jgwood
Copy link

jgwood commented Jun 26, 2018 via email

@TCWORLD TCWORLD closed this as completed Jun 30, 2018
@TCWORLD
Copy link
Owner

TCWORLD commented Jun 30, 2018

I believe this is now resolved. If it's not, feel free to reopen.

@jgwood
Copy link

jgwood commented Sep 17, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug implemented-fix Implemented fixes/changes
Projects
None yet
Development

No branches or pull requests

3 participants