Date   

Re: OnStep Configuration Generator lives on ...

Howard Dutton
 

On Wed, Jul 29, 2020 at 08:38 AM, Khalid Baheyeldin wrote:
I didn't look at the OCG and how you set this up... but it should would be nice to grab an Config.h file and turn it into a template then parse the file to insert the values.
That is exactly how I am doing it in this refresh/re-design. The values that will be set by the OCG are tokenized, and the OCG replaces those tokens.

The new format of the Config.h lends itself well to this. I have two Config.h templates, one for 3.16 and another for master.

The only thing I added is the two lines for the GPS serial port and baud rate. Nothing else was changed.

Of course, this is all a point in time thing, and if new variables are introduced I have to merge them (in the master template).
Nice!


Re: Connectors for frontal usage on the MINPCB1

Howard Dutton
 

On Wed, Jul 29, 2020 at 11:00 AM, andre_moutinho wrote:

Do you also have such type of connectors for the MAXPCB?
The MaxPCB's are not designed for a vertical build.


Re: Cannot connect Sky Planetarium to OnStep through ASCOM OnCue

Howard Dutton
 

On Wed, Jul 29, 2020 at 10:51 AM, BJ Ranson wrote:
Installed 4.5.4, rebooted PC, and no new data. I just get this:
00047878:[Ascom.Telescope] Connect failed

I will try a different PC next to see if it's just something weird installed on the one I'm using (the Windows 10 installation is many years old).
I will update the ASCOM driver probably also to pass more exceptions through to see if we can pick up on what is causing the trouble or at least narrow down the possibilities more.

For now I'd like to remind there are 3x ASCOM hubs on my computer...

POTH hub
(works with SP all features.)
Generic hub (works with SP all features.)
Device hub telescope (works with SP, but limited features.)

Perhaps one of those others could be a work-around for your problem?


Re: Connectors for frontal usage on the MINPCB1

andre_moutinho
 

Thats nice George, what is your email?

Do you also have such type of connectors for the MAXPCB?


Re: Cannot connect Sky Planetarium to OnStep through ASCOM OnCue

BJ Ranson
 

Installed 4.5.4, rebooted PC, and no new data. I just get this:
00047878:[Ascom.Telescope] Connect failed

I will try a different PC next to see if it's just something weird installed on the one I'm using (the Windows 10 installation is many years old).


Re: Project TinTac - a breadboard setup for testing OnStep code

jsalbinson@...
 

Hello Khalid,
Yes, it is. The conversion to OnStep is ongoing in my mind, mostly, to replace the current commercial system that has problems.
I am working on TinTac, to test ideas, and on replacing some of the peculiar hardware.
Very much my thing. And it may never come to pass: there are many considerations.
Herewith an early commissioning image with the current system, which no longer works.
Regards, JAmes Albinson
M57 BRI filters, combined.


Re: Project TinTac - a breadboard setup for testing OnStep code

Khalid Baheyeldin
 

Wow ... 60cm Newtonian.
Would love to see images made through it ..

Must be the Thornton telescope at Keele Observatory then?

Also, I look forward to a writeup on how this was converted to OnStep, so it would feature on the showcase page.


Re: Project TinTac - a breadboard setup for testing OnStep code

jsalbinson@...
 

Thank you Howard,
This is the sort of tip I appreciate as I am new to Arduino programming; my background is in Fortran.


Re: Default limits

Jamie Flinn
 

That is very cool especially if you don’t think in a sphere – visual of where the limit is is handy!!!...thanks

 

From: main@onstep.groups.io On Behalf Of Howard Dutton
Sent: Wednesday, July 29, 2020 1:00 PM
To: main@onstep.groups.io
Subject: Re: [onstep] Default limits

 

