Date   

Re: Hi new member here

Howard Dutton
 

That's a tall order!

Note that I've really been too busy with OnStepX development (and other challenges with life) to shift my attention to the OCS in quite some time.  OnStepX is apparently getting to the point of stability though, so that will change in the future.


Hi new member here

Paul Romero <paul@...>
 

Thanks for creating this group. I have a 14 year old Foster Systems roof controller that refuses to allow me to up grade the firmware. They do not support it, so I'd like to setup my DIY in less than a week!


Re: OCS improving time and date and extacting two years data

koal01
 

Talking about GPS i mentionned an i2c interface actually in my mind it was a TX-RX communication, there are 2 physical interfaces on the board...


Re: OCS improving time and date and extacting two years data

koal01
 

Nice !


Re: OSC IndiLibb driver

rambro@...
 

Thank you for your reply.

Ad. 2 I think about change "Dome simulator driver", possibly merge some code from "onStep LX200 Driver" to control OSC. I have found "Command" file where are commands to send over serial or ethernet.

At first I have to build OSC :).


Re: OCS improving time and date and extacting two years data

Howard Dutton
 

I'll keep these feature requests in mind when I revisit this project.


Re: OSC IndiLibb driver

Howard Dutton
 

On Wed, Jun 23, 2021 at 02:42 AM, <rambro@...> wrote:
1. Is possible to control OSC from EKOS (indilib) ?. Is driver for indilib available?
Doesn't exist AFAIK.  I don't use Linux for astro stuff.

2. Is protocol available to send commands by serial, ethernet etc (park, unpark, status)
I think you're asking is it possible to control an OnStep mount with the OCS, if so the answer is no that doesn't exist but it is a feature I plan to add at some point.

3. Is any PCB for OSC  or Arduino + wire to relay shield  is sufficient?.
No PCB, I just don't see the point given the ultra low cost of the commercial general purpose offerings.


OSC IndiLibb driver

rambro@...
 

Hello,

I have built onStep for my old mount. Im verry happy with results.  Now I would like to build OSC. I have few questions.

1. Is possible to control OSC from EKOS (indilib) ?. Is driver for indilib available?
2. Is protocol available to send commands by serial, ethernet etc (park, unpark, status)
3. Is any PCB for OSC  or Arduino + wire to relay shield  is sufficient?.

Robert


OCS improving time and date and extacting two years data

koal01
 

Hi Howard,

In my installation the ntp feature to synchronize time has nerver been a real success, i'm always several minutes late , i tested several ntp servers and it doesn't change anything.
Would it be a big job to add a GPS module using the second ic2 interface left ? i have several ones and in terms of accuracy i find them much better.
Second question is around all data i saved with OCS during years, i guess it would be a hard task for a mega to display months or a year data with the charts.js ?!
I'm wondering if OCS is able to handle long periods such as one month, 6 months, 1 year, 2 years wtihout perturbating itself while displaying graphs or is it more reasonable to find an external solution ?
Thank you


Re: Two hotwire wind sensors ?

koal01
 

Concerning direction, not obvious to get it properly i know. 
Anyway thank you for the code that allows to handle mutliple hotwires.


Re: Two hotwire wind sensors ?

Howard Dutton
 

On Wed, May 19, 2021 at 01:17 PM, koal01 wrote:
A second question. If the test of adding two Hotwires improves the accuracy do you think it would be possible in the future for OCS to handle  4 hotwires so we can increase accuracy and get the right direction of the wind ? 
Seems to me wind direction with this is impossible.

Adding more would be follow the same pattern, trivial.


Re: Two hotwire wind sensors ?

koal01
 

So great and so nice  !  I’m going to order a second sensor and test the changes. I was not sure this feature was possible so I prefered waiting. May I ask a question ? I don’t know the modern device library but I was wondering since we have two axis detected  if a kind of direction of the wind is possible ? For example in my installation the first Hotwire is oriented east-west and the second will be oriented north-south. For instance if the wind is coming from west since the value is given by Hotwire1 can  OCS display a kind of suggestion « east-west » just near the wind speed index in the weather panel. A second question. If the test of adding two Hotwires improves the accuracy do you think it would be possible in the future for OCS to handle  4 hotwires so we can increase accuracy and get the right direction of the wind ? 

