Date   

Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

Michael Ring
 

As far as I know SWS is not built into OnStepX, at least the reference page

https://onstep.groups.io/g/main/wiki/30066

does not mention anything....

However, you can connect a board flashed with SWS to the E4, haven't tried it as I do not need SWS.

There is also the possibility to connect to the E4 via Bluetooth, that's something I am going to try in the next days, together with configuring Dew Heaters and Autofocusser.

Michael

Am 23.06.22 um 06:54 schrieb ETXcetera:

Shoot I just bought 4x2130s for use in my other boards but really tempted to just get the E4 instead. Looks like a winner for sure. One thing I don’t understand is the wifi built into onstepx. So we do not upload a SWS? How is that accessed?


Re: FYSETC S6 Motor Lock up

ETXcetera
 

If you had success with your ESP8266 successfully on another instep build, I would first try to make sure you get the very latest version of SWS for the wifi to work with OnStepX. Otherwise I think the wifi module should be a Wemos D1 mini pro.


Re: HEQ-5 conversion with OnStepX, FYSETC E4 and Nina

ETXcetera
 

Shoot I just bought 4x2130s for use in my other boards but really tempted to just get the E4 instead. Looks like a winner for sure. One thing I don’t understand is the wifi built into onstepx. So we do not upload a SWS? How is that accessed?


Re: Initial OnstepX download error

Robert Benward
 

On Wed, Jun 22, 2022 at 07:25 PM, Howard Dutton wrote:
This makes me wonder if you have the latest OnStepX source code as that line doesn't match what I have.
// Firmware version ----------------------------------------------------------------------------------------------------------------
#define FirmwareName                "On-Step"
#define FirmwareVersionMajor        10
#define FirmwareVersionMinor        07     // minor version 00 to 99
#define FirmwareVersionPatch        "l"    // for example major.minor patch: 10.03c
#define FirmwareVersionConfig       5      // internal, for tracking configuration file changes


Bob


Re: Initial OnstepX download error

Robert Benward
 

Howard,
I am now using the MaxESP3  pinmap and added the two "#define" lines as instructed in your last post.  I now get the aux tab with the one output I specified so far.

#define FEATURE1_PURPOSE           SWITCH //    OFF, SWITCH, ANALOG_OUT, DEW_HEATER, INTERVALOMETER.                          Option
#define FEATURE1_NAME         "LOWSIDE 1" // "FE..", Name of feature being controlled.                                        Adjust
#define FEATURE1_TEMP                 OFF //    OFF, THERMISTOR or n. Where n is the ds18b20 s/n. For DEW_HEATER temperature. Adjust
#define FEATURE1_PIN           GPIO_PIN(4) //    OFF, AUX for auxiliary pin, n. Where n is the pin#.                           Adjust

I still get an error when I turn on the ST4 interface, so right now I don't have hand controller capability.  I get the error I identified in my previous post and below.  But now I also get this Axis1&2 Driver com failure indicated on the status page.  Both drivers worked with 4.24C.  Pin maps? SPI?


V:\OnStepX\src\telescope\mount\st4\St4.cpp: In member function 'void St4::poll()':
V:\OnStepX\src\telescope\mount\st4\St4.cpp:80:13: error: 'SerialST4' was not declared in this scope
             SerialST4.begin();
             ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:80:13: note: suggested alternative: 'Serial2'
             SerialST4.begin();
             ^~~~~~~~~
             Serial2
V:\OnStepX\src\telescope\mount\st4\St4.cpp:86:20: error: 'SerialST4' was not declared in this scope
           char c = SerialST4.poll();
                    ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:86:20: note: suggested alternative: 'Serial2'
           char c = SerialST4.poll();
                    ^~~~~~~~~
                    Serial2
V:\OnStepX\src\telescope\mount\st4\St4.cpp:102:11: error: 'SerialST4' was not declared in this scope
           SerialST4.end();
           ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:102:11: note: suggested alternative: 'Serial2'
           SerialST4.end();
           ^~~~~~~~~
           Serial2


Re: Initial OnstepX download error

Howard Dutton
 

On Wed, Jun 22, 2022 at 03:02 PM, Robert Benward wrote:
I have added a MCP23017 port expander.  In the pinmap, how do I tell SW that the port pin is on another device?  My home pins are on 7&8, but I don't see the directions/instructions to go to the port expander.
If you don't need to modify or customize a pinmap DON'T as going down that road leads to hassles for you later.

So, if you want to move the Axis1 and Axis2 home pins to the MCP23017 pins 0 and 1 use the standard MaxESP3 pinmap and add the following to Config.h I would place them near the similar named settings they are associated with:

