ICEINSPACE
Moon Phase
CURRENT MOON
Waning Crescent 3.3%
|
|
![Old](/vbiis/images/statusicon/post_old.gif)
25-08-2023, 04:43 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
OnStepX.. problem with ESP32+CNC3
Anyone tried this combination with success?
I have connection to ASCOM driver problem...
|
![Old](/vbiis/images/statusicon/post_old.gif)
31-08-2023, 05:45 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Because there is some possible issues with ESP32 controller (documented here, I tried STM32.. Same result.
Anybody went through this or similar experience, and how the problems were resolved?
Thanks in advance,
Bojan
|
![Old](/vbiis/images/statusicon/post_old.gif)
01-09-2023, 01:13 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
"Problem" solved..
I had to enable the mount with :
#define AXIS1_DRIVER_MODEL GENERIC //
#define AXIS2_DRIVER_MODEL GENERIC //
Now it connects to ASCOM, however Autostart is NOT supported for ALTAZ mounts.. so I still need my mobile to start tracking (and operate mount).
Good enough :-)
|
![Old](/vbiis/images/statusicon/post_old.gif)
04-09-2023, 03:14 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
OnStepX and dob (AltAzm) mount
There is a new version of OnStepX (10.17f).
When RTC is present in the system, Autostart works OK (when enabled in config.h).
This feature is very useful if a simple, no fuss configuration is needed.
As to "good enough" alignment, I need only to point scope to AZ=0° and level it horizontally, then apply the power (or press Reset button).
With encoders present, that is all I need for visual session with good tracking (correction/pointing can be done with mob app)
EDIT:
When RTC is NOT present in the system, Autostart works OK now (when enabled in config.h.. befor it was not working in some cases, discussed in Wiki).
Last edited by bojan; 04-09-2023 at 06:17 PM.
|
![Old](/vbiis/images/statusicon/post_old.gif)
04-09-2023, 06:05 PM
|
![AstroViking's Avatar](../vbiis/customavatars/avatar35087_1.gif) |
Registered User
|
|
Join Date: Mar 2022
Location: Melbourne
Posts: 1,150
|
|
It's great to see this project making progress, Bojan. I haven't touched that sort of hardware since my Uni days, and don't have enough free time to get back into it. Maybe when I retire...
|
![Old](/vbiis/images/statusicon/post_old.gif)
04-09-2023, 06:18 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Quote:
Originally Posted by AstroViking
.... Maybe when I retire...
|
That will be too long :-)
|
![Old](/vbiis/images/statusicon/post_old.gif)
04-09-2023, 06:31 PM
|
![ChrisV's Avatar](../vbiis/customavatars/avatar19912_2.gif) |
Registered User
|
|
Join Date: Aug 2015
Location: Sydney
Posts: 1,753
|
|
So was it complicated getting onstepX going compared to the old version??
I've been running v4.24 on a minPCB but was considering onstepX on the maxPCB4
|
![Old](/vbiis/images/statusicon/post_old.gif)
04-09-2023, 06:44 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Not really..
My biggest problem was the naming of the stepper model.
In 4.24, definition :
"#define AXIS1_DRIVER_MODEL OFF "
meant system would output just Pulse and Dir signals to external Stepper controller-driver without microstepping control.
In OnStepX, "OFF" means no output... and as spurious consequence, no connection to comp via ASCOM platform.
Once that was sorted wit help of OnStep developers, the rest was straightforward.
I also intend to test OnStepX with STM32 (Blue Pill.. very cheap, ~2$) . However this may not work because the flash memory may be too small..
But for 4.24, 128k is large enough.
|
![Old](/vbiis/images/statusicon/post_old.gif)
10-09-2023, 12:17 PM
|
Registered User
|
|
Join Date: Nov 2007
Location: Melbourne, Australia
Posts: 63
|
|
Glad you got this sorted. I've made a few STM32 blue pill controllers, but the memory is a bit small and Onstepx won’t run on it. The better, easier version is the Fysetc E4 as it’s mostly plug n play, uses a 32 bit board (allowing faster sewing), with minimal configuration required. It costs only $20-30 more for a lot less time a few dollars more when all the bits are added up bit will save a lot of time and energy overall. I recommend adding the RTC module too as it keeps excellent time and, if you don't relocate your scope often, makes setup quick without the need to pfaff about with entering date and time every time you start up.
|
![Old](/vbiis/images/statusicon/post_old.gif)
10-09-2023, 02:11 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Actually, OnStepX with basic configuration (2 axis, RTC, BT, with optional encoders (and WiFi in ESP8266 controller), no derotator, no focuser) fits into STM32.
This is good for me because I already have two such controllers (in handpads, with stepper drivers in the mount (EQ6, dob), connected by 25 wire cable), and all I wanted was autostart for dob and motors OFF for EQ6 (both not supported in 2.222 and 4.2.4).
Last edited by bojan; 10-09-2023 at 03:22 PM.
|
![Old](/vbiis/images/statusicon/post_old.gif)
08-11-2023, 07:57 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
And I tested OnStepX with STM32F103 processor (Blue Pill).. all works OK, f/w takes 99% of flash space...
|
![Old](/vbiis/images/statusicon/post_old.gif)
23-11-2023, 07:12 PM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Quote:
Originally Posted by bojan
And I tested OnStepX with STM32F103 processor (Blue Pill).. all works OK, f/w takes 99% of flash space...
|
However, when I tied to activate PEC functionality, it was refusing to slew and/or sync to object..
So I replaced original processor (F103) with pin-compatible but larger ROM/RAM version (F303).
Now the slews and sync OK, and expect PEC will be working correctly as well.
|
![Old](/vbiis/images/statusicon/post_old.gif)
28-11-2023, 12:36 AM
|
![wasyoungonce's Avatar](../vbiis/customavatars/avatar1106_4.gif) |
Certified Village Idiot
|
|
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,341
|
|
I’m enjoying reading about onstep stuff. Really is growing and has a future.
Thanks. Keep it up I may have to give it a nudge at this rate
Cheers
Bren
|
![Old](/vbiis/images/statusicon/post_old.gif)
28-11-2023, 07:49 AM
|
![bojan's Avatar](../vbiis/customavatars/avatar1131_4.gif) |
amateur
|
|
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,992
|
|
Brendan,
Very true. Many people think (and with good reason!) this is the ideal (and only) solution for DIY scopes and retrofits.. it uses low cost and various h/w (Arduino) and open-source f/w - the best possible combination.
Myself, I tried many systems in the past (Bartels, Soundstepper, AstroEQ, PICGoTo etc..), and now I have OnStep on both my EQ6, EXOS-II, and Dob.. and I retrofitted my friend's Nexstar mount (MEGA+RAMPS14).
For my dobson mount, at first I went from Bartels to OnStep because one of the Fujitsu st1000 tablets that was running Bartels started to freeze, so I decided to better replace it with more available hardware running OnStep (Arduino MEGA was my first choice then, now I have it on ESP32).
Sometimes I had problems (most of them were me not reading docs on Wiki carefully enough!), but the support from OnStep community was always great and everything was usually sorted after couple of posts on forum.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +10. The time is now 02:52 PM.
|
|