I’m going to order the component, upgrade soft and hardware and let you know !

Thanks again Howard 


Re: Roof stepper motor support

Howard Dutton
 
Edited

I've never even thought about using it like that but if it works, great.

Basically any digital (or "analog" for that matter) pin on the Mega2560, not used for other purposes, can provide the EN and DIR signals to the DRV8825.


Re: Two hotwire wind sensors ?

Howard Dutton
 


Guess the following should work.  It takes the higher windspeed from the two devices and returns that...

// -----------------------------------------------------------------------------------------------------------------
// gets windspeed in kph
// for the Modern Devices wind sensor, https://moderndevice.com/product/wind-sensor-rev-p/

#define HotWire1Pin A6    // wind sensor analog pin hooked up to Wind P sensor "OUT" pin (primary)
#define HotWire2Pin OFF   // wind sensor analog pin hooked up to Wind P sensor "OUT" pin (secondary)

// return (invalid) if not implemented or if there's an error
double weatherWindspeed() {
  int hw1ADU;
  int hw2ADU;
  if (!windspeedGood) return (invalid);

  hw1ADU = analogRead(HotWire1Pin);
  if (HotWire2Pin != OFF) hw2ADU = analogRead(HotWire2Pin); else hw2ADU = hw1ADU;

  double windMPH1 = pow((((float)hw1ADU - 264.0) / 85.6814), 3.36814);
  if (isnan(windMPH1)) windMPH1 = 0;
  double windKPH1 = windMPH1 * 1.60934;

  double windMPH2 = pow((((float)hw2ADU - 264.0) / 85.6814), 3.36814);
  if (isnan(windMPH2)) windMPH2 = 0;
  double windKPH2 = windMPH2 * 1.60934;

  if (windKPH2 > windKPH1windKPH1 = windKPH2;

  if (windKPH1 < 0 || windKPH1 > 350windKPH1 = invalid;
  return (windKPH1);
}

bool initWindspeed() {
  return true;
}


Re: USR-ES1 W5500 Lose IP

rad112g@...
 

Yes, it is configured to pin 11, some devices like a Zyxel router dont recognize it as a conecetd device  but still works at the configured ip, the results are the same if i config for static ip


Two hotwire wind sensors ?

koal01
 

Hi Howard,

Experimenting the modern device hotwire sensor which is actually oriented east-west in my installation i was wondering if adding a second one north-south would be possible in OCS environnement. We know that the device has the drawback of flow directions and i saw wind sensor flow projects using multiple sensors. 
https://miniwindtunnel.wordpress.com/tutorial/
Aflter more than a year experimenting this sensor, i've learnt how to use it as a warning sensor and i like it since it is reliable in this specific use.
Now i'm wondering how improving the accuracy of this sensor and i would suggest to test this upgrade and report.
Wind measurement is important in weather conditions, a clear night with all sensors ok but a crazy wind should result in an unsafe general conditions, that's why i would like to work on that.

Thank you


Roof stepper motor support

rad112g@...
 

I tested to work a stepper motor to open/close roof using the ROR_POWER_RELAY pin PWM to a DRV8825 step pin, i took pin 3 and 5 for dir and en and added digitalWrite code for those pins on Roof.ino tab.

It works but wanted to know if it is correctly using this pins or is preferible to use other ones.


Re: Noise on Voltage/Current analog read

Howard Dutton
 

On Wed, May 5, 2021 at 10:58 AM, <rad112g@...> wrote:
Works fine fine fine, i implemented it for both current and voltage, thanks for your time, congrats for your knowledge.
I will come back around to the OCS for a good once over, and when I do things like this will be built-in.


Re: Noise on Voltage/Current analog read

rad112g@...
 

Works fine fine fine, i implemented it for both current and voltage, thanks for your time, congrats for your knowledge.


Re: USR-ES1 W5500 Lose IP

Howard Dutton
 

You did wire in and handle the W5500 reset pin right?

Other than that it seems to be an library level or below issue and not hardware I've ever tested the OCS with.  We do use the W5500 with somewhat similar code for OnStep and that doesn't just up and stop working after 10 or 20 minutes, though again DHCP isn't something we use nor is the Mega2560.

121 - 140 of 536