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

Local / Remote Unit "3.0" Functionality #14

Open
k3ng opened this issue May 5, 2015 · 1 comment
Open

Local / Remote Unit "3.0" Functionality #14

k3ng opened this issue May 5, 2015 · 1 comment

Comments

@k3ng
Copy link
Owner

k3ng commented May 5, 2015

Replace the current master/slave terminology with local and remote units. Implement all of the current master/slave commands as backslash commands and add new ones so that the remote unit can act autonomously. This would mean that the remote could do slow start, slow down, etc. and drive stepper motors as master to slave control of remote pins is not fast enough to do these functions.

Also, the remote should shutdown any rotation actions if it loses contact with the local unit for more than X seconds.

Proposed Local / Remote Commands:

\AZ - query AZ
\EL - query EL
\AS - AZ status
\ES - EL Status
\PG - Ping
\GA - go to AZ
\GE - go to EL
\RL - rotate left
\RR - rotate right
\RU - elevate up
\RD - elevate down
\SA - stop azimuth rotation
\SE - stop elevation rotation
\SS - stop all rotation

\DOxx - digital pin initialize as output; xx = pin # (01, 02, A0,etc.)
\DIxx - digital pin initialize as input; xx = pin #
\DPxx - digital pin initialize as input with pullup; xx = pin #
\DRxx - digital pin read; xx = pin #
\DLxx - digital pin write low; xx = pin #
\DHxx - digital pin write high; xx = pin #
\DTxxyyyy - digital pin tone output; xx = pin #, yyyy = frequency
\NTxx - no tone; xx = pin #
\ARxx - analog pin read; xx = pin #
\AWxxyyy - analog pin write; xx = pin #, yyy = value to write (0 - 255)
\SWxy - serial write byte; x = serial port # (0, 1, 2, 3), y = byte to write
\SDx - deactivate serial read event; x = port #
\SSxyyyyyy... - serial write sting; x = port #, yyyy = string of characters to send (variable length)
\SAx - activate serial read event; x = port #
\RB - reboot
\CL - read the clock

@SQ8CBU
Copy link

SQ8CBU commented Aug 1, 2021

Replace the current master/slave terminology with local and remote units. Implement all of the current master/slave commands as backslash commands and add new ones so that the remote unit can act autonomously. This would mean that the remote could do slow start, slow down, etc. and drive stepper motors as master to slave control of remote pins is not fast enough to do these functions.

Also, the remote should shutdown any rotation actions if it loses contact with the local unit for more than X seconds.

Proposed Local / Remote Commands:

\AZ - query AZ
\EL - query EL
\AS - AZ status
\ES - EL Status
\PG - Ping
\GA - go to AZ
\GE - go to EL
\RL - rotate left
\RR - rotate right
\RU - elevate up
\RD - elevate down
\SA - stop azimuth rotation
\SE - stop elevation rotation
\SS - stop all rotation

\DOxx - digital pin initialize as output; xx = pin # (01, 02, A0,etc.)
\DIxx - digital pin initialize as input; xx = pin #
\DPxx - digital pin initialize as input with pullup; xx = pin #
\DRxx - digital pin read; xx = pin #
\DLxx - digital pin write low; xx = pin #
\DHxx - digital pin write high; xx = pin #
\DTxxyyyy - digital pin tone output; xx = pin #, yyyy = frequency
\NTxx - no tone; xx = pin #
\ARxx - analog pin read; xx = pin #
\AWxxyyy - analog pin write; xx = pin #, yyy = value to write (0 - 255)
\SWxy - serial write byte; x = serial port # (0, 1, 2, 3), y = byte to write
\SDx - deactivate serial read event; x = port #
\SSxyyyyyy... - serial write sting; x = port #, yyyy = string of characters to send (variable length)
\SAx - activate serial read event; x = port #
\RB - reboot
\CL - read the clock

Hi Anthony.
I know that is very time-consuming, but is there a chance to fully implement the above assumptions?
I can see that your commad suggestions are able to solve my problems with starting Master-Slave configuration like in this message:
#88
and here:
https://groups.io/g/radioartisan/topic/83987123?p=,,,20,0,0,0::Created,,%23arduinorotatorcontroller,20,2,0,83987123,ct=1&ct=1

Thank you in advance for any help.
73 , Andrzej SQ8CBU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants