Marc replied to the topic 'EQ6R-Pro and PEC' in the forum. 3 weeks ago

Well, a picture is always better ... :)
Here's a typical autoguiding session : EQ6-R Pro + PEC + internal autoguiding. The scope is a 80/400 f/5 with an ASI290mm on top of a C11. Used for galaxies hunting.
Polar Align is **ESSENTIAL**.

- Marc



Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Chris wrote :

"The sad thing is that it's easier to do this using a protocol that suits the Arduino and is more resilient. "

You have something in mind ? Any siggestion ? I'm starting to think I'd better wrote it myself. I'm not a lazy man and I have some experience on the subject. ( But not with the Arduino .)
Any advice welcome as long as I can write it in C.

- Marc

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Chris wrote :

"Beloved Mac? You must be thinking of someone else."

Right, my mistake. Sorry.

Marc

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Chris,

I'm sorry to hear this thing infringes some of your own copyrights.How would have I known ? At least, now everybody here knows it is faulty :) Thanks, Jasem !
You're not talking about the Linux world (remember, this thing runs under an Arduino, not under Linux, Windows or Mac.) You're talking about people who do not respect the work of others.
And this kind of people, you can find them on both side, Copyrights and Copylefts ;) Also, remember your beloved Mac runs under Darwin which is ... Free Software deriving from NextStep (Copyright) and BSD (Free Software). Only the GUI is Copyright. I guess things are never binary in the real world :)

Now, you've made your point and you were right to do so. Let's end this, this is not the place for that kind of discussion..

- Marc

Read More...

Marc replied to the topic 'Problem installing the indi meteostation' in the forum. 1 month ago

For the core of indi :

mkdir -p ~/Src/indi/indi-core/
cd ~/Src/indi/indi-core/
git clone " github.com/indilib/indi.git "
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
make -j4
sudo make install

Then for the indi-duino :

