k3ng_rotator_controller icon indicating copy to clipboard operation
k3ng_rotator_controller copied to clipboard

Yaesu GS232 Commands when using Remote and Slave

Open VK5LO opened this issue 5 years ago • 9 comments

Hi I have been trying to workout how the calibration for AZ and Elevation is done on a remote slave unit when sending commands though a master. When talking to the serial port on the master, I can send all commands, B, C, C2, S, A, E, L, R, D, U, and these all work on the slave, but calibration commands O, F, O2, F2 do not work, and there is no data sent back other than a ?> I have gone through the code many times and cannot see why these calibration functions won't work. Could this be a bug in the software that has not come up before?

VK5LO avatar Apr 26 '20 07:04 VK5LO

What kind of sensors are you using?

On Sun, Apr 26, 2020 at 3:31 AM VK5LO [email protected] wrote:

Hi I have been trying to workout how the calibration for AZ and Elevation is done on a remote slave unit when sending commands though a master. When talking to the serial port on the master, I can send all commands, B, C, C2, S, A, E, L, R, D, U, and these all work on the slave, but calibration commands O, F, O2, F2 do not work, and there is no data sent back other than a ?> I have gone through the code many times and cannot see why these calibration functions won't work. Could this be a bug in the software that has not come up before?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/k3ng/k3ng_rotator_controller/issues/68, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNU4FTON3C2OLTALOECFDROPPN7ANCNFSM4MRDK6RA .

k3ng avatar Apr 26 '20 19:04 k3ng

Sorry I forgot to mention they are pots connected to the slave unit. They are being read OK and showing up on the display on the master. Maybe its something to do with where the calibration settings are stored and if using sensors on the slave unit cannot be stored?

VK5LO avatar Apr 26 '20 20:04 VK5LO

The calibration is stored on a slave unit.

Are you sending the commands from the master using the \S command, or connecting your computer to the remote unit control port?

On Sun, Apr 26, 2020 at 4:24 PM VK5LO [email protected] wrote:

Sorry I forgot to mention they are pots connected to the slave unit. They are being read OK and showing up on the display on the master. Maybe its something to do with where the calibration settings are stored and if using sensors on the slave unit cannot be stored?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/k3ng/k3ng_rotator_controller/issues/68#issuecomment-619619693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNU4FY5RE5NMGFF324EMLROSJ7LANCNFSM4MRDK6RA .

k3ng avatar Apr 26 '20 20:04 k3ng

I am using the computer with arduino ide serial monitor on the master sending the yaesu serial commands to control it. All work except the calibration commands. I though that maybe I could do it on the remote slave but it just gives back I think it says ERR2

VK5LO avatar Apr 26 '20 20:04 VK5LO

OK, let me look at the code a bit. Maybe I can rig this up on the bench and test.

In the meantime, can you connect the remote unit directly to your computer and see if the O and F commands work?

On Sun, Apr 26, 2020 at 4:39 PM VK5LO [email protected] wrote:

I am using the computer with arduino ide serial monitor on the master sending the yaesu serial commands to control it. All work except the calibration commands. I though that maybe I could do it on the remote slave but it just gives back I think it says ERR2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/k3ng/k3ng_rotator_controller/issues/68#issuecomment-619621610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNU4A5WABPEPHSS53DAODROSLZTANCNFSM4MRDK6RA .

k3ng avatar Apr 26 '20 21:04 k3ng

The master on its own when not defined, ( uncommented ) as a FEATURE_MASTER_WITH_SERIAL_SLAVE works fine its only when this option is selected and I can send it O and F commands it works fine.

VK5LO avatar Apr 26 '20 21:04 VK5LO

On the master (with FEATURE_MASTER_WITH_SERIAL_SLAVE enabled) and with the slave connected, could you execute on the master:

\Z \R \SO

Does this show you the "rotate fully CCW" message?

On Sun, Apr 26, 2020 at 5:26 PM VK5LO [email protected] wrote:

The master on its own when not defined, ( uncommented ) as a FEATURE_MASTER_WITH_SERIAL_SLAVE works fine its only when this option is selected and I can send it O and F commands it works fine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/k3ng/k3ng_rotator_controller/issues/68#issuecomment-619627454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNU4D3DLU5UNQ3NGHIWCTROSRHVANCNFSM4MRDK6RA .

k3ng avatar Apr 28 '20 01:04 k3ng

OK here are the message replies Anthony \Z Suspend auto remote commands on \R Remote port rx sniff on \SO ER02

VK5LO avatar Apr 28 '20 02:04 VK5LO

I think that the issue is to do with #ifdef FEATURE_AZ_POSITION_POTENTIOMETER somewhere in the code around line 14192 latest version. In the master of course its set to #define FEATURE_AZ_POSITION_GET_FROM_REMOTE_UNIT and in the remote unit set to #define FEATURE_AZ_POSITION_POTENTIOMETER

VK5LO avatar Apr 29 '20 20:04 VK5LO