#define AXIS1_SENSE_HOME_PIN GPIO_PIN(0)
#define AXIS2_SENSE_HOME_PIN GPIO_PIN(1)

And in Extended.config.h activate the MCP23017:

#define GPIO_DEVICE MCP23017


Re: Initial OnstepX download error

Howard Dutton
 

On Wed, Jun 22, 2022 at 03:02 PM, Robert Benward wrote:
V:\OnStepX\src\telescope\mount\st4\St4.cpp:80:13: error: 'SerialST4' was not declared in this scope
             SerialST4.begin();
This makes me wonder if you have the latest OnStepX source code as that line doesn't match what I have.


Re: ESP32 wiring diagram for Fysetc s6

Dave Schwartz
 

The pin assignments on the S6 for UART1 are printed on the bottom side. Pay no attention to the S/+/- markings to the left of UART1 on the top, those are for the other axis sensors to the right which most people won't use. That confused me at first.


Re: Initial OnstepX download error

Robert Benward
 

Howard,
Things have changed in OnStepX and that pinmap file isn't going to work.

I see only two changes from the MaxESP3 pinmap AUX3 and AUX4 are on different pins.

I guess you are looking to change the home sense pins for Axis1 and Axis2.

If so it's better to just use the MaxESP3 pinmap and add the following lines to Config.h:
#define AXIS1_SENSE_HOME_PIN 8
#define AXIS2_SENSE_HOME_PIN 7
Now I see part of my errors.  My pinmap was based on the 4.24C MaxESP3 pinmap.  The OnstepX pinmap is different.  They had the same file name, I assumed incorrectly they were the same.   It explains why when I enabled serial port B, I got this error:

In file included from V:\OnStepX\src\pinmaps\Models.h:83,
                 from V:\OnStepX\src\Common.h:14,
                 from V:\OnStepX\OnStepX.ino:50:
V:\OnStepX\src\pinmaps\Validate.h:12:4: error: #error "Configuration (Config.h): SERIAL_B isn't defined, SERIAL_B_BAUD_DEFAULT should be OFF."
   #error "Configuration (Config.h): SERIAL_B isn't defined, SERIAL_B_BAUD_DEFAULT should be OFF."
    ^~~~~
I have added a MCP23017 port expander.  In the pinmap, how do I tell SW that the port pin is on another device?  My home pins are on 7&8, but I don't see the directions/instructions to go to the port expander.

Also, when I enabled the ST4 port, I believe these should both be ON.  They are in 4.24C.  If I turn ST4_Interface on, I get the error below:

#define ST4_INTERFACE                 OFF //    OFF, ON enables interface. <= 1X guides unless hand control mode.             Option
                                          //         During goto btn press: aborts slew or continue meridian flip pause home
#define ST4_HAND_CONTROL               ON //     ON, ON for hand controller special features and SHC support.                 Option
                                          //         Hold [E]+[W] btns >2s: Guide rate   [E]-  [W]+  [N] trk on/off [S] sync
                                          //         Hold [N]+[S] btns >2s: Usr cat item [E]-  [W]+  [N] goto [S] snd on/off

V:\OnStepX\src\telescope\mount\st4\St4.cpp: In member function 'void St4::poll()':
V:\OnStepX\src\telescope\mount\st4\St4.cpp:80:13: error: 'SerialST4' was not declared in this scope
             SerialST4.begin();
             ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:80:13: note: suggested alternative: 'Serial2'
             SerialST4.begin();
             ^~~~~~~~~
             Serial2
V:\OnStepX\src\telescope\mount\st4\St4.cpp:86:20: error: 'SerialST4' was not declared in this scope
           char c = SerialST4.poll();
                    ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:86:20: note: suggested alternative: 'Serial2'
           char c = SerialST4.poll();
                    ^~~~~~~~~
                    Serial2
V:\OnStepX\src\telescope\mount\st4\St4.cpp:102:11: error: 'SerialST4' was not declared in this scope
           SerialST4.end();
           ^~~~~~~~~
V:\OnStepX\src\telescope\mount\st4\St4.cpp:102:11: note: suggested alternative: 'Serial2'
           SerialST4.end();
           ^~~~~~~~~
           Serial2

Bob


Re: ESP32 wiring diagram for Fysetc s6

Samuel.anderson123@...
 

Hi Dave,

Thanks for the quick response. I can see now that there is two rows of breakouts. I couldn't understand why there was a GND TXD and a 100 GND.

This is my fault for not building anything for so long.

thanks again.


Re: OnStep / ASCOM - Realtime Telescope Position - 3D Visualization Software (free)

Mike
 

Tx for that. I'll take a look. 


Re: android app menu button

drathomas
 