You can see what Axis1 min/max limits look like here (ignore the Tangent Arm Dec limits they don't apply here.)

https://onstep.groups.io/g/main/message/23434


Re: Connectors for frontal usage on the MINPCB1

George Cushing
 

Yes, Andre, I can get them to you. I also have a few MiniPCBv1 PCBs, 
George


Re: Project TinTac - a breadboard setup for testing OnStep code

jsalbinson@...
 

Dear Khalid,
The mount was constructed 50 years ago by a heavy engineering co., and this is the 5th iteration of the drive system, reusing parts from the 3rd iteration.
The OTA is a steel frame of Brobdignagian proportions (500kg) with a 600mm f4.5 primary used at Newtonian.
A quick google on my name+observatory will reveal all, but as I replied to another poster, this is an individual project at present.
I will be considering TB6600 (Generic) driver blocks to run the stepper. Just that they are widely available and not too expensive.
OnStep should be perfectly good at running a radio telescope!!
Regards, James Albinson


Re: Default limits

Howard Dutton
 

You can see what Axis1 min/max limits look like here (ignore the Tangent Arm Dec limits they don't apply here.)

https://onstep.groups.io/g/main/message/23434


Re: Default limits

Jamie Flinn
 

Thanks – will play with those and see what happens (GULP!)

 

From: main@onstep.groups.io On Behalf Of Howard Dutton
Sent: Wednesday, July 29, 2020 12:05 PM
To: main@onstep.groups.io
Subject: Re: [onstep] Default limits

 

There are horizon and also Axis1 min/max limits in OnStep.

They stop tracking and prevent gotos.


Re: Project TinTac - a breadboard setup for testing OnStep code

Howard Dutton
 

On Wed, Jul 29, 2020 at 08:18 AM, <jsalbinson@...> wrote:
Maybe of interest: Bill Earl (https://learn.adafruit.com/multi-tasking-the-arduino-part-1/a-classy-solution)
There's plenty similar code in OnStep except I do the math correctly.

Don't use this form, it will fall down (after several days) due to overflow:

  • if((ledState == HIGH) && (currentMillis - previousMillis >= OnTime))

It should be:

if ((ledState == HIGH) && ((long)(currentMillis - previousMillis) >= OnTime))


Re: Boards and drivers required - help

Khalid Baheyeldin
 

As Markus said: if you get the MKS Gen-L, you don't need the RAMPS board, since the MKS Gen-L has everything that is on RAMPS built in (driver sockets for motors, ...etc.)

Regarding the power, you never run the driver or the motor at the max rated current.
Usually, you start at 40% of the motor (so 0.675A), and then test, tuning it up to say 70% of the 1.68A as a maximum.
You find where the sweet spot in that 40 to 70 range, that gives you fast slewing with no resonance/stalling.

You don't need the TMC5160 for those motors. The TMC2130 should be able to handle them, but make sure you have the heat sinks installed and monitor for excessive warming.


Re: OnStep Configuration Generator lives on ...

Khalid Baheyeldin
 

The OCG now has support for the TMC5160. The compiler will issue a warning that the default for IRUN is 600mA, with the name of the exact parameter. The user then has to go edit that parameter to whatever they want.


Re: Connectors for frontal usage on the MINPCB1

Khalid Baheyeldin
 

On Wed, Jul 29, 2020 at 12:11 PM, andre_moutinho wrote:
Does anyone have the RJs, USB and power connector components models for such assembly and where I could find them? 
The magic term is called: "vertical build".

Check the MiniPCB page, and scroll down to "Special notes for vertical build".


Building the PCBMAX with frontal panel connectors

andre_moutinho
 

The original G11 drivers use a frontal side RJ, power, etc  connectors and I would like to know if anyone here have builded the controller box using such connectors configuration.

Thanks
Andre


Connectors for frontal usage on the MINPCB1

andre_moutinho
 

Hi,

The MINPCB1 PCB for the EM10 has the connectors to be plugged on the board frontal side (not at the side such as 90 degree connectors).

Does anyone have the RJs, USB and power connector components models for such assembly and where I could find them? 

Thanks
Andre


Re: Default limits

Howard Dutton
 

There are horizon and also Axis1 min/max limits in OnStep.

They stop tracking and prevent gotos.