mkdir -p ~/Src/indi/indi-3party
cd ~/Src/indi/indi-3party
git clone " github.com/indilib/indi-3rdparty.git "
cd indi-duino
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
make -j4
sudo make install

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Thanks a lot Jasem. :) So I guess I need to find a better firmware for my focuser :(
if someone has a good plan for this ...

Anyway, thanks again for your time and kindness.

- Marc

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago
Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Well here comes the MoonLite driver log.... I filtered the relevant infos to shorten the file.
It appears every serial Timeout occurs after a :GT# command (Get temperature). Sometimes the response seems to fit, and sometimes, it generates a Timeout.
One time, there is an incomplete answer (chars lost) without Timeout and not after a :GT# command. ( see ??????????? )
The response to the :GI# command (Is the motor moving ?) should have been “01” if the motor is moving, otherwise “00”
To be honest, I must say there is no physical temp probe so far, as I didn't receive the componant yet. The question now is why the Timeout only occurs sometimes?
And why did older versions did not lose chars (See my previous message), when this one does ?

- Marc

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

knro wrote: You have the full log? Can you also debug the INDI Moonlite driver to see where it is having issues with the response?


Hi, Jasem,

everything else in the log is irrelevant:
I can't turn on debugging of the log. The button is non-responsive or it jumps immediately from 'ON' to 'DISABLE' (see ** in the log)

org.kde.kstars.indi: EQMod Mount : "[INFO] updateLocation: long = 9.52667 lat = 42.5603 "
org.kde.kstars.indi: EQMod Mount : "[INFO] Observer location updated: Longitude (9.52667) Latitude (42.5603) "
org.kde.kstars.indi: EQMod Mount : "[INFO] Saving device configuration... "
org.kde.kstars.indi: EQMod Mount : "[INFO] Device configuration saved. "
org.kde.kstars.indi: EQMod Mount : "[INFO] Setting UTC Time to 2020-05-06T14:24:23, Offset 2 "
org.kde.kstars.indi: EQMod Mount : "[INFO] Saving device configuration... "
org.kde.kstars.indi: EQMod Mount : "[INFO] Device configuration saved. "
org.kde.kstars.indi: MoonLite : "[ERROR] Serial read error: Timeout error. "
org.kde.kstars.indi: MoonLite : "[ERROR] Unknown error: focuser temperature value (#) " // we don't care, The Arduino is bare, no temp probe
org.kde.kstars.indi: EQMod Mount : "[INFO] Saving device configuration... "
org.kde.kstars.indi: EQMod Mount : "[INFO] Device configuration saved. "
org.kde.kstars.indi: EQMod Mount : "[INFO] Saving device configuration... "
org.kde.kstars.indi: EQMod Mount : "[INFO] Device configuration saved. "
org.kde.kstars.indi: EQMod Mount : "[INFO] Setting UTC Time to 2020-05-06T14:25:54, Offset 2 "
org.kde.kstars.indi: EQMod Mount : "[INFO] updateLocation: long = 9.52667 lat = 42.5603 "
org.kde.kstars.indi: EQMod Mount : "[INFO] Observer location updated: Longitude (9.52667) Latitude (42.5603) "
org.kde.kstars.indi: EQMod Mount : "[INFO] Saving device configuration... "
org.kde.kstars.indi: EQMod Mount : "[INFO] Device configuration saved. "
org.kde.kstars.indi: MoonLite : "[INFO] Debug is enabled. " ** Debug then immediately disable debugging again **
org.kde.kstars.ekos: "Re-disabling debug logging for MoonLite..."
org.kde.kstars.indi: MoonLite : "[INFO] Debug is disabled. "
org.kde.kstars.indi: MoonLite : "[ERROR] Serial read error: Timeout error. "
org.kde.kstars.indi: MoonLite : "[INFO] Moving to Preset 2 with position 1800. " // Nope, returns from 3500 to Pos 128 :)
org.kde.kstars.indi: MoonLite : "[INFO] Focuser reached requested position. "
org.kde.kstars.indi: MoonLite : "[ERROR] Serial read error: Timeout error. "
org.kde.kstars.indi: MoonLite : "[ERROR] Serial read error: Timeout error. "


So I tried to verify what cxxone said about Kstars 3.0.0 . Of course Kstars doesn't know much about COM ports, but I used the INDI git tree to return to the commit contemporary of Kstars 3.0.0 ( git checkout a06fbccc544296333a59b585b2685f7573501952 ) recompiled it and used the last Kstars with the old indiserver (!).
Well cxxone was right, no more Timeout error and the focuser works perfectly.

Now I'm a bit stuck. The indiserver log doesn't say much about Moonlite.
Is there a way to enable debugging of the drivers from the command line when launching the indiserver ? I don't remember.

If you have an Arduino (UNO or Nano V3) it only takes 5 minutes to setup a working Moonlite (Bare, no need of a driver or a stepper motor to test ) ...
You just plug the Arduino to an USB port, use the IDE to upload the firmware and you're good to go. Really takes 5 minutes.

- Marc

Read More...

Marc replied to the topic 'Serial Timeout with Moonlite Focuser' in the forum. 1 month ago

Hi everybody,

A few days ago, I finished my own DIY focuser based on the Moonlite protocol.
It works with an Arduino, an A4988 driver and a NEMA17 stepper motor.
I have exactly the same problem as the one described here.

2020-05-05T18:25:47: [ERROR] Serial read error: Timeout error.

2020-05-05T18:20:44: [INFO] Focuser is moving to position 1500
2020-05-05T18:20:32: [INFO] Focuser reached requested position.
2020-05-05T18:20:31: [INFO] Focuser is moving to position 3480

Sometimes, the log says "[INFO] Focuser reached requested position. ", but the stepper didn't move.
Sometimes, the stepper goes the opposite direction when adjusting from Ekos. . . (focus in)

To be sure it didn't come from the firmware or the Arduino COM port, I wrote a small soft simply opening directly the COM port (Linux, blocking IO...) reading the greeting message then sending some commands to move the stepper, change the steps, move again etc...
Then I read the status. (Actual pos, step ...). Every thing works fine and I never, ever lose any char.

I have done this tenths of time, with the same result :

MarcusFocus 0.3 - Ready.
Un focuser Arduino/Moonlite sous INDI pour Greg :)

Command sent :SH#:SN0777#:FG#
Command sent :GP#:GH#
Response = 0777#FF#

Command sent :SF#:SN0000#:FG#
Command sent :GP#:GH#
Response = 0000#00#

n = 0


The problem is exactly the same with the two drivers (Moonlite and Moonlite Dro)

I also used the serial monitor of the Arduino IDE to send various commands. Again, no problem.

Hope this helps. :)

- Marc

Read More...

Mohamed thanked Marc in topic Indoor practice 1 month ago

Marc replied to the topic 'Indoor practice' in the forum. 1 month ago

Hi Mohamed,

Generally speaking, you can train your skills with Kstars/Ekos using the different simulators. You can also install GSC which is a catalog of stars. The simulators know how to use the stars from GSC so when you need to test new things in Kstars, you are not stuck every time you need to take an image. (focus, align and polar align, use the mount etc...)
Of course you can't really correct the errors or the focus, but still, it's really useful to save time. It's a bit like a flight simulator : it's not enough to learn how to really fly a plane, but at least, when you get on the plane, you already know the purpose and the use of all the instruments.That makes you more self-confident. :)

- Marc

Read More...