Chris,

thanks for the hint, but Android 4.4.4 appears to have no screen resolution option .   I am trying to change the cellphone resolution with ADB but that's quite another story.

 


Re: ESP32 wiring diagram for Fysetc s6

Dave Schwartz
 

Use the white-outlined pins and the UART1 port: 5V to VCC, GND to GND, Tx to RX, RX to TX.

On 2022-06-22 7:21 a.m., Samuel.anderson123@... wrote:

Hey Peeps,

Haven’t built a big electronics project for about a decade and my my how things have changed. Somethings are easier and somethings have become harder.

I’m currently stuck working out how to wire a ESP32 (MH-ET LIVE minikit v2.0) to the Fysetc s6 board. Can’t find a wiring diagram anywhere.

feel free to post a link if this information is already listed somewhere.



Re: Initial OnstepX download error

Howard Dutton
 

On Wed, Jun 22, 2022 at 06:05 AM, Drew 🔭📷🚴‍♂️ wrote:
Howard, that needs some elaboration. In Config.h we have the following parameters:

#define AXIS2_DRIVER_DECAY_GOTO OFF // OFF, Decay mode goto default override. TMC default is SPREADCYCLE. Infreq
#define AXIS2_DRIVER_DECAY OFF // OFF, Tracking decay mode default override. TMC default is STEALTHCHOP. Infreq


If I am not mistaken, these parameters replace the old "quiet" and vquiet". Could you elaborate on the use of these?

The following OnStepX Wiki page covers this (scroll down most of the way):

Axes, enables and configures the Mount, Rotator, and Focusers associated drives.


Re: Initial OnstepX download error

Drew 🔭📷🚴‍♂️
 

On Tue, Jun 21, 2022 at 04:19 PM, Howard Dutton wrote:
No, use "TMC5160".
Howard, that needs some elaboration. In Config.h we have the following parameters:

#define AXIS2_DRIVER_DECAY_GOTO OFF // OFF, Decay mode goto default override. TMC default is SPREADCYCLE. Infreq
#define AXIS2_DRIVER_DECAY OFF // OFF, Tracking decay mode default override. TMC default is STEALTHCHOP. Infreq


If I am not mistaken, these parameters replace the old "quiet" and vquiet". Could you elaborate on the use of these?


ESP32 wiring diagram for Fysetc s6

Samuel.anderson123@...
 
Edited

Hey Peeps,

Haven’t built a big electronics project for about a decade and my my how things have changed. Somethings are easier and somethings have become harder.

I’m currently stuck working out how to wire a ESP32 (MH-ET LIVE minikit v2.0) to the Fysetc s6 board. Can’t find a wiring diagram anywhere.

feel free to post a link if this information is already listed somewhere:





Re: Initial OnstepX download error

Howard Dutton
 

Things have changed in OnStepX and that pinmap file isn't going to work.

I see only two changes from the MaxESP3 pinmap AUX3 and AUX4 are on different pins.

I guess you are looking to change the home sense pins for Axis1 and Axis2.

If so it's better to just use the MaxESP3 pinmap and add the following lines to Config.h:
#define AXIS1_SENSE_HOME_PIN 8
#define AXIS2_SENSE_HOME_PIN 7


Second ASCOM Driver? #ascom

Ryanfavelle@...
 

Hello, would there be any documented way to get a second ascom driver for onstep, to run 2 mounts via USB connection on the same PC?


Re: OnStepX Rotator compile issue

Curly
 

Thanks v much makes sense now

On Tue, 21 Jun 2022 at 15:25, Howard Dutton <hjd1964@...> wrote:
There is also a section in the OnStepX Wiki page below dealing with Home switch setup:

Axes, enables and configures the Mount, Rotator, and Focusers associated drives.


Re: Teensy 4.1 and MaxPCB

milcha001@...
 

On Wed, Jun 15, 2022 at 03:34 AM, Howard Dutton wrote:
On Tue, Jun 14, 2022 at 11:57 PM, <milcha001@...> wrote:
but I have no idea how/where (RX1/TX1?) to connect HC05 bluetooth module
It's on the command channel associated with SERIAL_C so set a baud rate to activate: SERIAL_C_BAUD_DEFAULT.
Hello Howard,
I can't get the connection with OnStep App, however I set the appropriate bluetooth address in Connection menu.
I set the baudrate SERIAL_C on 9600, Rx to Tx1, Tx to Rx1, HC05 in slave mode, 9600baud, paired with the phone.
Do i have to set this option to SLAVE?
#define SERIAL_BT_MODE OFF // OFF, Use SLAVE to enable the interface (ESP32 only.)

Thanks

3141 - 3160 of 47799